> For the complete documentation index, see [llms.txt](https://docs.emudhradigital.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emudhradigital.com/api-reference/esign-v2-api-online-aadhaar/esign-v2-sign-response.md).

# eSign v2 Sign Response

```xml
<EsignResp status="1" ts="2026-10-12T10:16:42" txn="ASP-20261012-000123"
           resCode="…32 chars…" errCode="NA" errMsg="NA">
  <UserX509Certificate>MIIF…</UserX509Certificate>
  <Signatures>
    <DocSignature id="1" sigHashAlgorithm="SHA256" error="">MIAG…</DocSignature>
  </Signatures>
  <Signature><!-- eMudhra XML-DSig --></Signature>
</EsignResp>
```

| Field                 | Description                                             |
| --------------------- | ------------------------------------------------------- |
| `status`              | `1` success · `0` failure                               |
| `ts`                  | Response timestamp                                      |
| `txn`                 | Echo of request `txn`                                   |
| `resCode`             | eMudhra response code — store for audit                 |
| `errCode` / `errMsg`  | Error details; `NA` on success                          |
| `UserX509Certificate` | Base64 signer certificate                               |
| `DocSignature`        | Signature for `InputHash` `id` in the requested format  |
| `Signature`           | eMudhra signature over the response — verify before use |

The response never contains Aadhaar or demographic data.
