Appearance
Onfido SDK token response for Onfido Studio
Live: May 21 2026 · API Changelog
What's changing
Create an Onfido SDK token (POST /sdk/v1/providers/onfido/token) returns a flowSteps object for teams on Onfido Classic:
json
{
"sdkToken": "...",
"flowSteps": {...}
}Once your team is migrated to Onfido Studio, the response returns a workflowRunId string instead, and no flowSteps object:
json
{
"sdkToken": "...",
"workflowRunId": "..."
}The two fields are mutually exclusive. Only one is present, depending on whether your team is on Onfido Classic (flowSteps) or Onfido Studio (workflowRunId).
When your team has been migrated to Onfido Studio, the mobile SDK API also supports the biometric report type (NFC). Before, only the standard report type was supported.
Who's affected
Integrations that use the Amiqus SDK API to start the Onfido mobile SDK. Your integration is not affected until your team is migrated to Onfido Studio.
What you need to do
Update your SDK initialisation to check for workflowRunId and use it when present:
javascript
const response = await http.post('/sdk/v1/providers/onfido/token', { ... })
const config = { sdkToken: response.sdkToken }
if (response.workflowRunId !== undefined) {
// Onfido Studio
config.workflowRunId = response.workflowRunId
} else {
// Onfido Classic (deprecated)
config.flowSteps = response.flowSteps
}
Onfido.init(config)This works for both Onfido Classic and Onfido Studio, so your integration keeps working before and after your team is migrated.
If you have questions, contact developers@amiqus.co.