Fetch service
A Messaging Service resource to create, fetch, update, delete or add/remove senders from Messaging Services.
Path parameters
-
The SID of the Service resource to fetch.
GET /v1/Services/{Sid}
curl \
-X GET https://messaging.twilio.com/v1/Services/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"area_code_geomatch": true,
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"fallback_method": "HEAD",
"fallback_to_long_code": true,
"fallback_url": "https://example.com",
"friendly_name": "string",
"inbound_method": "HEAD",
"inbound_request_url": "https://example.com",
"links": {},
"mms_converter": true,
"scan_message_content": "inherit",
"sid": "string",
"smart_encoding": true,
"status_callback": "https://example.com",
"sticky_sender": true,
"synchronous_validation": true,
"url": "https://example.com",
"us_app_to_person_registered": true,
"use_inbound_webhook_on_number": true,
"usecase": "string",
"validity_period": 42
}
Response examples (200)
{
"account_sid": "string",
"area_code_geomatch": true,
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"fallback_method": "HEAD",
"fallback_to_long_code": true,
"fallback_url": "https://example.com",
"friendly_name": "string",
"inbound_method": "HEAD",
"inbound_request_url": "https://example.com",
"links": {},
"mms_converter": true,
"scan_message_content": "inherit",
"sid": "string",
"smart_encoding": true,
"status_callback": "https://example.com",
"sticky_sender": true,
"synchronous_validation": true,
"url": "https://example.com",
"us_app_to_person_registered": true,
"use_inbound_webhook_on_number": true,
"usecase": "string",
"validity_period": 42
}