> 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-v3-api-ca-ekyc-account/esign-v3-initiate-signing.md).

# eSign v3 Initiate Signing

```xml
<Esign ver="3.3" signerid="9876543210@Mobile.emudhra" ts="2026-10-12T10:15:30"
       txn="ASP-20261012-000456" maxWaitPeriod="1440" aspId="ASPXXXX0001"
       responseUrl="https://asp.example.com/esign/v3/callback"
       redirectUrl="https://asp.example.com/esign/v3/done" signingAlgorithm="ECDSA">
  <Docs>
    <InputHash id="1" hashAlgorithm="SHA256" docInfo="Board resolution"
               docUrl="https://asp.example.com/docs/123" responseSigType="PKCS7pdf">…hex…</InputHash>
  </Docs>
  <Signature>…</Signature>
</Esign>
```

## `<Esign>` attributes

| Attribute          | Required | Values / rules                                             |
| ------------------ | -------- | ---------------------------------------------------------- |
| `ver`              | Yes      | `3.3`                                                      |
| `signerid`         | No       | `id@id-type.esp-id`; id-type `username`, `Mobile` or `PAN` |
| `ts`               | Yes      | ISO 8601 IST, ±30 min                                      |
| `txn`              | Yes      | Unique per ASP–ESP pair per day                            |
| `maxWaitPeriod`    | Yes      | Minutes (default 1440); expiry → error 113                 |
| `aspId`            | Yes      | Issued by eMudhra                                          |
| `responseUrl`      | Yes      | Receives final `EsignResp` (POST, `application/xml`)       |
| `redirectUrl`      | No       | Browser return URL                                         |
| `signingAlgorithm` | Yes      | `RSA` or `ECDSA`                                           |

## `<InputHash>`

| Attribute         | Required | Values / rules                                           |
| ----------------- | -------- | -------------------------------------------------------- |
| `id`              | Yes      | 1–5, sequential, unique                                  |
| `hashAlgorithm`   | Yes      | `SHA256`                                                 |
| `docInfo`         | Yes      | ≤ 50 characters                                          |
| `docUrl`          | Yes      | HTTP(S) link to view the document during the wait period |
| `responseSigType` | Yes      | `raw`, `PKCS7`, `PKCS7pdf`, `PKCS7complete`              |

## Immediate acknowledgement

```xml
<EsignResp ver="3.3" status="2" ts="…" txn="ASP-20261012-000456" resCode="…" error=""/>
```
