Update Session Status
Manually override a KYC or KYB session’s status to Approved, Declined, or Resubmitted. Fires status.updated webhook.
Documentation Index
Fetch the complete documentation index at: https://docs.didit.me/llms.txt
Use this file to discover all available pages before exploring further.
Session kind
This endpoint works identically for User Verification (KYC) and Business Verification (KYB) sessions. Didit looks up thesession_id in both tables; status-transition validation is model-agnostic (the same enum of statuses applies to both).
The response includes session_kind so your downstream logic can switch on the outcome kind.
Allowed transitions
You can move a session toAPPROVED, DECLINED, IN_REVIEW, or RESUBMITTED. The session’s current status must be one of: APPROVED, DECLINED, IN_REVIEW, KYC_EXPIRED, ABANDONED, or RESUBMITTED — otherwise the API returns a validation error.
Examples
- Approve a User Verification (KYC) session
- Decline a Business Verification (KYB) session
- Request resubmission
Permission
Requires thewrite:sessions privilege. The same privilege covers both kinds.
Related
- Verification statuses — status-machine reference.
- Retrieve session — fetch the decision after updating.
- Sessions overview — kind discrimination.
Authorizations
Path Parameters
UUID of the session to update.
"11111111-2222-3333-4444-555555555555"
Body
The new status to set for the session. Use Approved or Declined for final decisions, or Resubmitted to request the user to redo specific failed/in-review steps.
Approved, Declined, Resubmitted A comment explaining the reason for the status change. For example Duplicated user.
Whether to send an email notification to the user about the status change. For Resubmitted status, the email includes the verification link and reasons for resubmission.
The email address to send the notification to. Required when send_email is true.
The language for the email notification. Defaults to 'en' (English).
en, es, fr, de, pt, it, ar, bg, bn, ca, cs, da, el, et, fa, fi, he, hi, hr, hu, hy, id, ja, ka, kk, ko, lt, lv, mk, mn, ms, nl, no, pl, pt-BR, ro, ru, sk, sl, so, sr, sv, th, tr, uk, uz, vi, zh, zh-CN, zh-TW Feature steps the user must redo when new_status=Resubmitted. If omitted, the server auto-selects every feature whose status is not Approved. KYB-only nodes KYB_REGISTRY and KYB_KEY_PEOPLE are rejected — the parent recomputes from child KYCs.
Response
Status updated successfully