Skip to main content

Get DID by SID

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

get/dids/{did_sid}

Sample

A sample GET request to get a DID object, targeted by its secure ID:

curl -X GET \
'https://api.carrierx.com/flexml/v1/dids/d72c0ec3-c21d-4db1-8877-690cb9644fbc' \
-u 'flexml_user_123:qwerty123'

Response

200 status code with a serialized copy of the DID object:

{
"account_sid": "1d4adc32-45d1-4789-9780-928049e2bce1",
"country_code": "USA",
"did_sid": "d72c0ec3-c21d-4db1-8877-690cb9644fbc",
"in_country_format": "(516) 206-5319",
"international_format": "+1 516-206-5319",
"method": "POST",
"phonenumber": "15162065319",
"status_callback_method": "POST",
"status_callback_url": null,
"url": null
}

This request is enabled for Field Filtering.

Path Arguments

ParameterData TypeDescription
did_sid
read only
string

The DID secure ID.