API reference
POSTPublic
Start public identity enrollment
/api/v4/public/envelopes/{signer_uuid}/identity/enroll
Multipart. OTP must already be verified and identity must be required. document_type is cni or passport. selfie_frames[] is 3–8 images. consent must be a truthy value (true, 1, yes, on). 202 with status: pending and sla_minutes: 30. Errors include IDENTITY_LIVENESS_FAILED, IDENTITY_FACE_MISMATCH, IDENTITY_DOCUMENT_UNREADABLE, IDENTITY_CONSENT_REQUIRED, IDENTITY_BLOCKED.
Path parameters
| Field | Type | Description |
|---|---|---|
signer_uuid Required | string | Path parameter signer_uuid. |
Query parameters
This endpoint has no query parameters.
Request body
Send as multipart/form-data.
| Field | Type | Description |
|---|---|---|
document Required | string | ID image. e.g. "example" |
document_type Required | string | cni or passport.e.g. "cni" |
selfie_frames Required | array | 3–8 liveness frames. e.g. ["example"] |
consent Required | string | Must be true, 1, yes, or on.e.g. "true" |
document_number_last4 | string | Optional last 4 digits (masked upstream). e.g. "1234" |
Responses
| Status | Meaning |
|---|---|
| 202 | Enrollment pending |
| 401 | Missing or invalid Bearer token. |