/v3/onboarding/{onboardingId}/liveness/retry Retry Liveness Verification
Background
/v3/onboarding/{onboardingId}/liveness/retry opens the next attempt after the liveness verification has not passed or the link has expired. It can be called only while state is LIVENESS_FAILED or LIVENESS_; on success state returns to AWAITING_, and the livenessUrl from the response is used to complete the verification again.
Before retrying, adjust the shooting conditions first (e.g. remove glasses, move to a well-lit place). Liveness rules are in Onboarding API Overview.
Integration Specifications
- This endpoint requires no authentication headers: during onboarding, no public key has been uploaded to the platform yet.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /v3/onboarding/{onboardingId}/liveness/retry |
| Content-Type | None (no request body) |
| Purpose | Open the next liveness attempt after a failure or link expiry |
Request Fields
| Field | Location | Type | Length | Required | Description |
|---|---|---|---|---|---|
onboardingId | Path | string | 22 | Yes | Requisition ID. |
Request Example
http
POST /v3/onboarding/SCM968p7SzK-WXY9QBzDnA/liveness/retry HTTP/1.1Response Fields
| Field | Type | Length | Always returned | Description |
|---|---|---|---|---|
status | int | 4 | Yes | Response code |
msg | string | 128 | Yes | Corresponds to status |
data | object | - | Yes | Onboarding requisition object with state as AWAITING_; full fields at Get Onboarding Requisition Status. |
Response Example
json
{
"status": 200,
"msg": "sucesso",
"data": {
"onboardingId": "SCM968p7SzK-WXY9QBzDnA",
"onboardingType": "PF",
"documentLegalId": "12345678909",
"representativeDocument": null,
"state": "AWAITING_LIVENESS",
"reason": null,
"livenessUrl": "https://onboarding.adopay.example/l/Zx81Qp",
"livenessAttemptsLeft": 2,
"company": null,
"expiresAt": "2026-10-19T09:00:00Z",
"submittedAt": null,
"decidedAt": null,
"updatedAt": "2026-10-12T09:25:00Z"
}
}Response Error Codes
Business rules:
- The link: retrying from
LIVENESS_issues a newEXPIRED livenessUrl— the old link becomes invalid andexpiresAtis recalculated; retrying fromLIVENESS_FAILEDwhile the link has not expired keeps the same link. Always use thelivenessUrlfrom the response. - No attempt consumed: calling this endpoint and link expiry do not consume attempts; an attempt is counted only when the verification is actually completed, and
livenessis then decremented by 1.Attempts Left - Attempts used up: when the last attempt fails, the requisition moves directly to
REJECTED(LIVENESS_) —ATTEMPTS_ EXHAUSTED LIVENESS_FAILEDdoes not appear and this endpoint is not needed. After a cooldown period, a new requisition can be created for the document. - Repeated calls: when
stateis alreadyAWAITING_, the current requisition is returned unchanged; any other state returnsLIVENESS INVALID_STATE. - Company onboarding: the retry must still be completed in person by the legal representative behind
representative.Document
Back to Onboarding API Overview