Skip to main content

DID Object

The DID (Direct Inward Dialing) object represents a phone number rented through CarrierX. DIDs serve as redirect numbers in bindings and dialouts, allowing calls to be forwarded or connected through CarrierX system.

Each DID object includes its secure ID, associated account, and formatted representations of the number in various display standards, including E.164, international, and national formats.

DID Object Attributes

These fields and values make up the JSON object that gets returned with successful requests.

AttributeData TypeDescription
account_sid
read only
stringThe secure ID of the account to which the DID belongs.
country_code
read only
stringThe ISO 3166-1 alpha-3 code of the DID.
did_sid
read only
stringThe secure ID of the DID.
in_country_format
read only
stringThe DID in a national format.
international_format
read only
stringThe DID in an international format.
phonenumber
read only
stringThe phone number for the DID in the E.164 format without the + prefix.

Sample DID Object

{
"account_sid": "13e156f7-0d21-4ba6-9e32-c56dc2c6098f",
"country_code": "USA",
"did_sid": "5dbed1ba-b7e7-4337-9d9c-36ef03ac2805",
"in_country_format": "(516) 206-5337",
"international_format": "+1 516-206-5337",
"phonenumber": "15162065337"
}