Skip to main content
POST
/
v3
/
email
/
send
Send Email Code
curl --request POST \
  --url https://verification.didit.me/v3/email/send/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "email": "<string>",
  "options": {
    "code_size": 6,
    "alphanumeric_code": false,
    "locale": "<string>"
  },
  "signals": {
    "ip": "127.0.0.1",
    "device_id": "<string>",
    "user_agent": "<string>"
  },
  "vendor_data": "<string>"
}
'
{
"request_id": "e39cb057-92fc-4b59-b84e-02fec29a0f24",
"status": "Success",
"reason": null
}

Authorizations

x-api-key
string
header
required

Body

application/json
email
string
required

The email address to verify. e.g. [email protected]

options
object

Options for the email verification, such as code_size, alphanumeric_code, and locale.

signals
object

A dictionary of signals for fraud detection. Keys are signal names (string) and values are signal values (string).

vendor_data
string

A unique identifier for the vendor or user, such as a UUID or email. This field enables proper session tracking and user data aggregation across multiple verification sessions.

Response

OK

request_id
string<uuid>

Unique identifier for the session/request.

status
enum<string>

Status of the send operation (e.g., 'Success', 'Retry', 'Undeliverable').

Available options:
Success,
Retry,
Undeliverable
reason
string | null

Reason for the status (only applies to 'Undeliverable').