Create Sumsub hosted KYC session
Starts, reopens or answers a KYC verification on a Sumsub-hosted page. Pods creates the applicant and returns a link; the applicant completes document, selfie and personal data in the browser and is redirected back to your app. Poll GET /api/v1/kyc/status for the result: the redirect is a hint and not the source of truth. Idempotent by CPF: the same CPF returns the same kycUserId, and the same link while it has more than five minutes left. An identity already approved on Avenia is answered as approved without a link. Available only to customers enabled for the hosted flow.
Authorizations
Body
Sumsub hosted KYC session payload
Applicant email
Where the applicant is sent back to after a successful verification. It must be https, carry no credentials and match, by origin and path, an entry of the redirect allowlist configured for your account. The query string is kept; the fragment is dropped. When omitted, the first allowlisted URL is used.
1024"https://app.example.com/kyc/return"
Response
Session created, reopened, or already resolved (approved, under analysis, rejected)
Sumsub hosted KYC session. Calling the endpoint again with the same CPF returns the same session, with the same link while it still has more than five minutes left, and a new link after that.
Sumsub hosted verification page. Open it in the applicant's browser. A bearer link: do not log it or share it. Null when there is nothing to open: the profile is already approved, under analysis, rejected or blocked.
"https://in.sumsub.com/websdk/p/sbx_example"