Create a verification process

🚧

CAUTION:

As part of our ongoing platform improvements and the migration to a new supporting platform, the Push Verify functionality is temporarily unavailable. This notice will be removed once Push Verify becomes available again.

Other Verify API SDK capabilities, including QR Verify and Silent Verify, are not impacted.

Use this action to create a verification process for the specified phone number.

📘

NOTE:

Updating a verification process using the procedure explained in each channel's Complete verification and get delivery status section on its Get Started page is a mandatory step when using Verify API. This step allows Telesign to know the real state of your verification as well as control all the features related to a verification process such as fallback, callback, and pricing. If your end user has verified themselves but the verification process is not updated, these features might not work as intended which can lead to extra costs or incorrect billing.

General requirements

  • Authentication: Basic (easiest to implement) or Digest
  • Encoding: Accepts only UTF-8 unicode characters as inputs.
  • Accepts: application/json
  • Responds with: application/json
  • Required headers: Content-Type - application/json
  • Rate limit: Default rate limits by product
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Payload for creating a verification process.

recipient
object
required

Contains properties with the recipient identifier for a verification process.

string
length between 3 and 10

A one-time passcode (OTP) to use for this verification process, for all OTP methods. By default, Telesign randomly generates a six-digit numeric OTP for you and inserts it into messages to your end users. You can override the default behavior by including your own OTP here. Only numeric characters are supported. Contact Telesign Customer Support to change the required OTP length configured for your account.

verification_policy
array of objects
length ≥ 1

An ordered set of verification methods and their fallback times that the Verify API uses for this verification process. See verification policy for more details.

Verification Policy
string
enum

One of the verification methods included in a verification policy. Each method employs a Telesign service, such as Silent Verify or Push Verify.

Allowed:
integer
≥ 30

The time window in seconds that the service waits before abandoning the current verification method and then initiating verification using the next method specified in the active verification policy. It is possible for the failover to happen earlier if certain failure conditions occur.

string

This verification process is for the purpose of registering a device for Push Verify. See Verify API - Register a new device with Push Verify for further context on when to use this. When used with Push Verify, the value of this parameter is stamp.

string
length ≤ 100

A customer-generated ID for this transaction. The response simply echoes the value provided for this parameter.

message_template
object

Contains properties related to the template set up for use with Verify API.

string

A supported language code specifying the language the service will use when delivering the OTP message. If a code isn't provided, the default language, English (en-US), is used to deliver the OTP message.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json