Skip to main content
Base URL: https://api.rial.io
1

Get an API key

Dashboard → Settings → API → create a key. Copy it once; it’s not shown again.
2

Create a verification

Send capture_url to the person. No app, no account: it opens in their phone’s browser and walks them through the photo.
3

Read the verdict

label is what you branch on: verified, suspicious or failed. No verdict yet means analysis is still running.
Don’t poll. Pass "webhook_url": "https://your.app/rial" when creating the verification and RIAL POSTs verification.created and verification.completed to that URL. Retries on failure.

Ask for more than one photo

Each image step can say what must appear in it and what condition to assess.
expected_object rejects a photo of something else. condition_aspects scores each aspect 0 to 10 with a one-line reason. expected_location checks the photo was taken there. All three come back as separate fields next to the verdict — see Verdicts.

Reuse it: publish a template

Same steps, published once, one permanent link you can send forever.
Every person who opens public_url gets their own verification. Same thing from the terminal: rial templates apply car-intake.json — see CLI.

Verdicts

What every field means.

API reference

Every field you can send.