Fetch an instance of a Domain
Custom DNS hostnames that can accept SIP traffic
Fetch an instance of a Domain
Path parameters
-
The SID of the Account that created the SipDomain resource to fetch.
-
The Twilio-provided string that uniquely identifies the SipDomain resource to fetch.
GET /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json
curl \
-X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"api_version": "string",
"auth_type": "string",
"byoc_trunk_sid": "string",
"date_created": "string",
"date_updated": "string",
"domain_name": "string",
"emergency_caller_sid": "string",
"emergency_calling_enabled": true,
"friendly_name": "string",
"secure": true,
"sid": "string",
"sip_registration": true,
"subresource_uris": {},
"uri": "https://example.com",
"voice_fallback_method": "HEAD",
"voice_fallback_url": "https://example.com",
"voice_method": "HEAD",
"voice_status_callback_method": "HEAD",
"voice_status_callback_url": "https://example.com",
"voice_url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"api_version": "string",
"auth_type": "string",
"byoc_trunk_sid": "string",
"date_created": "string",
"date_updated": "string",
"domain_name": "string",
"emergency_caller_sid": "string",
"emergency_calling_enabled": true,
"friendly_name": "string",
"secure": true,
"sid": "string",
"sip_registration": true,
"subresource_uris": {},
"uri": "https://example.com",
"voice_fallback_method": "HEAD",
"voice_fallback_url": "https://example.com",
"voice_method": "HEAD",
"voice_status_callback_method": "HEAD",
"voice_status_callback_url": "https://example.com",
"voice_url": "https://example.com"
}