E-signature in the API
This page is for developers. It describes the data of the E-signature step that the Public API returns. For setting up the step and what the applicant sees, see the step page.
The signature block
The applicant returned by Get applicant has a signature block with the applicant's latest signature, or null if there is none:
"signature": {
"signatureId": "1f0c6c1e-6a52-4c3e-9a7e-2f1c0f3b8d11",
"signedAt": "2026-11-24T10:15:30.000Z",
"signatureSha256": "<hex>",
"documents": [
{
"documentId": "5b6d0a8e-3a7f-4f3e-8a43-6a8f7c2d9e10",
"title": "Contract",
"sha256": "<hex, original>",
"signedSha256": "<hex, signed copy>"
}
],
"dataSha256": null,
"status": "READY",
"files": [
{ "name": "01-Contract-signed.pdf", "url": "<short-lived link>" },
{ "name": "certificate.pdf", "url": "<short-lived link>" }
]
}
See ApplicantSignatureInfoEntity in Entities for the full description.
File status and download links
statusis the status of the signature files:REQUESTED,GENERATING,READYorFAILED.filesholds short-lived download links to the signed copies and the signature certificate. It is empty until the status isREADY. Request the applicant again to get fresh links.
The signed copies and the certificate are made in the background after the applicant clicks Finish signing, so status can still be REQUESTED or GENERATING right after signing.
Field values
For a document with fields, fieldValues holds the value of every field by its API key. A field shown on every page has one key and one value. A document without fields has {}:
"documents": [
{
"documentId": "5b6d0a8e-3a7f-4f3e-8a43-6a8f7c2d9e10",
"title": "Contract",
"sha256": "<hex, original>",
"signedSha256": "<hex, signed copy>",
"fieldValues": {
"signature": true,
"initials": true,
"date_signed": "2026-11-24",
"agree_terms": true,
"full_name": "Anna Kowalska",
"date_of_birth": "1990-05-17",
"document_number": null
}
}
]
| Field type | Value in fieldValues |
|---|---|
Checkbox | true or false |
Date signed | "YYYY-MM-DD" (UTC) |
Verified data | the value as a string, or null when it was missing. A date of birth is "YYYY-MM-DD"; a questionnaire answer is the text shown on the document |
Signature | true |
Initials | true |
The API keys are set by the operator in the fields editor. The rules: a key starts with a lowercase letter and then has lowercase letters, digits or _, up to 64 characters in all, and it is unique in the whole E-signature step, not only in one document. The editor generates signature, signature_2, checkbox and so on; the key of a questionnaire field is q_ and the name of the question, for example q_occupation. See Limits and API keys.
Hashes
All hashes are SHA-256, lowercase hex.
| Hash | Where | What it covers |
|---|---|---|
signatureSha256 | signature, servicesData | One hash over everything that was signed: the whole signed record. It is also printed on the Electronic signature page of every signed copy and in the signature certificate. |
documents[].sha256 | signature, servicesData | The original PDF as uploaded. Printed on the Electronic signature page and in the certificate. |
documents[].signedSha256 | signature | The signed copy. null until the files are READY. Listed in the certificate. |
dataSha256 | signature | The applicant's signed data. null for new signatures: E-signature signs documents only. See Older signatures. |
Each signed copy and the certificate are sealed with a trusted timestamp, so any later change to a file can be detected. When the flow also has the Audit archive step, the files are included unchanged in the signature/ folder of the audit archive, each with its own seal. See Audit archives in the API.
What the API does not return
- The block has no IP address, user agent, location or signature strokes. They are in the signature certificate.
- The signature image and the initials text are not returned; they are in the signed copy and the signature certificate.
- Webhooks do not carry the signature yet.
The servicesData entry
The E-signature entry in the applicant's servicesData (service: "E_SIGNATURE") has only the fact and the time of signing:
"data": {
"consentId": "1f0c6c1e-6a52-4c3e-9a7e-2f1c0f3b8d11",
"acceptedAt": "2026-11-24T10:15:30.000Z",
"signatureSha256": "<hex>",
"method": "typed",
"documents": [
{ "documentId": "5b6d0a8e-3a7f-4f3e-8a43-6a8f7c2d9e10", "title": "Contract", "sha256": "<hex, original>" }
]
}
method is typed or drawn. The field values are not in servicesData: read them from signature.documents[].fieldValues. The full record, with the consent text and the evidence, is in the dashboard and in the signature certificate.
Older signatures
Older signatures also signed the applicant's data. For them dataSha256 has a value, the applicant profile shows a Signed data table, and the certificate of completion of the audit archive shows Form data SHA-256. For new signatures dataSha256 is null and Form data SHA-256 is none: the applicant's data is confirmed in the Data confirmation step of Audit archive instead (see Audit archives in the API).
Related
- E-signature step - set up the step, the documents and the fields.
- E-signature in the applicant profile - review the signature in the dashboard.
- Entities -
ApplicantSignatureInfoEntity,ApplicantSignatureDocumentInfoEntity.