> ## Documentation Index
> Fetch the complete documentation index at: https://docs.redpill.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Signature

> The legacy receipt wrapper for a response.

`/v1/signature/{id}` is a legacy endpoint kept for backward compatibility with earlier API clients. It returns the same receipt as the
canonical [`GET /v1/aci/receipts/{id}`](/api-reference/receipts), wrapped in a legacy envelope. New
integrations should use the canonical endpoint.

<ParamField path="id" type="string" required>
  A receipt id (`rcpt-…`) or a response `id` (chat id).
</ParamField>

## Response

| Field             | Description                                                                                                      |
| ----------------- | ---------------------------------------------------------------------------------------------------------------- |
| `api_version`     | ACI version token, for example `aci/1`.                                                                          |
| `signing_algo`    | Signature algorithm, for example `ecdsa`.                                                                        |
| `signing_address` | Address that signed `text`.                                                                                      |
| `text`            | `"<request body hash>:<response hash>"`. The signed message.                                                     |
| `signature`       | Signature over `text`.                                                                                           |
| `receipt`         | The full receipt object, identical to the canonical [`/v1/aci/receipts/{id}`](/api-reference/receipts) response. |

```json theme={null}
{
  "api_version": "aci/1",
  "signing_algo": "ecdsa",
  "signing_address": "0xffb22d95…",
  "text": "111d08a5…:07703fb4…",
  "signature": "0xd0cd266a…",
  "receipt": { "receipt_id": "rcpt-…", "event_log": [ "…" ], "signature": "…" }
}
```

The canonical `/v1/aci/receipts/{id}` returns the `receipt` object directly, without the outer
`text` / `signature` / `signing_address` envelope.

## Related

<CardGroup cols={2}>
  <Card title="Get receipt" icon="receipt" href="/api-reference/receipts" />

  <Card title="Attestation Report" icon="microchip" href="/api-reference/attestation-report" />
</CardGroup>
