Twilio Verify

The Twilio Verify modules enable you to, create, update, list, retrieve, and delete the verification services and verifications in your Twilio Verify account.

Getting Started with Twilio Verify

Prerequisites

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Twilio Verify to Integromat

To connect your Twilio Verify account to Integromat you need to obtain the API token from your Twilio Verify account and insert it in the Create a connection dialog in the Integromat module.

1.  Log in to your Twilio Verify account.

2. Copy the Account SID and API Token to a safe place.

3. Go to Integromat and open the Twilio Verify module's Create a connection dialog.

4. In the Connection name field, enter a name for the connection.

5. In the Account SID and API Token fields, enter the account SID and token details copied in step 3 and click Continue.

The connection has been established.

Verification Services

List Verification Services

Fetches all of the verification services.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the account SID of the verification service to fetch the resource from. 
Verification SIDEnter (map) the Twilio provided string that uniquely identifies the verification resource to fetch. 

Geta Verification Service

Retrieves an existing verification service.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the Twilio provided string that uniquely identifies the verification service resource to fetch.

Create a Verification Service

Creates a new verification service.

ConnectionEstablish a connection to your Twilio Verify account.
Friendly NameEnter (map) a name for the verification service. For example, my verify service. A maximum of 30 characters is allowed.
Code LengthEnter (map) the length of the verification code to generate. You can enter an integer between 4 and 10, inclusive. 
Lookup enabledSelect whether to perform a lookup with each verification started and return info about the phone number. 
DTMF Input RequiredSelect whether to ask the user to press a number before delivering the verification code in a phone call.
TTS NameEnter (map) the name of an alternative text-to-speech service to use in phone calls. This field applies only to TTS languages.
PDS2 EnabledSelect whether to pass the PSD2 transaction parameters when starting a verification.
Mailer SendEnter (map) the Mailer SID associated with the verify service. this information is used for creating verifications through the email channel.
Do Not Share Warning EnabledSelect whether to add a security warning at the end of an SMS verification body. By default, this option is disabled and applies only to SMS. For example, a sample message looks like this:Your AppName verification code is 1234. Don’t share this code with anyone; our employees will never ask for the code
Custom Code EnabledSelect whether to allow sending verifications with a custom code instead of a randomly generated one. This option is not available to all users. Please contact your account agent.
PushAdd the push details:
Include Date
Enter (map) the date on which you want to push the code. Optional configuration for the Push factors.
If true, includes the date in the Challenge's response.
Otherwise, the date is omitted from the response.
For more information, see the Challenge resource’s details parameter.
APN Credential SID
Enter (map) the APN Credential for this service. This information allows sending push notifications to iOS devices. For more information, see the Credential Resource.
FCM Credential SID
Enter (map) the FCM Credential for this service. This information allows sending push notifications to Android devices.

Update a Verification Service

Updates an existing verification service.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the Verification Service SID whose details you want to update.
Friendly NameEnter (map) a name for the verification service. For example, my verify service. A maximum of 30 characters is allowed.
Code LengthEnter (map) the length of the verification code to generate. You can enter an integer between 4 and 10, inclusive. 
Lookup enabledSelect whether to perform a lookup with each verification started and return info about the phone number. 
DTMF Input RequiredSelect whether to ask the user to press a number before delivering the verification code in a phone call.
TTS NameEnter (map) the name of an alternative text-to-speech service to use in phone calls. This field applies only to TTS languages.
PDS2 EnabledSelect whether to pass the PSD2 transaction parameters when starting a verification.
Mailer SendEnter (map) the Mailer SID associated with the verify service. this information is used for creating verifications through the email channel.
Do Not Share Warning EnabledSelect whether to add a security warning at the end of an SMS verification body. By default, this option is disabled and applies only to SMS. For example, a sample message looks like this: Your AppName verification code is 1234. Don’t share this code with anyone; our employees will never ask for the code
Custom Code EnabledSelect whether to allow sending verifications with a custom code instead of a randomly generated one. This option is not available to all users. Please contact your account agent.
PushAdd the push details:
Include Date
Enter (map) the date on which you want to push the code. Optional configuration for the Push factors.
If true, includes the date in the Challenge's response.
Otherwise, the date is omitted from the response.
For more information, see the Challenge resource’s details parameter.
APN Credential SID
Enter (map) the APN Credential for this service. This information allows sending push notifications to iOS devices. For more information, see the Credential Resource.
FCM Credential SID
Enter (map) the FCM Credential for this service. This information allows sending push notifications to Android devices. 

