Getting started
Sandbox
Test the full flow without a phone using simulated verdicts.
With a sandbox key (sk_test_…) you can drive the entire flow and force a
verdict without any real capture. Pass simulate when creating the session.
curl https://api.avetrust.net/api/v1/sessions \
-H "X-Api-Key: $AVETRUST_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "checks": ["DOCUMENT", "LIVENESS"], "simulate": "approved" }'Simulated outcomes
simulate | Resulting status |
|---|---|
approved | APPROVED |
review | REVIEW |
rejected | REJECTED |
Sandbox only
simulate is accepted only with a sk_test_ key. In production it is ignored
— real verifications always run the actual checks.
Going live
Swap your sandbox key for a sk_live_… key from the
dashboard. Nothing else changes: the same endpoints,
SDKs and webhooks work identically.
Next steps
- Verification sessions — the lifecycle.
- Results & decisions — reading verdicts.