Skip to main content

Verify a token

Token verification is performed by sending a POST request to the below endpoint. If the token is not valid, it will return a false value in the success attribute of the JSON response. When max_attempts are reached, or valid_for has expired, or the token has already been validated, the endpoint will return a 404 Not Found HTTP code.

Permissions

The API token must include one of the following scopes: Voice or Messaging or Fax.

Path Parameters
mfa_request_id string REQUIRED

Unique ID of the address

Request Body REQUIRED
token string REQUIRED

The token to verify

Responses
200

OK

Schema OPTIONAL
success boolean OPTIONAL

Whether the token was successfully verified by the API. When max_attempts are reached or the request is no longer valid, the endpoint will return a 404 Not Found.