New: French documentation now available! Switch to French
English
cURL
curl --request POST \ --url https://api.txcloud.io/v1/identity/sessions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "document_type": "<string>", "country": "<string>", "checks": [ "<string>" ], "metadata": {} } '
{ "id": "sess_a1b2c3d4e5f6", "object": "identity.session", "status": "pending", "document_type": "<string>", "country": "<string>", "documents": [ { "side": "<string>", "uploaded": true, "quality_score": 123 } ], "selfie_uploaded": true, "expires_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" }
Creates a verification session for multi-step document upload.
Sessions expire after 15 minutes of inactivity.
Flow:
API key as Bearer token
Session created
"sess_a1b2c3d4e5f6"
identity.session
pending
ready
completed
expired
Show child attributes