Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Service Resource


(warning)

Public Beta

The Service Resource is currently available as a Public Beta product. This means that some features for configuring your Messaging Service via the REST API are not yet implemented, and others may be changed before the product is declared Generally Available. Messaging Service Configuration through the Twilio Console(link takes you to an external page) is Generally Available.

Public Beta products are not covered by a Twilio SLA(link takes you to an external page).

The resources for sending Messages with a Messaging Service are Generally Available.

When sending a message with a Messaging Service, you can improve message performance by enabling the included features.

Developers can associate phone numbers, short codes, and alpha sender IDs to an instance of a Messaging Service. The Service handles all inbound and outbound behaviors for the phone numbers and shortcodes.

Twilio Console

You can manage your Messaging Services through the Twilio Console when logged in.(link takes you to an external page)


Messaging Services Resource

messaging-services-resource page anchor

The Services resource of Messaging represents a set of configurable behavior for sending and receiving Messages.

Subresources

subresources page anchor

The Services resource also has phone numbers, short codes, and alpha sender IDs subresources for managing the phone numbers, short codes, and alpha sender IDs associated with the Service.

All URLs in this documentation use the following base URL:


_10
https://messaging.twilio.com/v1


Resource properties
sidtype: SID<MG>Not PII

The unique string that we created to identify the Service resource.


account_sidtype: SID<AC>Not PII

The SID of the Account(link takes you to an external page) that created the Service resource.


friendly_nametype: stringNot PII

The string that you assigned to describe the resource.


date_createdtype: string<DATE TIME>Not PII

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


date_updatedtype: string<DATE TIME>Not PII

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


inbound_request_urltype: string<URI>Not PII

The URL we call using inbound_method when a message is received by any phone number or short code in the Service. When this property is null, receiving inbound messages is disabled. All messages sent to the Twilio phone number or short code will not be logged and received on the Account. If the use_inbound_webhook_on_number field is enabled then the webhook url defined on the phone number will override the inbound_request_url defined for the Messaging Service.


inbound_methodtype: enum<HTTP METHOD>Not PII

The HTTP method we use to call inbound_request_url. Can be GET or POST.

Possible values:
HEADGETPOSTPATCHPUTDELETE

fallback_urltype: string<URI>Not PII

The URL that we call using fallback_method if an error occurs while retrieving or executing the TwiML from the Inbound Request URL. If the use_inbound_webhook_on_number field is enabled then the webhook url defined on the phone number will override the fallback_url defined for the Messaging Service.


fallback_methodtype: enum<HTTP METHOD>Not PII

The HTTP method we use to call fallback_url. Can be: GET or POST.

Possible values:
HEADGETPOSTPATCHPUTDELETE

status_callbacktype: string<URI>Not PII

The URL we call to pass status updates(link takes you to an external page) about message delivery.


sticky_sendertype: booleanNot PII

Whether to enable Sticky Sender(link takes you to an external page) on the Service instance.


mms_convertertype: booleanNot PII

Whether to enable the MMS Converter(link takes you to an external page) for messages sent through the Service instance.


smart_encodingtype: booleanNot PII

Whether to enable Smart Encoding(link takes you to an external page) for messages sent through the Service instance.


scan_message_contenttype: enum<STRING>Not PII

Reserved.

Possible values:
inheritenabledisable

fallback_to_long_codetype: booleanNot PII

[OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.


area_code_geomatchtype: booleanNot PII

Whether to enable Area Code Geomatch(link takes you to an external page) on the Service Instance.


synchronous_validationtype: booleanNot PII

Reserved.


validity_periodtype: integerNot PII

How long, in seconds, messages sent from the Service are valid. Can be an integer from 1 to 14,400.


urltype: string<URI>Not PII

The absolute URL of the Service resource.


linkstype: object<URI MAP>Not PII

The absolute URLs of related resources.


usecasetype: stringNot PII

A string that describes the scenario in which the Messaging Service will be used. Possible values are notifications, marketing, verification, discussion, poll, undeclared.


us_app_to_person_registeredtype: booleanNot PII

Whether US A2P campaign is registered for this Service.


use_inbound_webhook_on_numbertype: booleanNot PII

A boolean value that indicates either the webhook url configured on the phone number will be used or inbound_request_url/fallback_url url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the inbound_request_url/fallback_url defined for the Messaging Service.


Create a Service resource

create-a-service-resource page anchor
POST https://messaging.twilio.com/v1/Services

Parameters

create-parameters page anchor
Request body parameters
FriendlyNametype: stringNot PII
Required

A descriptive string that you create to describe the resource. It can be up to 64 characters long.


InboundRequestUrltype: string<URI>Not PII

The URL we call using inbound_method when a message is received by any phone number or short code in the Service. When this property is null, receiving inbound messages is disabled. All messages sent to the Twilio phone number or short code will not be logged and received on the Account. If the use_inbound_webhook_on_number field is enabled then the webhook url defined on the phone number will override the inbound_request_url defined for the Messaging Service.


InboundMethodtype: enum<HTTP METHOD>Not PII

The HTTP method we should use to call inbound_request_url. Can be GET or POST and the default is POST.

Possible values:
HEADGETPOSTPATCHPUTDELETE

FallbackUrltype: string<URI>Not PII

The URL that we call using fallback_method if an error occurs while retrieving or executing the TwiML from the Inbound Request URL. If the use_inbound_webhook_on_number field is enabled then the webhook url defined on the phone number will override the fallback_url defined for the Messaging Service.


FallbackMethodtype: enum<HTTP METHOD>Not PII

The HTTP method we should use to call fallback_url. Can be: GET or POST.

Possible values:
HEADGETPOSTPATCHPUTDELETE

StatusCallbacktype: string<URI>Not PII

The URL we should call to pass status updates(link takes you to an external page) about message delivery.


StickySendertype: booleanNot PII

Whether to enable Sticky Sender(link takes you to an external page) on the Service instance.


MmsConvertertype: booleanNot PII

Whether to enable the MMS Converter(link takes you to an external page) for messages sent through the Service instance.


SmartEncodingtype: booleanNot PII

Whether to enable Smart Encoding(link takes you to an external page) for messages sent through the Service instance.


ScanMessageContenttype: enum<STRING>Not PII

Reserved.

Possible values:
inheritenabledisable

FallbackToLongCodetype: booleanNot PII

[OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.


AreaCodeGeomatchtype: booleanNot PII

Whether to enable Area Code Geomatch(link takes you to an external page) on the Service Instance.


ValidityPeriodtype: integerNot PII

How long, in seconds, messages sent from the Service are valid. Can be an integer from 1 to 14,400.


SynchronousValidationtype: booleanNot PII

Reserved.


Usecasetype: stringNot PII

A string that describes the scenario in which the Messaging Service will be used. Possible values are notifications, marketing, verification, discussion, poll, undeclared.


UseInboundWebhookOnNumbertype: booleanNot PII

A boolean value that indicates either the webhook url configured on the phone number will be used or inbound_request_url/fallback_url url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the inbound_request_url/fallback_url defined for the Messaging Service.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.messaging.v1.services
_10
.create({friendlyName: 'friendly_name'})
_10
.then(service => console.log(service.sid));

Output

_33
{
_33
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_33
"sid": "MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_33
"date_created": "2015-07-30T20:12:31Z",
_33
"date_updated": "2015-07-30T20:12:33Z",
_33
"friendly_name": "My Service!",
_33
"inbound_request_url": "https://www.example.com/",
_33
"inbound_method": "POST",
_33
"fallback_url": "https://www.example.com",
_33
"fallback_method": "GET",
_33
"status_callback": "https://www.example.com",
_33
"sticky_sender": true,
_33
"smart_encoding": false,
_33
"mms_converter": true,
_33
"fallback_to_long_code": true,
_33
"scan_message_content": "inherit",
_33
"area_code_geomatch": true,
_33
"validity_period": 600,
_33
"synchronous_validation": true,
_33
"usecase": "marketing",
_33
"us_app_to_person_registered": false,
_33
"use_inbound_webhook_on_number": true,
_33
"links": {
_33
"phone_numbers": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/PhoneNumbers",
_33
"short_codes": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ShortCodes",
_33
"alpha_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AlphaSenders",
_33
"messages": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages",
_33
"us_app_to_person": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p",
_33
"us_app_to_person_usecases": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p/Usecases",
_33
"channel_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ChannelSenders"
_33
},
_33
"url": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_33
}


Fetch a Service resource

fetch-a-service-resource page anchor
GET https://messaging.twilio.com/v1/Services/{Sid}

URI parameters
Sidtype: SID<MG>Not PII
Path Parameter

The SID of the Service resource to fetch.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.messaging.v1.services('MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_10
.fetch()
_10
.then(service => console.log(service.friendlyName));

Output

_33
{
_33
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_33
"sid": "MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_33
"date_created": "2015-07-30T20:12:31Z",
_33
"date_updated": "2015-07-30T20:12:33Z",
_33
"friendly_name": "My Service!",
_33
"inbound_request_url": "https://www.example.com/",
_33
"inbound_method": "POST",
_33
"fallback_url": null,
_33
"fallback_method": "POST",
_33
"status_callback": "https://www.example.com",
_33
"sticky_sender": true,
_33
"mms_converter": true,
_33
"smart_encoding": false,
_33
"fallback_to_long_code": true,
_33
"area_code_geomatch": true,
_33
"validity_period": 600,
_33
"scan_message_content": "inherit",
_33
"synchronous_validation": true,
_33
"usecase": "marketing",
_33
"us_app_to_person_registered": false,
_33
"use_inbound_webhook_on_number": true,
_33
"links": {
_33
"phone_numbers": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/PhoneNumbers",
_33
"short_codes": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ShortCodes",
_33
"alpha_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AlphaSenders",
_33
"messages": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages",
_33
"us_app_to_person": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p",
_33
"us_app_to_person_usecases": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p/Usecases",
_33
"channel_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ChannelSenders"
_33
},
_33
"url": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_33
}


Read multiple Service resources

read-multiple-service-resources page anchor
GET https://messaging.twilio.com/v1/Services

URI parameters
PageSizetype: integerNot PII
Query Parameter

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


Pagetype: integerNot PII
Query Parameter

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


PageTokentype: stringNot PII
Query Parameter

The page token. This is provided by the API.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.messaging.v1.services
_10
.list({limit: 20})
_10
.then(services => services.forEach(s => console.log(s.sid)));

Output

_46
{
_46
"meta": {
_46
"page": 0,
_46
"page_size": 20,
_46
"first_page_url": "https://messaging.twilio.com/v1/Services?PageSize=20&Page=0",
_46
"previous_page_url": "https://messaging.twilio.com/v1/Services?PageSize=20&Page=0",
_46
"next_page_url": "https://messaging.twilio.com/v1/Services?PageSize=20&Page=1",
_46
"key": "services",
_46
"url": "https://messaging.twilio.com/v1/Services?PageSize=20&Page=0"
_46
},
_46
"services": [
_46
{
_46
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_46
"friendly_name": "My Service!",
_46
"sid": "MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_46
"date_created": "2015-07-30T20:12:31Z",
_46
"date_updated": "2015-07-30T20:12:33Z",
_46
"sticky_sender": true,
_46
"mms_converter": true,
_46
"smart_encoding": false,
_46
"fallback_to_long_code": true,
_46
"area_code_geomatch": true,
_46
"validity_period": 600,
_46
"scan_message_content": "inherit",
_46
"synchronous_validation": true,
_46
"inbound_request_url": "https://www.example.com/",
_46
"inbound_method": "POST",
_46
"fallback_url": null,
_46
"fallback_method": "POST",
_46
"status_callback": "https://www.example.com",
_46
"usecase": "marketing",
_46
"us_app_to_person_registered": false,
_46
"use_inbound_webhook_on_number": false,
_46
"links": {
_46
"phone_numbers": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/PhoneNumbers",
_46
"short_codes": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ShortCodes",
_46
"alpha_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AlphaSenders",
_46
"messages": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages",
_46
"us_app_to_person": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p",
_46
"us_app_to_person_usecases": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p/Usecases",
_46
"channel_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ChannelSenders"
_46
},
_46
"url": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_46
}
_46
]
_46
}


Update a Service resource

update-a-service-resource page anchor
POST https://messaging.twilio.com/v1/Services/{Sid}

You may specify one or more of the optional parameters above to update the Service's respective properties. Parameters not specified in your request are not updated.

URI parameters
Sidtype: SID<MG>Not PII
Path Parameter

The SID of the Service resource to update.


Request body parameters
FriendlyNametype: stringNot PII

A descriptive string that you create to describe the resource. It can be up to 64 characters long.


InboundRequestUrltype: string<URI>Not PII

The URL we call using inbound_method when a message is received by any phone number or short code in the Service. When this property is null, receiving inbound messages is disabled. All messages sent to the Twilio phone number or short code will not be logged and received on the Account. If the use_inbound_webhook_on_number field is enabled then the webhook url defined on the phone number will override the inbound_request_url defined for the Messaging Service.


InboundMethodtype: enum<HTTP METHOD>Not PII

The HTTP method we should use to call inbound_request_url. Can be GET or POST and the default is POST.

Possible values:
HEADGETPOSTPATCHPUTDELETE

FallbackUrltype: string<URI>Not PII

The URL that we call using fallback_method if an error occurs while retrieving or executing the TwiML from the Inbound Request URL. If the use_inbound_webhook_on_number field is enabled then the webhook url defined on the phone number will override the fallback_url defined for the Messaging Service.


FallbackMethodtype: enum<HTTP METHOD>Not PII

The HTTP method we should use to call fallback_url. Can be: GET or POST.

Possible values:
HEADGETPOSTPATCHPUTDELETE

StatusCallbacktype: string<URI>Not PII

The URL we should call to pass status updates(link takes you to an external page) about message delivery.


StickySendertype: booleanNot PII

Whether to enable Sticky Sender(link takes you to an external page) on the Service instance.


MmsConvertertype: booleanNot PII

Whether to enable the MMS Converter(link takes you to an external page) for messages sent through the Service instance.


SmartEncodingtype: booleanNot PII

Whether to enable Smart Encoding(link takes you to an external page) for messages sent through the Service instance.


ScanMessageContenttype: enum<STRING>Not PII

Reserved.

Possible values:
inheritenabledisable

FallbackToLongCodetype: booleanNot PII

[OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.


AreaCodeGeomatchtype: booleanNot PII

Whether to enable Area Code Geomatch(link takes you to an external page) on the Service Instance.


ValidityPeriodtype: integerNot PII

How long, in seconds, messages sent from the Service are valid. Can be an integer from 1 to 14,400.


SynchronousValidationtype: booleanNot PII

Reserved.


Usecasetype: stringNot PII

A string that describes the scenario in which the Messaging Service will be used. Possible values are notifications, marketing, verification, discussion, poll, undeclared.


UseInboundWebhookOnNumbertype: booleanNot PII

A boolean value that indicates either the webhook url configured on the phone number will be used or inbound_request_url/fallback_url url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the inbound_request_url/fallback_url defined for the Messaging Service.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.messaging.v1.services('MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_10
.update({friendlyName: 'friendly_name'})
_10
.then(service => console.log(service.friendlyName));

Output

_33
{
_33
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_33
"friendly_name": "My Service!",
_33
"sid": "MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_33
"date_created": "2015-07-30T20:12:31Z",
_33
"date_updated": "2015-07-30T20:12:33Z",
_33
"sticky_sender": false,
_33
"mms_converter": true,
_33
"smart_encoding": false,
_33
"fallback_to_long_code": true,
_33
"scan_message_content": "inherit",
_33
"synchronous_validation": true,
_33
"area_code_geomatch": true,
_33
"validity_period": 600,
_33
"inbound_request_url": "https://www.example.com",
_33
"inbound_method": "POST",
_33
"fallback_url": null,
_33
"fallback_method": "POST",
_33
"status_callback": "https://www.example.com",
_33
"usecase": "marketing",
_33
"us_app_to_person_registered": false,
_33
"use_inbound_webhook_on_number": true,
_33
"links": {
_33
"phone_numbers": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/PhoneNumbers",
_33
"short_codes": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ShortCodes",
_33
"alpha_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/AlphaSenders",
_33
"messages": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages",
_33
"us_app_to_person": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p",
_33
"us_app_to_person_usecases": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Compliance/Usa2p/Usecases",
_33
"channel_senders": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/ChannelSenders"
_33
},
_33
"url": "https://messaging.twilio.com/v1/Services/MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_33
}


Delete a Service resource

delete-a-service-resource page anchor
DELETE https://messaging.twilio.com/v1/Services/{Sid}

When a Service is deleted, all phone numbers and short codes in the Service are returned to your Account.

(warning)

Warning

NOTE: One specific use for Messaging Services is to associate them with A2P Campaigns, which is the new protocol for sending automated SMS messages via 10DLC Senders within the United States. If you are using a Messaging Service for this use case, it is important to understand that once your Campaign has been approved by the A2P ecosystem, you should NOT subsequently delete the associated Messaging Service as this will also delete the Campaign itself, which will immediately de-register any 10DLC senders in that MS and thus halt their ability to message within the U.S., until a new Campaign can be registered using those same 10DLC numbers.
This warning applies ONLY to the US A2P 10DLC use case. It does not apply to Messaging Services used for messaging outsider of the U.S., or to Messaging Services using Toll Free numbers, short codes or WhatsApp senders. To learn more about A2P US 10DLC registration, please see this guide.

Twilio is working on making A2P registration a more straightforward user experience moving forward.

URI parameters
Sidtype: SID<MG>Not PII
Path Parameter

The SID of the Service resource to delete.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.messaging.v1.services('MGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').remove();


Rate this page: