SMS Verify API - Try it without code

This page explains how to send an SMS with a one-time password (OTP) using Telesign SMS Verify directly from our docs site, without writing any code.

Before you begin

Ensure that you have the following:

Steps

🚧

CAUTION:

Using your account credentials in the API Explorer to make a request results in your account being charged for the transaction.

You are subject to all compliance rules as appropriate for your transaction.

  1. Open the reference page for the POST /v1/verify/sms endpoint.

  2. Under the AUTHENTICATION header in the right panel of the page, put your Customer ID in the Customer ID field and your API key in the API Key field.

  3. Go to the middle panel of the page, under FORM DATA. In the phone_number field enter the phone number you want to send the OTP to.

  4. In the verify_code field, enter the verification code you want to send or leave it blank if you want TeleSign to generate the code.

  5. In the template field you can override the default text to be sent with the OTP. The $$CODE$$ variable must be included in this text to insert the OTP.

  6. Select Try It! in the right panel to see your transaction. You will be charged the standard rate for your transaction.

  7. You can also select the copy icon to the left of Try It! to copy the code snippet displayed. To change the programming language of the snippet, select one of the options under the LANGUAGE header in the right sidebar.


What’s Next