Skip to main content

Get DID by ID

This request returns the data for a DID, targeted by ID.

get/dids/{id}

Sample Request

A sample GET request to retrieve a DID object, targeted by ID:

curl -X GET \
'https://api.carrierx.com/conference/v1/dids/220' \
-u '[your_user_name]:[your_password]'

Sample Response

200 status code with a serialized copy of the DID object

{
"attributes": [],
"countryCode": "US",
"didGroupId": 219,
"id": 220,
"phoneNumber": "15162065319",
"state": -1
}

This request is enabled for Field Filtering.

Path Arguments

FieldData TypeDescription
id
required
integerThe ID of the specific DID.