Retrieve an Onfido SDK Token
GET {{baseUrl}}/v1/accounts/:account_id/onfido/sdk/tokens
Get an SDK token to activate the Onfido SDK flow within your app. You will have to keep track of the SDK token so you can pass it back when you upload the SDK outcome. We recommend storing the token in memory rather than persistent storage to reduce any unnecessary overhead in your app.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
referrer | string | The referrer URL of your web app or the application ID of your mobile app. If not passed in, will default to the * wildcard | |
platform | string | Required if referrer provided. Enum values are either mobile or web |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"token":"123456789101234567890123457"}