Get Onboarding SDK Token
Changed onGet an onboarding SDK token for a verification session you want to resume without OTP. (Only for KYB sessions)
Server-side only. Call this from your backend. The X-API-KEY it requires is a company-wide secret that authenticates every AiPrise API call you make, so it must never be shipped to a browser, embedded in frontend code, or passed through an end user's device - anyone who obtains it can act as your company across the entire API.
The minted token is what crosses that boundary, not the key: it is scoped to this one verification session and expires 5 minutes after it is issued, so a token that leaks exposes a single session for a few minutes rather than your whole account. Mint it on your server at the moment you are about to start the SDK, and hand the SDK only the token.
Request
- Base URLhttps://api-sandbox.aiprise.com/api/v1
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Verification session ID
Response
Successful operation
Example response
{
"onboarding_sdk_token": "<base64url-header>.<base64url-payload>.<signature>"
}Changes
- info
endpoint added
- info