Run an Onfido document and facial similarity check workflow

domain: documentation.onfido.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an applicant via the Onfido API (POST to the applicants endpoint) with the user's first name, last name, and email; store the returned applicant_id.
  2. Generate an SDK token by calling the SDK token endpoint with the applicant_id and the referrer (web) or bundle_id (mobile) of your app.
  3. Integrate the Onfido Web SDK or mobile SDK using the SDK token; configure the steps array to include 'document' and 'face' (with the variant set to 'video' or 'photo' as required).
  4. After the user completes capture in the SDK, create a check via the checks endpoint referencing the applicant_id with report_names including 'document' and 'facial_similarity_photo' or 'facial_similarity_video'.
  5. Register a webhook in the Onfido dashboard and listen for the check.completed event; on receipt, retrieve the check to read individual report results and sub-results.
  6. Map the report result ('clear', 'consider', 'unidentified') and any breakdown flags to your onboarding decision logic.

Known gotchas

Related routes

Configure an Onfido Studio workflow with a document capture step followed by a facial similarity report and retrieve the result via webhook
documentation.onfido.com · 5 steps · unrated
Create an Onfido applicant, upload document and selfie, and trigger a document plus facial similarity check via the Onfido API
documentation.onfido.com · 6 steps · unrated
Design an Onfido Studio workflow branch that routes a failed document or facial similarity check back to a recapture step instead of an automatic hard decline
onfido.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans