Report the received verification code to verify it, using the identity of the user (in most cases, the phone number). For an SMS PIN verification or Phone Call verification, this is the OTP code. For FlashCall, this is the CLI.
endpoint required | string For type |
A success response, or an Error.
{- "method": "sms",
- "sms": {
- "code": "123"
}
}
{- "id": "1234567890",
- "method": "sms",
- "status": "PENDING",
- "reason": "Expired"
}
Report the received verification code to verify it, using the Verification ID of the Verification request.
A success response, or an Error.
method required | string (VerificationMethod) The type of the verification request. | ||||||||||||||||||||||||||||||
id | string The unique ID of the verification request. | ||||||||||||||||||||||||||||||
status | string (VerificationStatus) The status of the verification
| ||||||||||||||||||||||||||||||
reason | string (VerificationStatusReason) Displays the reason why a verification has
| ||||||||||||||||||||||||||||||
callComplete | boolean Displays if the call was completed successfully. |
{- "method": "sms",
- "sms": {
- "code": "123"
}
}
{- "id": "1234567890",
- "method": "sms",
- "status": "PENDING",
- "reason": "Expired"
}