087dcf516ce2
Get the current onboarding session
Returns the current onboarding state for the user. Poll it after the user starts the Sumsub SDK to detect the SignFormA state; the state can lag the SDK UI by a few seconds because Sumsub webhooks drive the transitions. Returns NO_ACTIVE_SESSION (code 30031) when the user has no active session, including after the session reaches a terminal outcome.
Headers
The user's URID. Send at least one of X-Ur-Id or X-External-User-Id.
Your partner-side user id. Send at least one of X-Ur-Id or X-External-User-Id.
Partner Auth EIP-191 signature over the canonical message plus the deadline.
Unix timestamp in seconds after which the signature is no longer valid.
Partner public key used to verify the signature.
Response
Business result envelope. code 0 means success; business rejections return HTTP 200 with a non-zero code.