API Reference
Create a journey
/face-match/journeyhttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euCreates a facial recognition journey. Send the player to url; at the end they return to redirectUrl with journeyId and a FaceMatchJourney notification arrives at faceMatchUrl.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonPlayer's CPF, with or without punctuation. Must be a valid CPF (2001 otherwise).
"604.184.437-34"Journey flow (4443 otherwise).
onboarding_with_docsonboarding_with_docs_and_scorealready_validated_face"onboarding_with_docs"Return URL, http(s).
"https://sua-app.dev/face-match/fim"Validate the face when the player has none registered (default true).
Your identifier, URL-safe ([A-Za-z0-9._~-], up to 100 chars). Okto generates a UUID when omitted.
"f8ccc69f-a236-4058-a9f7-d374ed1084f0"Responses
201Journey created.
Journey id.
Id at the provider.
Status: processing until the selfie, then success, rejected (4203, 4202), failed (4303) or expired (1 hour).
processingsuccessrejectedfailedexpiredJourney page.
Creation time.
"2026-10-21T19:09:06.127Z"Your identifier.
400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"401Invalid access token (code 2000).
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"