Sekyro AIDocs

Choose the identity method

POST
/api/v2/sessions/{id}/method

Chooses the identity method of an optional-document session on the person's behalf (national_number or document_photo). 409 method_locked once the choice can no longer change; 409 session_not_active on a finished or expired session.

Scope: sessions:create.

Authorization

apiKey
headerAuthorizationBearer <token>

Secret key of your app (sk_test_… or sk_live_…). Server-side only: never ship it to a browser or a mobile app. X-Api-Key: <key> is accepted too.

Path Parameters

id*string

Response Body

Example Request
curl -X POST 'https://api-staging.sekyro.ai/api/v2/sessions/string/method'
Example Response
Empty