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

KeyDatatypeRequiredDescription
referrerstringThe referrer URL of your web app or the application ID of your mobile app. If not passed in, will default to the * wildcard
platformstringRequired if referrer provided. Enum values are either mobile or web

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"token":"123456789101234567890123457"}