Menu

Your backend (X-Api-Key)

Retrieve session

GET/v1/sessions/{id}

The session's status, decision and step history. Use it to confirm a webhook or the SDK's completion event before acting.

Authorization: X-Api-Key (your backend)

events[].from_status / to_status are internal steps (step), not status. verification_path: photo · nfc · null. Another account's or the other environment's session returns 404.

Request
curl https://api.idotta.com/v1/sessions/{id} \
  -H "X-Api-Key: idv_test_XXXX"
JSON
// Response 200
{
  "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": "…" }
  ]
}