Delete a Verification Service

Deletes an existing verification service.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the Twilio provided string that uniquely identifies the verification service resource you want to delete. 

Verifications

Get a Verification

Retrieves an existing verification.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the Verification Service SID whose details you want to retrieve.
Verification SIDEnter (map) the Twilio provided string that uniquely identifies the verification resource to fetch.

Start a Verification 

Starts a new verification.

ConnectionEstablish a connection to your Twilio Verify account.
ToEnter (map) the phone number or email to verify. The phone numbers must be in E.164 format.
ChannelSelect or map a method to verify:
  • Call
  • Email
  • SMS
Channel ConfigurationAdd the channel configurations:

From
Enter (map) the phone number. This field is required if submitting the ChannelConfiguration parameter.


From Name

Enter (map) the name from which you want to configure the channel. This field is required if submitting the ChannelConfiguration parameter.

Template ID
Enter (map) the Template ID. This information overrides the default template from the Verify Service email integration. To create a new template in the SendGrid dashboard, see the SendGrid docs.

Substitutions
Enter (map) key-value pair variable substitution for dynamic email templates.
{ "substitutions": { "username": "jdoe321", "first_name": "Jane", "last_name": "Doe" } }

Verification Service SIDEnter (map) the SID of the verification service under which you want to create the resource.
Rate LimitsAdd the custom key-value pairs of programmable rate limits. The associated value pairs represent values in the request that you are rate-limiting on. You may include multiple rate limit values in each request.
Custom Friendly NameEnter (map) the custom user-defined friendly name that overwrites the existing one in the verification message.
Custom MessageEnter (map) the text of a custom message to use for the verification.
Custom CodeEnter (map) a pre-generated code to use for verification. Enter a value between 4 and 10 characters long.
AmountEnter (map) the amount of the associated PSD2 compliant transaction. This option requires enabling the PSD2 Service flag.
PayeeEnter (map) the payee of the associated PSD2 compliant transaction. This option requires enabling the PSD2 Service flag enabled.

Update a Verification Status

Updates a verification status.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the SID of the verification service to fetch the resource whose verification status you want to update.
Verification SIDEnter (map) the verification SID.
StatusSelect or map the status of the verification:
  • Approved
  • Canceled

Check a Verification

Checks a verification.

ConnectionEstablish a connection to your Twilio Verify account.
Verification Service SIDSelect or map the SID of the verification service to fetch t
CodeEnter (map) a pre-generated code to use for verification. Enter a value between 4 and 10 characters long.
ToEnter (map) the phone number or email to verify. The phone numbers must be in E.164 format.
Verification SIDEnter (map) the verification SID that uniquely identifies the verification code. . Either this parameter or the phone number/email must be specified.
AmountEnter (map) the amount of the associated PSD2 compliant transaction. This option requires enabling the PSD2 Service flag.
Payee
Enter (map) the payee of the associated PSD2 compliant transaction. This option requires enabling the PSD2 Service flag enabled.



Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Twilio Verify account.
URL

Enter a path relative to https://verify.twilio.com. For example: /v1/Services

For the list of available endpoints, refer to the Twilio Verify API Documentation.

Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Services

The following API call returns all the services from your Twilio Verify account:

URL:
/v1/Services

Method:
GET

Matches of the search can be found in the module's Output under Bundle > Body > services
In our example, 4 services were returned:


Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.