Menu
SDK steps (session token)
Get result
/v1/sessions/{id}/resultThe session summary for your result screen. status is the internal step — created · document_pending · document_processing · nfc_processing · liveness_pending · liveness_processing · review · approved · rejected — not the verification status: base decisions on the webhook or Retrieve session. A token that no longer works returns 401 with a code (Errors): only session.expired means the session ended.
Authorization: Bearer JWT (session token, SDK)
hint: on a rejection, the one reason the user can fix; fraud and AML reasons are never returned (the codes). retries_left: 0 on a final rejection, so do not offer a retry then; null when the step is not rejected. checks[].status: passed · failed · pending · skipped. resubmit_steps: the steps an analyst asked to redo (["document"], ["liveness"]). contact_verification: the verify_contact result, {"email": {"status", "recipient_masked", "verified_at"}, "sms": {…}}; a pending code becomes not_verified when the session ends.
curl https://api.idotta.com/v1/sessions/{id}/result \
-H "Authorization: Bearer <access_token>"// Response 200
{
"session_id": "550e8400-…",
"status": "rejected",
"verification_path": "photo",
"checks": [ { "name": "document_capture", "status": "failed" }, { "name": "liveness", "status": "skipped" } ],
"hint": "document.front_not_found",
"retries_left": 2,
"document_type": "passport",
"document_country": "KEN",
"approved_at": null,
"resubmit_steps": null,
"contact_verification": null
}