Skip to contentSkip to navigationSkip to topbar
On this page

A2P 10DLC - UsAppToPerson Resource


(warning)

Warning

This API Reference page is meant to supplement the ISV API Onboarding Guides. Do not attempt to use this API Resource without following the appropriate guide, or you may incur delays in registration and unintended fees.

The UsAppToPerson resource represents an A2P 10DLC Campaign. This resource contains information about the Campaign such as message contents, opt-in and opt-out behavior, and the purpose of the messages.

This resource is part of the A2P 10DLC registration process and is intended only for use by Independent Software Vendors (ISVs).

Not an ISV? Check out the Standard and Low-Volume Brand Onboarding Guide or the Sole Proprietor Brand Onboarding Guide.


Usa2p Properties

usa2p-properties page anchor
Property nameTypeRequiredDescriptionChild properties
sidSID<QE>

Optional

Not PII

The unique string that identifies a US A2P Compliance resource QE2c6890da8086d771620e9b13fadeba0b.

Pattern: ^QE[0-9a-fA-F]{32}$Min length: 34Max length: 34

account_sidSID<AC>

Optional

The SID of the Account that the Campaign belongs to.

Pattern: ^AC[0-9a-fA-F]{32}$Min length: 34Max length: 34

brand_registration_sidSID<BN>

Optional

The unique string to identify the A2P brand.

Pattern: ^BN[0-9a-fA-F]{32}$Min length: 34Max length: 34

messaging_service_sidSID<MG>

Optional

The SID of the Messaging Service that the resource is associated with.

Pattern: ^MG[0-9a-fA-F]{32}$Min length: 34Max length: 34

descriptionstring

Optional

A short description of what this SMS campaign does. Min length: 40 characters. Max length: 4096 characters.


message_samplesarray[string]

Optional

An array of sample message strings, min two and max five. Min length for each sample: 20 chars. Max length for each sample: 1024 chars.


us_app_to_person_usecasestring

Optional

A2P Campaign Use Case. Examples: [ 2FA, EMERGENCY, MARKETING, SOLE_PROPRIETOR...]. SOLE_PROPRIETOR campaign use cases can only be created by SOLE_PROPRIETOR Brands, and there can only be one SOLE_PROPRIETOR campaign created per SOLE_PROPRIETOR Brand.


has_embedded_linksboolean

Optional

Indicate that this SMS campaign will send messages that contain links.


has_embedded_phoneboolean

Optional

Indicates that this SMS campaign will send messages that contain phone numbers.


subscriber_opt_inboolean

Optional

A boolean that specifies whether campaign has Subscriber Optin or not.


age_gatedboolean

Optional

A boolean that specifies whether campaign is age gated or not.


direct_lendingboolean

Optional

A boolean that specifies whether campaign allows direct lending or not.


campaign_statusstring

Optional

Campaign status. Examples: IN_PROGRESS, VERIFIED, FAILED.


campaign_idstring

Optional

The Campaign Registry (TCR) Campaign ID.


is_externally_registeredboolean

Optional

Indicates whether the campaign was registered externally or not.


rate_limitsobject

Optional

Rate limit and/or classification set by each carrier, Ex. AT&T or T-Mobile.


message_flowstring

Optional

Details around how a consumer opts-in to their campaign, therefore giving consent to receive their messages. If multiple opt-in methods can be used for the same campaign, they must all be listed. 40 character minimum. 2048 character maximum.


opt_in_messagestring

Optional

If end users can text in a keyword to start receiving messages from this campaign, the auto-reply messages sent to the end users must be provided. The opt-in response should include the Brand name, confirmation of opt-in enrollment to a recurring message campaign, how to get help, and clear description of how to opt-out. This field is required if end users can text in a keyword to start receiving messages from this campaign. 20 character minimum. 320 character maximum.


opt_out_messagestring

Optional

Upon receiving the opt-out keywords from the end users, Twilio customers are expected to send back an auto-generated response, which must provide acknowledgment of the opt-out request and confirmation that no further messages will be sent. It is also recommended that these opt-out messages include the brand name. This field is required if managing opt out keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). 20 character minimum. 320 character maximum.


help_messagestring

Optional

When customers receive the help keywords from their end users, Twilio customers are expected to send back an auto-generated response; this may include the brand name and additional support contact information. This field is required if managing help keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). 20 character minimum. 320 character maximum.


opt_in_keywordsarray[string]

Optional

If end users can text in a keyword to start receiving messages from this campaign, those keywords must be provided. This field is required if end users can text in a keyword to start receiving messages from this campaign. Values must be alphanumeric. 255 character maximum.


