Imports a session from a share token issued by another application. The session_kind encoded in the token determines which kind is cloned — User Verification (KYC) sessions clone user relations (KYC, Face, Liveness, FaceMatch, AML, POA, etc.); Business Verification (KYB) sessions clone business relations (KYBCompany, KYBKeyPeopleCheck, KYBDocument, AML, etc.). Tokens issued before this unified flow default to session_kind = user. The response includes session_kind.
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, and clones the corresponding kind of session:
session_kind: "user" — clones the user session plus its related identity, face, liveness, face-match, AML, location, POA, phone, email, database-validation, and log rows.session_kind: "business" — clones the business session plus its related registry check, key-people records, documents, AML screenings, phone, email, location, questionnaire, and log rows.session_kind field, Didit defaults to "user" for backward compatibility.
session_id, session_number, and session_url.shared_from_session field points at the original session in the source application.trust_review: true) or IN_REVIEW (trust_review: false).vendor_data if one doesn’t exist.trust_review parameter| Value | Effect |
|---|---|
true | The imported session preserves the original status (e.g. APPROVED). Use when you fully trust the sharing partner’s decision. |
false | The imported session lands in IN_REVIEW so your team can re-review before acting. Safe default for external partners. |
| Status | Reason |
|---|---|
401 | Share token invalid or expired. |
403 | Token not intended for your application, or session has already been imported. |
404 | Original session no longer exists. |
404 | workflow_id not found in your application. |
share_token twice is rejected with 403 — the duplicate-import check runs against both user and business tables depending on session_kind.
The share token to import the session with.
Whether to trust the review of the session to be imported. If true, the session will be imported as is, otherwise the session will be set to 'In Review' so it can be reviewed by the application.
The workflow ID to import the session with.
Sets your own user vendor_data for the imported verification session.