Fetch an outgoing-caller-id belonging to the account used to make the request
An OutgoingCallerId resource represents a single verified number that may be used as a caller ID when making outgoing calls via the REST API and within the TwiML
Fetch an outgoing-caller-id belonging to the account used to make the request
Path parameters
-
The SID of the Account that created the OutgoingCallerId resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the OutgoingCallerId resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^PN[0-9a-fA-F]{32}$
.
GET
/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json
curl \
--request GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json' \
--user "username:password"
Response examples (200)
{
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OutgoingCallerIds/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "Fri, 21 Aug 2009 00:11:24 +0000",
"date_updated": "Fri, 21 Aug 2009 00:11:24 +0000",
"phone_number": "+141586753096",
"friendly_name": "(415) 867-5309"
}