We recommend you start by making a test call to see how the API works. There are many different ways to make API requests, in this section we cover two ways in which you can send a test request to the API:
Follow the instructions below to send requests to the API from this page:
Go to API specification and click the POST block, so that it expands.
Click the Try it out button in the upper-right corner.
Enter your token in the Auth-Token field.
(Optional) Select true from the Add-Metadata dropdown, so the response also returns metadata information.
(Optional) Enter an identifier in the Reference-Id field.
(Optional) Enter a number between 2 and 15 in the Timeout-Seconds field.
(Optional) Under phoneRequest, you can replace the values of the number field. This field contains the 10-digit phone number that you are submitting for validation in the format local to you (excluding the phone number country code). The phone number must be enclosed in quotation marks, e.g. "1234567890".
(Optional) For the Parameter content type and Response content type only application/json is supported. Check out Supported data formats for more information.
Click the Execute button to send the request to the API.
View the response returned by the API under Responses > Server response. Note that your request was successful only if the API returned an HTTP status code of 200 - Success. Check out Response status codes to find out more about scenarios where the API returns errors.
Postman is a free, easy-to-use third-party application that you can use to send API calls.
Follow these instructions to send requests to the API via Postman:
Open the Postman app and click the Import button in the upper-left corner.
Import the file you've downloaded and unzipped.
Go to the Collections tab on the left-hand side panel and click the API request you want to test.
Go to the Headers tab.
Replace the {{Auth-Token}} value with your token.
Go to the Body tab.
(Optional) You can replace the values of the number field. This field contains the 10-digit phone number that you are submitting for validation in the format local to you (excluding the phone number country code). The phone number must be enclosed in quotation marks, e.g. "1234567890".
Click the Send button to submit the API request.
View the response returned by the API. Note that your request was successful only if the API returned an HTTP status code of 200 - Success. Check out Response status codes to find out more about scenarios where the API returns errors.