Decisions

Read the result of one session. The call needs an API key with decisions read access, and only sees sessions in its own project.

Read a decision

GET /api/v1/sessions/{sessionId}, scope decisions read. Use the sessionId returned when the session was created.

Each call asks the verification service for the current decision and stores the status it returns, so the list of sessions stays up to date.

Response: 200 OK

FieldMeaning
sessionIdThe session this decision belongs to.
statusThe current status. See Concepts for the list.
vendorDataThe reference you set when you created the session.
workflowIdThe workflow the session ran.
idVerificationsResults of the ID document checks that ran.
livenessChecksResults of the liveness checks that ran.
faceMatchesResults of the face match checks that ran.
amlScreeningsResults of the AML screenings that ran.

Each check array holds the results the verification service returns for that check type, in the shape it returns them.

Status codes

  • 401, 403, 429 (rate limit): as in the API overview.
  • 404 Session not found: no session with that ID exists in your project.
  • 409 with reason: "hosted link refused": the session was created but no verification link was issued for it, so no person can complete it. The message is: No verification link was issued for this session, so it cannot be completed through Mudbase. The decision is not requested.
  • 429 or 502 Verification service error: the verification service is busy or failed. Retry after a short wait.
  • 500: an unexpected error on Verify's side.
  • 503 Verification not configured: verification is not set up for this project yet.