Sandbox mode lets you build and test your integration against the deepidv API using realistic dummy data — no tokens consumed, no real sessions created.
How It Works
Sandbox mode is controlled by a special Sandbox API Key. When you make requests with a sandbox key, the API returns realistic test data instead of hitting real services. This lets you:- Validate your integration logic end-to-end
- Test how your app handles different session statuses (verified, rejected, pending, etc.)
- Inspect the full response shape for every endpoint
- Develop locally without consuming tokens or affecting production data
Sandbox keys behave identically to live keys for authentication — the only difference is what the API returns.
Generating a Sandbox Key
Sandbox API keys are not created automatically. You need to generate one from the Admin Console:1
Open API Keys
Navigate to Settings → API Keys in the Admin Console.
2
Generate a Sandbox Key
Find the Sandbox API Key card and click Generate. Your sandbox key will appear — copy it somewhere safe.
3
Use it like a regular key
Pass the sandbox key in the
x-api-key header, exactly like a live key. The API handles the rest.What You Can Do
GET requests — realistic test data
AllGET endpoints under /v1/sessions, /v1/financial, /v1/workflows, and /v1/credit-checks return realistic dummy data. You control which scenario you get by using well-known test IDs.
POST, PATCH, PUT, DELETE — blocked
Write operations are not available in sandbox mode. Any non-GET request to a sandboxed route returns:Other routes
Endpoints outside of sessions, financial, workflows, and credit-checks (e.g.,/health) pass through normally.
Well-Known Test IDs
Use these IDs as the:id parameter in GET requests to control which scenario you receive.
Sessions — GET /v1/sessions/:id
Financial — GET /v1/financial/:id
Credit Checks — GET /v1/credit-checks/:id
Workflows — GET /v1/workflows/:id
List Endpoints
List endpoints return multiple records without needing a test ID:
All list responses return
next_token: null (no pagination in sandbox).
Example
Here’s a quick example testing the full session response:Sandbox vs. Live
API Reference
See the full response schema for each endpoint.
Sandbox Models
View the complete sandbox test data models and response examples.