opt_out_keywordsarray[string]

Optional

End users should be able to text in a keyword to stop receiving messages from this campaign. Those keywords must be provided. This field is required if managing opt out keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). Values must be alphanumeric. 255 character maximum.


help_keywordsarray[string]

Optional

End users should be able to text in a keyword to receive help. Those keywords must be provided as part of the campaign registration request. This field is required if managing help keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). Values must be alphanumeric. 255 character maximum.


date_updatedstring<date-time>

Optional

The date and time in GMT when the resource was last updated specified in ISO 8601(link takes you to an external page) format.


urlstring<uri>

Optional

The absolute URL of the US App to Person resource.


mockboolean

Optional

A boolean that specifies whether campaign is a mock or not. Mock campaigns will be automatically created if using a mock brand. Mock campaigns should only be used for testing purposes.


errorsarray

Optional

Details indicating why a campaign registration failed. These errors can indicate one or more fields that were incorrect or did not meet review requirements.


Create a UsAppToPerson resource

create-a-usapptoperson-resource page anchor
POST https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/Compliance/Usa2p

This request creates a UsAppToPerson resource, which represents an A2P 10DLC Campaign. Creating this resource submits the Campaign for review and incurs fees.

Learn more about the formats and contents of each parameter in the Gather the Required Business Information doc.

Path parameters

path-parameters page anchor
Property nameTypeRequiredPIIDescription
MessagingServiceSidSID<MG>required

The SID of the Messaging Service to create the resources from.

Pattern: ^MG[0-9a-fA-F]{32}$Min length: 34Max length: 34
Encoding type:application/x-www-form-urlencoded
SchemaExample
Property nameTypeRequiredDescriptionChild properties
BrandRegistrationSidSID<BN>required

A2P Brand Registration SID

Pattern: ^BN[0-9a-fA-F]{32}$Min length: 34Max length: 34

Descriptionstringrequired

A short description of what this SMS campaign does. Min length: 40 characters. Max length: 4096 characters.


MessageFlowstringrequired

Required for all Campaigns. Details around how a consumer opts-in to their campaign, therefore giving consent to receive their messages. If multiple opt-in methods can be used for the same campaign, they must all be listed. 40 character minimum. 2048 character maximum.


MessageSamplesarray[string]required

An array of sample message strings, min two and max five. Min length for each sample: 20 chars. Max length for each sample: 1024 chars.


UsAppToPersonUsecasestringrequired

A2P Campaign Use Case. Examples: [ 2FA, EMERGENCY, MARKETING..]


HasEmbeddedLinksbooleanrequired

Indicates that this SMS campaign will send messages that contain links.


HasEmbeddedPhonebooleanrequired

Indicates that this SMS campaign will send messages that contain phone numbers.


OptInMessagestring

Optional

If end users can text in a keyword to start receiving messages from this campaign, the auto-reply messages sent to the end users must be provided. The opt-in response should include the Brand name, confirmation of opt-in enrollment to a recurring message campaign, how to get help, and clear description of how to opt-out. This field is required if end users can text in a keyword to start receiving messages from this campaign. 20 character minimum. 320 character maximum.


OptOutMessagestring

Optional

Upon receiving the opt-out keywords from the end users, Twilio customers are expected to send back an auto-generated response, which must provide acknowledgment of the opt-out request and confirmation that no further messages will be sent. It is also recommended that these opt-out messages include the brand name. This field is required if managing opt out keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). 20 character minimum. 320 character maximum.


HelpMessagestring

Optional

When customers receive the help keywords from their end users, Twilio customers are expected to send back an auto-generated response; this may include the brand name and additional support contact information. This field is required if managing help keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). 20 character minimum. 320 character maximum.


OptInKeywordsarray[string]

Optional

If end users can text in a keyword to start receiving messages from this campaign, those keywords must be provided. This field is required if end users can text in a keyword to start receiving messages from this campaign. Values must be alphanumeric. 255 character maximum.


OptOutKeywordsarray[string]

Optional

End users should be able to text in a keyword to stop receiving messages from this campaign. Those keywords must be provided. This field is required if managing opt out keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). Values must be alphanumeric. 255 character maximum.


HelpKeywordsarray[string]

Optional

