Skip to main content
POST
Verify code

Autorizace

X-API-Key
string
header
povinné

Your tenant's API key

Parametry cesty

token
string
povinné

The validation token returned from the start validation endpoint

Příklad:

"val_7af7215261b8497cb355e617b13f4ef2"

Tělo

application/json
code
string
povinné

The 6-digit verification code from SMS

Pattern: ^[0-9]{6}$
Příklad:

"123456"

Odpověď

Code verified successfully

verified
boolean
povinné

Whether the verification was successful

Příklad:

true

phoneNumber
string

The verified phone number (only present if verified is true)

Příklad:

"1234567890"

token
string

The validation token (only present if verified is true)

Příklad:

"550e8400-e29b-41d4-a716-446655440000_abc123"

code
string

The verification code that was verified (only present if verified is true)

Příklad:

"123456"

timestamp
string<date-time>

When the validation was started (only present if verified is true)

Příklad:

"2024-01-15T10:30:00Z"

proof
string

HMAC proof for this verification (only present if verified is true and tenant has verificationSecret)

Příklad:

"86dd8444ed76402c93ce62497cb29a0d7af7215261b8497cb355e617b13f4ef2"

verifiedAt
string<date-time>

When the verification was completed (only present if verified is true)

Příklad:

"2024-01-15T10:31:15Z"