Skip to main content
POST
/
api
/
v4
/
email
/
otp
/
verify
Verify OTP code
curl --request POST \
  --url https://api.dataspike.io/api/v4/email/otp/verify \
  --header 'Content-Type: application/json' \
  --header 'ds-api-token: <api-key>' \
  --data '
{
  "check_id": "019d4e88-f847-7aa0-892f-bd2d85537ffe",
  "code": "123456"
}
'
{
  "verified": true,
  "ownership_verified": true,
  "ownership_verified_at": "2024-01-01T00:00:00Z",
  "verdict": "pass"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dataspike.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

ds-api-token
string
header
required

Body

application/json
check_id
string
required
Example:

"019d4e88-f847-7aa0-892f-bd2d85537ffe"

code
string
required
Example:

"123456"

Response

OTP verified.

verified
boolean
ownership_verified
boolean
ownership_verified_at
string | null
Example:

"2024-01-01T00:00:00Z"

verdict
string
Example:

"pass"