End users should be able to text in a keyword to receive help. Those keywords must be provided as part of the campaign registration request. This field is required if managing help keywords yourself (i.e. not using Twilio's Default or Advanced Opt Out features). Values must be alphanumeric. 255 character maximum.


SubscriberOptInboolean

Optional

A boolean that specifies whether campaign has Subscriber Optin or not.


AgeGatedboolean

Optional

A boolean that specifies whether campaign is age gated or not.


DirectLendingboolean

Optional

A boolean that specifies whether campaign allows direct lending or not.

(information)

Info

If you use Twilio's default opt-out or advanced opt-out(link takes you to an external page), you do not need to submit opt-out and help keywords and messages when creating a Campaign. Twilio will automatically complete those fields for you with the default or your advanced opt-out and help messaging.

If you manage opt-out and help yourself, you must pass the opt-out and help parameters when creating a Campaign.

Create a UsAppToPerson resourceLink to code sample: Create a UsAppToPerson resource
1
// Download the helper library from https://www.twilio.com/docs/node/install
2
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
3
4
// Find your Account SID and Auth Token at twilio.com/console
5
// and set the environment variables. See http://twil.io/secure
6
const accountSid = process.env.TWILIO_ACCOUNT_SID;
7
const authToken = process.env.TWILIO_AUTH_TOKEN;
8
const client = twilio(accountSid, authToken);
9
10
async function createUsAppToPerson() {
11
const usAppToPerson = await client.messaging.v1
12
.services("MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
13
.usAppToPerson.create({
14
brandRegistrationSid: "BNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
15
description: "Description",
16
hasEmbeddedLinks: false,
17
hasEmbeddedPhone: false,
18
messageFlow:
19
"End users opt-in by visiting www.example.com and adding their phone number. They then check a box agreeing to receive text messages from Example Brand. Additionally, end users can also opt-in by texting START to (111) 222-3333 to opt in. Term and Conditions at www.example.com/tc. Privacy Policy at www.example.com/privacy",
20
messageSamples: [
21
"EXPRESS: Denim Days Event is ON. Reply STOP to unsubscribe.",
22
"LAST CHANCE: Book your next flight for just 1 (ONE) EUR",
23
],
24
usAppToPersonUsecase: "UsAppToPersonUsecase",
25
});
26
27
console.log(usAppToPerson.sid);
28
}
29
30
createUsAppToPerson();

Output

1
{
2
"sid": "QE2c6890da8086d771620e9b13fadeba0b",
3
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
"brand_registration_sid": "BNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
6
"description": "Description",
7
"message_samples": [
8
"EXPRESS: Denim Days Event is ON",
9
"LAST CHANCE: Book your next flight for just 1 (ONE) EUR"
10
],
11
"us_app_to_person_usecase": "UsAppToPersonUsecase",
12
"has_embedded_links": false,
13
"has_embedded_phone": false,
14
"subscriber_opt_in": false,
15
"age_gated": false,
16
"direct_lending": false,
17
"campaign_status": "PENDING",
18
"campaign_id": "CFOOBAR",
19
"is_externally_registered": false,
20
"rate_limits": {
21
"att": {
22
"mps": 600,
23
"msg_class": "A"
24
},
25
"tmobile": {
26
"brand_tier": "TOP"
27
}
28
},
29
"message_flow": "End users opt-in by visiting www.example.com and adding their phone number. They then check a box agreeing to receive text messages from Example Brand. Additionally, end users can also opt-in by texting START to (111) 222-3333 to opt in. Term and Conditions at www.example.com/tc. Privacy Policy at www.example.com/privacy",
30
"opt_in_message": "Acme Corporation: You are now opted-in. For help, reply HELP. To opt-out, reply STOP",
31
"opt_out_message": "You have successfully been unsubscribed from Acme Corporation. You will not receive any more messages from this number.",
32
"help_message": "Acme Corporation: Please visit www.example.com to get support. To opt-out, reply STOP.",
33
"opt_in_keywords": [
34
"START"
35
],
36
"opt_out_keywords": [
37
"STOP"
38
],
39
"help_keywords": [
40
"HELP"
41
],
42
"date_created": "2021-02-18T14:48:52Z",
43
"date_updated": "2021-02-18T14:48:52Z",
44
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Compliance/Usa2p/QE2c6890da8086d771620e9b13fadeba0b",
45
"mock": false,
46
"errors": []
47
}

Fetch a UsAppToPerson resource

fetch-a-usapptoperson-resource page anchor
GET https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}

This request returns a UsAppToPerson resource. The UsAppToPerson resource represents an A2P 10DLC Campaign.

The value of Sid is always the US A2P Compliance resource identifier: QE2c6890da8086d771620e9b13fadeba0b.

Property nameTypeRequiredPIIDescription
MessagingServiceSidSID<MG>required

The SID of the Messaging Service to fetch the resource from.

Pattern: ^MG[0-9a-fA-F]{32}$Min length: 34Max length: 34

SidSID<QE>required

The SID of the US A2P Compliance resource to fetch QE2c6890da8086d771620e9b13fadeba0b.

Pattern: ^QE[0-9a-fA-F]{32}$Min length: 34Max length: 34
1
// Download the helper library from https://www.twilio.com/docs/node/install
2
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
3
4
// Find your Account SID and Auth Token at twilio.com/console
5
// and set the environment variables. See http://twil.io/secure
6
const accountSid = process.env.TWILIO_ACCOUNT_SID;
7
const authToken = process.env.TWILIO_AUTH_TOKEN;
8
const client = twilio(accountSid, authToken);
9
10
async function fetchUsAppToPerson() {
11
const usAppToPerson = await client.messaging.v1
12
.services("MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
13
.usAppToPerson("QEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
14
.fetch();
15
16
console.log(usAppToPerson.sid);
17
}
18
19
fetchUsAppToPerson();

Output

1
{
2
"sid": "QEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
3
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
"brand_registration_sid": "BNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
6
"description": "Send marketing messages about sales to opted in customers.",
7
"message_samples": [
8
"EXPRESS: Denim Days Event is ON",
9
"LAST CHANCE: Book your next flight for just 1 (ONE) EUR"
10
],
11
"us_app_to_person_usecase": "MARKETING",
12
"has_embedded_links": true,
13
"has_embedded_phone": false,
14
"subscriber_opt_in": true,
15
"age_gated": false,
16
"direct_lending": false,
17
"campaign_status": "PENDING",
18
"campaign_id": "CFOOBAR",
19
"is_externally_registered": false,
20
"rate_limits": {
21
"att": {
22
"mps": 600,
23
"msg_class": "A"
24
},
25
"tmobile": {
26
"brand_tier": "TOP"
27
}
28
},
29
"message_flow": "End users opt-in by visiting www.example.com and adding their phone number. They then check a box agreeing to receive text messages from Example Brand. Additionally, end users can also opt-in by texting START to (111) 222-3333 to opt in.",
30
"opt_in_message": "Acme Corporation: You are now opted-in. For help, reply HELP. To opt-out, reply STOP",
31
"opt_out_message": "You have successfully been unsubscribed from Acme Corporation. You will not receive any more messages from this number.",
32
"help_message": "Acme Corporation: Please visit www.example.com to get support. To opt-out, reply STOP.",
33
"opt_in_keywords": [
34
"START"
35
],
36
"opt_out_keywords": [
37
"STOP"
38
],
39
"help_keywords": [
40
"HELP"
41
],
42
"date_created": "2021-02-18T14:48:52Z",
43
"date_updated": "2021-02-18T14:48:52Z",
44
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Compliance/Usa2p/QE2c6890da8086d771620e9b13fadeba0b",
45
"mock": false,
46
"errors": []
47
}

You can use this request to check the campaign_status of the Campaign represented by this UsAppToPerson resource. Possible statuses are listed below:

  • PENDING - The Campaign has not yet been viewed by TCR.
  • IN_PROGRESS - TCR has begun the review process for the Campaign.
  • FAILED - The Campaign has failed the verification process.
  • VERIFIED - TCR has approved the Campaign.

If campaign_status is FAILED, the errors property of the UsAppToPerson resource is populated with a list of reasons why the Campaign was not approved. See the Troubleshooting Campaigns guide for more information.


Read all UsAppToPerson resources associated with a Messaging Service

read-all-usapptoperson-resources-associated-with-a-messaging-service page anchor
GET https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/Compliance/Usa2p

This request retrieves all UsAppToPerson resources associated with a specific Messaging Service.

Property nameTypeRequiredPIIDescription
MessagingServiceSidSID<MG>required

The SID of the Messaging Service to fetch the resource from.

Pattern: ^MG[0-9a-fA-F]{32}$Min length: 34Max length: 34
Property nameTypeRequiredPIIDescription
PageSizeinteger

Optional

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Minimum: 1Maximum: 1000

Pageinteger

Optional

The page index. This value is simply for client state.

Minimum: 0

PageTokenstring

Optional

The page token. This is provided by the API.

List all UsAppToPerson resources associated with a Messaging ServiceLink to code sample: List all UsAppToPerson resources associated with a Messaging Service
1
// Download the helper library from https://www.twilio.com/docs/node/install
2
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
3
4
// Find your Account SID and Auth Token at twilio.com/console
5
// and set the environment variables. See http://twil.io/secure
6
const accountSid = process.env.TWILIO_ACCOUNT_SID;
7
const authToken = process.env.TWILIO_AUTH_TOKEN;
8
const client = twilio(accountSid, authToken);
9
10
async function listUsAppToPerson() {
11
const usAppToPeople = await client.messaging.v1
12
.services("MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
13
.usAppToPerson.list({ limit: 20 });
14
15
usAppToPeople.forEach((u) => console.log(u.sid));
16
}
17
18
listUsAppToPerson();

Output

1
{
2
"compliance": [
3
{
4
"sid": "QE2c6890da8086d771620e9b13fadeba0b",
5
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
6
"brand_registration_sid": "BNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8
"description": "Send marketing messages about sales to opted in customers.",
9
"message_samples": [
10
"EXPRESS: Denim Days Event is ON",
11
"LAST CHANCE: Book your next flight for just 1 (ONE) EUR"
12
],
13
"us_app_to_person_usecase": "MARKETING",
14
"has_embedded_links": true,
15
"has_embedded_phone": false,
16
"subscriber_opt_in": true,
17
"age_gated": false,
18
"direct_lending": false,
19
"campaign_status": "PENDING",
20
"campaign_id": "CFOOBAR",
21
"is_externally_registered": false,
22
"rate_limits": {
23
"att": {
24
"mps": 600,
25
"msg_class": "A"
26
},
27
"tmobile": {
28
"brand_tier": "TOP"
29
}
30
},
31
"message_flow": "End users opt-in by visiting www.example.com and adding their phone number. They then check a box agreeing to receive text messages from Example Brand. Additionally, end users can also opt-in by texting START to (111) 222-3333 to opt in.",
32
"opt_in_message": "Acme Corporation: You are now opted-in. For help, reply HELP. To opt-out, reply STOP",
33
"opt_out_message": "You have successfully been unsubscribed from Acme Corporation. You will not receive any more messages from this number.",
34
"help_message": "Acme Corporation: Please visit www.example.com to get support. To opt-out, reply STOP.",
35
"opt_in_keywords": [
36
"START"
37
],
38
"opt_out_keywords": [
39
"STOP"
40
],
41
"help_keywords": [
42
"HELP"
43
],
44
"date_created": "2021-02-18T14:48:52Z",
45
"date_updated": "2021-02-18T14:48:52Z",
46
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Compliance/Usa2p/QE2c6890da8086d771620e9b13fadeba0b",
47
"mock": false,
48
"errors": []
49
}
50
],
51
"meta": {
52
"page": 0,
53
"page_size": 20,
54
"first_page_url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Compliance/Usa2p?PageSize=20&Page=0",
55
"previous_page_url": null,
56
"next_page_url": null,
57
"url": "https://messaging.twilio.com/v1/Services/MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Compliance/Usa2p?PageSize=20&Page=0",
58
"key": "compliance"
59
}
60
}

Delete a UsAppToPerson resource

delete-a-usapptoperson-resource page anchor
DELETE https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}

This request deletes a UsAppToPerson resource.

(error)

Danger

Deleting an approved UsAppToPerson resource blocks all A2P 10DLC messaging from the Messaging Service.

You must create a new UsAppToPerson resource and wait for the associated Campaign to be approved by TCR in order to send A2P 10DLC messages from the Messaging Service again. This can take several days.

Property nameTypeRequiredPIIDescription
MessagingServiceSidSID<MG>required

The SID of the Messaging Service to delete the resource from.

Pattern: ^MG[0-9a-fA-F]{32}$Min length: 34Max length: 34

SidSID<QE>required

The SID of the US A2P Compliance resource to delete QE2c6890da8086d771620e9b13fadeba0b.

Pattern: ^QE[0-9a-fA-F]{32}$Min length: 34Max length: 34

The value of Sid is always the US A2P Compliance resource identifier: QE2c6890da8086d771620e9b13fadeba0b.

1
// Download the helper library from https://www.twilio.com/docs/node/install
2
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
3
4
// Find your Account SID and Auth Token at twilio.com/console
5
// and set the environment variables. See http://twil.io/secure
6
const accountSid = process.env.TWILIO_ACCOUNT_SID;
7
const authToken = process.env.TWILIO_AUTH_TOKEN;
8
const client = twilio(accountSid, authToken);
9
10
async function deleteUsAppToPerson() {
11
await client.messaging.v1
12
.services("MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
13
.usAppToPerson("QEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
14
.remove();
15
}
16
17
deleteUsAppToPerson();

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.