Create a new identity verification session
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Content-Type | Yes | application/json |
| Parameter | Alias | Type | Required | Description |
|---|---|---|---|---|
first_name | firstName | string | Yes | Applicant’s first name |
last_name | lastName | string | Yes | Applicant’s last name |
email | — | string | Yes | Applicant’s email address |
phone | — | string | Yes | Applicant’s phone number in E.164 format (e.g. +15192223333) |
external_id | externalId | string | No | Your internal reference ID for this session |
send_email_invite | sendEmailInvite | boolean | No | Send an email invitation to the applicant. Defaults to true |
send_phone_invite | sendPhoneInvite | boolean | No | Send an SMS invitation to the applicant. Defaults to true |
workflow_id | workflowId | string | No | ID of the workflow to use. If omitted, runs as a standalone verification |
| Field | Type | Description |
|---|---|---|
idv_id | string | Unique identifier for the created session |
session_url | string | Base URL where the applicant completes verification |
externalId | string | Your external ID (only returned if provided in the request) |
links | array | Associated verification links |
| Status | Description |
|---|---|
400 Bad Request | Invalid request body — check required fields and phone format |
401 Unauthorized | Missing or invalid API key |
402 Payment Required | Insufficient token balance |
404 Not Found | Workflow ID not found |
429 Too Many Requests | Rate limit exceeded |