Toll-free verification resource
The Verification resource records your request to verify a toll-free number to comply with US and Canadian federal regulations for SMS messaging. The verification process is called toll-free verification (TFV).
Toll-free phone numbers for the US and Canada use the North American Numbering Plan (NANP). NANP toll-free numbers begin with 800, 888, 877, 866, 855, 844, or 833. To use these numbers to send SMS messages, your organization must comply with federal regulations. For the toll-free number to be compliant, provide data on how you plan to use your phone number to send texts.
To verify that a toll-free number meets these regulations, use this resource. To learn how to use this resource, see Get started with toll-free verification using the API.
The unique string to identify Tollfree Verification.
^HH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Account that created the Tollfree Verification resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Customer's Profile Bundle BundleSid.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Tollfree TrustProduct Bundle BundleSid.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The date and time in GMT when the resource was created specified in ISO 8601 format.
The date and time in GMT when the resource was last updated specified in ISO 8601 format.
The SID of the Regulated Item.
^RA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The name of the business or organization using the Tollfree number.
The address of the business or organization using the Tollfree number.
The address of the business or organization using the Tollfree number.
The city of the business or organization using the Tollfree number.
The state/province/region of the business or organization using the Tollfree number.
The postal code of the business or organization using the Tollfree number.
The country of the business or organization using the Tollfree number.
The website of the business or organization using the Tollfree number.
The first name of the contact for the business or organization using the Tollfree number.
The last name of the contact for the business or organization using the Tollfree number.
The email address of the contact for the business or organization using the Tollfree number.
The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
The email address to receive the notification about the verification result. .
The category of the use case for the Tollfree Number. List as many are applicable..
Use this to further explain how messaging is used by the business or organization.
Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
Describe how a user opts-in to text messages.
VERBAL
WEB_FORM
PAPER_FORM
VIA_TEXT
MOBILE_QR_CODE
IMPORT
IMPORT_PLEASE_REPLACE
The SID of the Phone Number associated with the Tollfree Verification.
^PN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The compliance status of the Tollfree Verification record.
PENDING_REVIEW
IN_REVIEW
TWILIO_APPROVED
TWILIO_REJECTED
The rejection reason given when a Tollfree Verification has been rejected.
The date and time when the ability to edit a rejected verification expires.
If a rejected verification is allowed to be edited/resubmitted. Some rejection reasons allow editing and some do not.
A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
The URLs of the documents associated with the Tollfree Verification resource.
An optional external reference ID supplied by customer and echoed back on status retrieval.
POST https://messaging.twilio.com/v1/Tollfree/Verifications
application/x-www-form-urlencoded
The name of the business or organization using the Tollfree number.
The website of the business or organization using the Tollfree number.
The email address to receive the notification about the verification result. .
The category of the use case for the Tollfree Number. List as many are applicable..
Use this to further explain how messaging is used by the business or organization.
Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
Describe how a user opts-in to text messages.
VERBAL
WEB_FORM
PAPER_FORM
VIA_TEXT
MOBILE_QR_CODE
IMPORT
IMPORT_PLEASE_REPLACE
The SID of the Phone Number associated with the Tollfree Verification.
^PN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Customer's Profile Bundle BundleSid.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The address of the business or organization using the Tollfree number.
The address of the business or organization using the Tollfree number.
The city of the business or organization using the Tollfree number.
The state/province/region of the business or organization using the Tollfree number.
The postal code of the business or organization using the Tollfree number.
The country of the business or organization using the Tollfree number.
The first name of the contact for the business or organization using the Tollfree number.
The last name of the contact for the business or organization using the Tollfree number.
The email address of the contact for the business or organization using the Tollfree number.
The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
An optional external reference ID supplied by customer and echoed back on status retrieval.
Submitting a TFV request requires a Trust Hub Customer Profile.
If you have a Customer Profile, the following API request submits one TFV request associated with your Customer Profile SID.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function createTollfreeVerification() {11const tollfreeVerification =12await client.messaging.v1.tollfreeVerifications.create({13additionalInformation:14"see our privacy policy here www.example.com/privacypolicy",15businessName: "Owl, Inc.",16businessWebsite: "http://www.example.com",17customerProfileSid: "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",18externalReferenceId: "abc123xyz567",19messageVolume: "10",20notificationEmail: "support@example.com",21optInImageUrls: [22"https://example.com/images/image1.jpg",23"https://example.com/images/image2.jpg",24],25optInType: "VERBAL",26productionMessageSample: "lorem ipsum",27tollfreePhoneNumberSid: "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",28useCaseCategories: ["TWO_FACTOR_AUTHENTICATION", "MARKETING"],29useCaseSummary:30"This number is used to send out promotional offers and coupons to the customers of Owl, Inc.",31});3233console.log(tollfreeVerification.sid);34}3536createTollfreeVerification();
Response
1{2"sid": "HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"customer_profile_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"regulated_item_sid": null,6"trust_product_sid": null,7"business_name": "Owl, Inc.",8"status": "PENDING_REVIEW",9"date_created": "2021-01-27T14:18:35Z",10"date_updated": "2021-01-27T14:18:36Z",11"business_street_address": "123 Main Street",12"business_street_address2": "Suite 101",13"business_city": "Anytown",14"business_state_province_region": "AA",15"business_postal_code": "11111",16"business_country": "US",17"business_website": "http://www.example.com",18"business_contact_first_name": "firstname",19"business_contact_last_name": "lastname",20"business_contact_email": "email@company.com",21"business_contact_phone": "+11231231234",22"notification_email": "support@example.com",23"use_case_categories": [24"TWO_FACTOR_AUTHENTICATION",25"MARKETING"26],27"use_case_summary": "This number is used to send out promotional offers and coupons to the customers of Owl, Inc.",28"production_message_sample": "lorem ipsum",29"opt_in_image_urls": [30"https://testbusiness.com/images/image1.jpg",31"https://testbusiness.com/images/image2.jpg"32],33"opt_in_type": "VERBAL",34"message_volume": "10",35"additional_information": "see our privacy policy here www.example.com/privacypolicy",36"tollfree_phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",37"rejection_reason": null,38"error_code": null,39"edit_expiration": null,40"edit_allowed": null,41"rejection_reasons": null,42"resource_links": {},43"url": "https://messaging.twilio.com/v1/Tollfree/Verifications/HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",44"external_reference_id": "abc123xyz567"45}
If you don't have a Trust Hub Customer Profile, the following API request creates a Customer Profile and submits one TFV request for that profile.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function createTollfreeVerification() {11const tollfreeVerification =12await client.messaging.v1.tollfreeVerifications.create({13additionalInformation:14"see our privacy policy here www.example.com/privacypolicy",15businessCity: "Anytown",16businessContactEmail: "email@example.com",17businessContactFirstName: "firstname",18businessContactLastName: "lastname",19businessContactPhone: "+1231231234",20businessCountry: "US",21businessName: "Owl, Inc.",22businessPostalCode: "11111",23businessStateProvinceRegion: "AA",24businessStreetAddress: "123 Main Street",25businessStreetAddress2: "Suite 101",26businessWebsite: "http://www.example.com",27externalReferenceId: "abc123xyz567",28messageVolume: "10",29notificationEmail: "support@example.com",30optInImageUrls: [31"https://example.com/images/image1.jpg",32"https://example.com/images/image2.jpg",33],34optInType: "VERBAL",35productionMessageSample: "lorem ipsum",36tollfreePhoneNumberSid: "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",37useCaseCategories: ["TWO_FACTOR_AUTHENTICATION", "MARKETING"],38useCaseSummary:39"This number is used to send out promotional offers and coupons to the customers of John's Coffee Shop",40});4142console.log(tollfreeVerification.sid);43}4445createTollfreeVerification();
Response
1{2"sid": "HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"regulated_item_sid": null,5"customer_profile_sid": null,6"trust_product_sid": null,7"status": "PENDING_REVIEW",8"date_created": "2021-01-27T14:18:35Z",9"date_updated": "2021-01-27T14:18:36Z",10"business_name": "Owl, Inc.",11"business_street_address": "123 Main Street",12"business_street_address2": "Suite 101",13"business_city": "Anytown",14"business_state_province_region": "AA",15"business_postal_code": "11111",16"business_country": "US",17"business_website": "http://www.example.com",18"business_contact_first_name": "firstname",19"business_contact_last_name": "lastname",20"business_contact_email": "email@example.com",21"business_contact_phone": "+1231231234",22"notification_email": "support@example.com",23"use_case_categories": [24"TWO_FACTOR_AUTHENTICATION",25"MARKETING"26],27"use_case_summary": "This number is used to send out promotional offers and coupons to the customers of John's Coffee Shop",28"production_message_sample": "lorem ipsum",29"opt_in_image_urls": [30"https://testbusiness.com/images/image1.jpg",31"https://testbusiness.com/images/image2.jpg"32],33"opt_in_type": "VERBAL",34"message_volume": "10",35"additional_information": "see our privacy policy here www.example.com/privacypolicy",36"tollfree_phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",37"rejection_reason": null,38"error_code": null,39"edit_expiration": null,40"edit_allowed": null,41"rejection_reasons": null,42"resource_links": {},43"url": "https://messaging.twilio.com/v1/Tollfree/Verifications/HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",44"external_reference_id": "abc123xyz567"45}
GET https://messaging.twilio.com/v1/Tollfree/Verifications/{Sid}
A unique string identifying a Tollfree Verification.
^HH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchTollfreeVerification() {11const tollfreeVerification = await client.messaging.v112.tollfreeVerifications("HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.fetch();1415console.log(tollfreeVerification.sid);16}1718fetchTollfreeVerification();
Response
1{2"sid": "HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"customer_profile_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"trust_product_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"regulated_item_sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"date_created": "2021-01-27T14:18:35Z",8"date_updated": "2021-01-27T14:18:36Z",9"business_name": "Owl, Inc.",10"business_street_address": "123 Main Street",11"business_street_address2": "Suite 101",12"business_city": "Anytown",13"business_state_province_region": "AA",14"business_postal_code": "11111",15"business_country": "US",16"business_website": "http://www.company.com",17"business_contact_first_name": "firstname",18"business_contact_last_name": "lastname",19"business_contact_email": "email@company.com",20"business_contact_phone": "+11231231234",21"notification_email": "support@company.com",22"use_case_categories": [23"TWO_FACTOR_AUTHENTICATION",24"MARKETING"25],26"use_case_summary": "This number is used to send out promotional offers and coupons to the customers of John's Coffee Shop",27"production_message_sample": "lorem ipsum",28"opt_in_image_urls": [29"https://testbusiness.com/images/image1.jpg",30"https://testbusiness.com/images/image2.jpg"31],32"opt_in_type": "VERBAL",33"message_volume": "2000",34"additional_information": "see our privacy policy here www.johnscoffeeshop.com/privacypolicy",35"tollfree_phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",36"status": "TWILIO_APPROVED",37"rejection_reason": null,38"error_code": null,39"edit_expiration": null,40"edit_allowed": null,41"rejection_reasons": null,42"resource_links": {43"customer_profile": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",44"trust_product": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",45"channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"46},47"url": "https://messaging.twilio.com/v1/Tollfree/Verifications/HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",48"external_reference_id": "abc123xyz567"49}
GET https://messaging.twilio.com/v1/Tollfree/Verifications
The SID of the Phone Number associated with the Tollfree Verification.
^PN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The compliance status of the Tollfree Verification record.
PENDING_REVIEW
IN_REVIEW
TWILIO_APPROVED
TWILIO_REJECTED
Customer supplied reference id for the Tollfree Verification record.
Whether to include Tollfree Verifications from sub accounts in list response.
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchTollfreeVerification() {11const tollfreeVerification = await client.messaging.v112.tollfreeVerifications("HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.fetch();1415console.log(tollfreeVerification.sid);16}1718fetchTollfreeVerification();
Response
1{2"sid": "HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"customer_profile_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"trust_product_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"regulated_item_sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"date_created": "2021-01-27T14:18:35Z",8"date_updated": "2021-01-27T14:18:36Z",9"business_name": "Owl, Inc.",10"business_street_address": "123 Main Street",11"business_street_address2": "Suite 101",12"business_city": "Anytown",13"business_state_province_region": "AA",14"business_postal_code": "11111",15"business_country": "US",16"business_website": "http://www.company.com",17"business_contact_first_name": "firstname",18"business_contact_last_name": "lastname",19"business_contact_email": "email@company.com",20"business_contact_phone": "+11231231234",21"notification_email": "support@company.com",22"use_case_categories": [23"TWO_FACTOR_AUTHENTICATION",24"MARKETING"25],26"use_case_summary": "This number is used to send out promotional offers and coupons to the customers of John's Coffee Shop",27"production_message_sample": "lorem ipsum",28"opt_in_image_urls": [29"https://testbusiness.com/images/image1.jpg",30"https://testbusiness.com/images/image2.jpg"31],32"opt_in_type": "VERBAL",33"message_volume": "2000",34"additional_information": "see our privacy policy here www.johnscoffeeshop.com/privacypolicy",35"tollfree_phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",36"status": "TWILIO_APPROVED",37"rejection_reason": null,38"error_code": null,39"edit_expiration": null,40"edit_allowed": null,41"rejection_reasons": null,42"resource_links": {43"customer_profile": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",44"trust_product": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",45"channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"46},47"url": "https://messaging.twilio.com/v1/Tollfree/Verifications/HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",48"external_reference_id": "abc123xyz567"49}
POST https://messaging.twilio.com/v1/Tollfree/Verifications/{Sid}
The unique string to identify Tollfree Verification.
^HH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
application/x-www-form-urlencoded
The name of the business or organization using the Tollfree number.
The website of the business or organization using the Tollfree number.
The email address to receive the notification about the verification result. .
The category of the use case for the Tollfree Number. List as many are applicable..
Use this to further explain how messaging is used by the business or organization.
Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
Describe how a user opts-in to text messages.
VERBAL
WEB_FORM
PAPER_FORM
VIA_TEXT
MOBILE_QR_CODE
IMPORT
IMPORT_PLEASE_REPLACE
The address of the business or organization using the Tollfree number.
The address of the business or organization using the Tollfree number.
The city of the business or organization using the Tollfree number.
The state/province/region of the business or organization using the Tollfree number.
The postal code of the business or organization using the Tollfree number.
The country of the business or organization using the Tollfree number.
The first name of the contact for the business or organization using the Tollfree number.
The last name of the contact for the business or organization using the Tollfree number.
The email address of the contact for the business or organization using the Tollfree number.
The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function updateTollfreeVerification() {11const tollfreeVerification = await client.messaging.v112.tollfreeVerifications("HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.update({14additionalInformation:15"See our privacy policy at www.example.com/privacypolicy",16editReason: "Updated the ProductionMessageSample",17messageVolume: "1,000",18optInImageUrls: [19"https://example.com/images/image1.jpg",20"https://example.com/images/image2.jpg",21],22optInType: "VERBAL",23productionMessageSample:24"Get 10% off when you save this coupon: https://bit.ly/owlcoupon",25useCaseCategories: ["TWO_FACTOR_AUTHENTICATION", "MARKETING"],26useCaseSummary:27"This number is used to send out promotional offers and coupons to the customers of Owl, Inc.",28});2930console.log(tollfreeVerification.sid);31}3233updateTollfreeVerification();
Response
1{2"sid": "HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"regulated_item_sid": null,5"customer_profile_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"trust_product_sid": null,7"status": "PENDING_REVIEW",8"date_created": "2021-01-27T14:18:35Z",9"date_updated": "2021-01-27T14:18:36Z",10"business_name": "Owl, Inc.",11"business_street_address": "123 Main Street",12"business_street_address2": "Suite 101",13"business_city": "Anytown",14"business_state_province_region": "AA",15"business_postal_code": "11111",16"business_country": "US",17"business_website": "http://www.company.com",18"business_contact_first_name": "firstname",19"business_contact_last_name": "lastname",20"business_contact_email": "email@company.com",21"business_contact_phone": "+11231231234",22"notification_email": "support@company.com",23"use_case_categories": [24"TWO_FACTOR_AUTHENTICATION",25"MARKETING"26],27"use_case_summary": "This number is used to send out promotional offers and coupons to the customers of Owl, Inc.",28"production_message_sample": "Get 10% off when you save this coupon: https://bit.ly/owlcoupon",29"opt_in_image_urls": [30"https://testbusiness.com/images/image1.jpg",31"https://testbusiness.com/images/image2.jpg"32],33"opt_in_type": "VERBAL",34"message_volume": "1,000",35"additional_information": "See our privacy policy at www.example.com/privacypolicy",36"tollfree_phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",37"rejection_reason": null,38"error_code": null,39"edit_expiration": null,40"edit_allowed": null,41"rejection_reasons": null,42"resource_links": {},43"url": "https://messaging.twilio.com/v1/Tollfree/Verifications/HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",44"external_reference_id": null45}
DELETE https://messaging.twilio.com/v1/Tollfree/Verifications/{Sid}
The unique string to identify Tollfree Verification.
^HH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function deleteTollfreeVerification() {11await client.messaging.v112.tollfreeVerifications("HHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.remove();14}1516deleteTollfreeVerification();