> 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/remote-key-storage-api/rks-response-and-status.md).

# RKS Response and Status

## Final response

Posted to `responseUrl` and returned by the status API. Same structure as eSign v3: `status` (`1` / `0` / `2`), `ts`, `txn`, constant `resCode`, `error`, `<UserX509Certificate>`, one `<DocSignature>` per hash and an eMudhra `<Signature>`.

| Outcome         | Indicator                                                   |
| --------------- | ----------------------------------------------------------- |
| Signed          | `status="1"`, all `DocSignature` populated                  |
| Partly rejected | `status="1"`, rejected documents with error "User Rejected" |
| Timed out       | `status="0"`, user timeout                                  |
| AuthPIN locked  | `status="0"`, lockout error                                 |

## Status check

```xml
<EsignStatus ver="3.3" ts="…" txn="ASP-RKS-000789" aspId="ASPXXXX0001">
  <Signature>…</Signature>
</EsignStatus>
```

Returns an `<EsignResp>`; status data is kept for at least 30 days.
