A Messaging Service resource to add, fetch or remove phone numbers from a Messaging Service.
Path parameters
-
The SID of the Service to fetch the resource from.
Minimum length is
34, maximum length is34. Format should match the following pattern:^MG[0-9a-fA-F]{32}$. -
The SID of the PhoneNumber resource to fetch.
GET
/v1/Services/{ServiceSid}/PhoneNumbers/{Sid}
curl \
--request GET 'https://messaging.twilio.com/v1/Services/{ServiceSid}/PhoneNumbers/{Sid}' \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"capabilities": [
"string"
],
"country_code": "string",
"date_created": "2026-05-04T09:42:00Z",
"date_updated": "2026-05-04T09:42:00Z",
"phone_number": "string",
"service_sid": "string",
"sid": "string",
"url": "https://example.com"
}