Verify code
Verifies the code entered by the user. On successful verification, returns all data needed for backend verification including the phone number, token, code, timestamp, and HMAC proof (if account has verificationSecret configured).
The number of attempts is limited based on account configuration (default: 6).
Autorizace
Your tenant's API key
Parametry cesty
The validation token returned from the start validation endpoint
"val_7af7215261b8497cb355e617b13f4ef2"
Tělo
The 6-digit verification code from SMS
^[0-9]{6}$"123456"
Odpověď
Code verified successfully
Whether the verification was successful
true
The verified phone number (only present if verified is true)
"1234567890"
The validation token (only present if verified is true)
"550e8400-e29b-41d4-a716-446655440000_abc123"
The verification code that was verified (only present if verified is true)
"123456"
When the validation was started (only present if verified is true)
"2024-01-15T10:30:00Z"
HMAC proof for this verification (only present if verified is true and tenant has verificationSecret)
"86dd8444ed76402c93ce62497cb29a0d7af7215261b8497cb355e617b13f4ef2"
When the verification was completed (only present if verified is true)
"2024-01-15T10:31:15Z"