Menu

SDK steps (session token)

Get consent text

GET/v1/sessions/{id}/consent?lang={lang}

The biometric consent text the end user must see before any capture, in their language (57 languages; unknown → English), with its version and the link to the verification privacy notice. Our SDKs show it on their first screen. In your own UI show it unchanged: replace {continue}, {business} and {policy} with placeholders ({policy} is a link to policy_url). {business} names the controller the end user consents to: your company's name as registered with us (not your white-label brand name; you cannot change it here), or a generic phrase if no name is registered.

Authorization: Bearer JWT (session token, SDK)

consent is the recorded consent (null until Record consent): a resumed flow does not ask again.

If model_improvement.offered is true, text also carries one sentence about IDOTTA LIMITED using the document and face images to train and test its own models (as an independent controller); show it unchanged like the rest. It is offered in production sessions unless we have switched it off for your account (model_improvement_offer in Get session config says the same).

Request
curl https://api.idotta.com/v1/sessions/{id}/consent?lang={lang} \
  -H "Authorization: Bearer <access_token>"
JSON
// Response 200
{
  "version": "2026-12-02",
  "language": "en",
  "rtl": false,
  "text": "By choosing "{continue}", you give your explicit consent: {business} uses biometric data from your face and ID document (including its chip photo) to verify you. See the {policy} for details.",
  "placeholders": { "continue": "Continue", "business": "Acme Ltd", "policy": "verification privacy notice" },
  "policy_url": "https://idotta.com/verification-privacy",
  "model_improvement": { "offered": false, "version": "2026-12-02" },
  "consent": null
}