Menu

Results

Reading the result

curl https://api.idotta.com/v1/sessions/{session_id} \
  -H "X-Api-Key: idv_test_XXXX"
JSON
{
  "session_id": "550e8400-…",
  "status": "in_review",
  "status_label": "In Review",
  "step": "review",
  "decision": { "decided_by": "auto", "document_score": 71.0, "checks": [ … ], "warnings": ["aml.hit"] },
  "environment": "sandbox",
  "verification_path": "photo",
  "applicant_external_id": "user-42",
  "affiliate_id": null,
  "click_id": null,
  "expires_at": "2026-10-23T12:00:00Z",
  "created_at": "2026-10-23T11:00:00Z",
  "updated_at": "2026-10-23T11:04:10Z",
  "events": [
    { "id": "…", "event_type": "access_keys.submitted", "from_status": "created",
      "to_status": "document_pending", "actor": "sdk", "created_at": "…" }
  ]
}

Base your logic on status; status_label is a fixed display name and step is our internal step (informational). Each status, the decision object and the reason codes are explained on Verification statuses.

STATUSWHAT TO DO
approvedVerified: let the user in. An analyst can reverse it later (session.rejected)
in_reviewWait: an analyst decides, the result arrives by webhook
declinedDo not retry this session; create a new one if your policy allows. An analyst can reverse it later (session.approved)
in_progress · not_started · resubmittedStill running; wait for a webhook
expired · abandonedTime ran out; create a new session when the user returns
kyc_expiredOlder than 365 days; ask for re-verification

Applicant history: GET /v1/applicants/{external_id} returns the user's status and sessions (Retrieve applicant).