Quickstart

Make your first verification session. You need a Verify account, one project, an API key and a published workflow.

1. Create a project

In the Verify console, create a project for the app that will run checks. Each project has its own API keys, workflows and webhook destinations. Projects in one account share one prepaid balance.

2. Create an API key

Open Developers, then API keys, and create a key. Give it sessions write access (to create sessions) and decisions read access (to read results). Keys start with mi_live_. The full key is shown once when you create it, so copy it into your secret store at that moment. Verify keeps only a hash of it.

3. Publish a workflow

Create a workflow in the console and publish it. Copy its ID, which is a UUID. A workflow that is not published is refused with a 404 (see Errors).

4. Start a session

curl -X POST https://verify.mudbase.dev/api/v1/sessions \
  -H "Authorization: Bearer $MUDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"workflowId":"<workflow-uuid>","vendorData":"user-1842"}'

A successful call returns status 201 with the session ID and a link:

{
  "sessionId": "<session-id>",
  "url": "https://verify.mudbase.dev/v/<token>",
  "status": "Not Started"
}

Redirect your user to url. The link sends them to the hosted flow. It stops working 30 minutes after it was created, so create the session just before you send the user to it.

5. Read the decision

When the user has finished, read the result:

curl https://verify.mudbase.dev/api/v1/sessions/<session-id> \
  -H "Authorization: Bearer $MUDBASE_API_KEY"

The response carries the session status and the checks that ran (ID verifications, liveness, face matches and AML screenings). See Decisions for every field.

Next

Set up webhooks so your backend hears about results as they happen, and read Billing before you move from sandbox to live checks.