Verify
Verify verification code by ID
Changed onChecks the supplied code, or the supplied status for a custom-code verification, against the verification identified by ID. The response indicates whether the verification was accepted or rejected.
post/verifications/{verification_id}/actions/verify
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/verifications/{verification_id}/actions/verify
- Auth: HTTP bearer
Path parameters
verification_idstring uuid required
Example:12ade33a-21c0-473b-b055-b3c836e1c292
The identifier of the verification to retrieve.
Request body
Example request
{
"code": "17686",
"status": "accepted"
}Response
Expected verify response to a valid request.
Example response
{
"data": {
"phone_number": "+13035551234",
"response_code": "accepted"
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - warning
removed the optional property
///from the response with the status
- breaking