Get DID by SID
This request returns a DID, targeted by its secure ID.
get | /dids/{did_sid} |
Sample
A sample GET request to retrieve a did, targeted by its secure ID:
curl -X GET \
'https://api.carrierx.com/mediator/v1/dids/5dbed1ba-b7e7-4337-9d9c-36ef03ac2805' \
-u 'mediator_user_123:qwerty123'
Response
200
status code with a serialized copy of the DID object:
{
"body": {
"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"
},
"status": 200
}
This request is enabled for Field Filtering.
Path Arguments
Parameter | Data Type | Description |
---|---|---|
did_sid required | string | The secure ID of the DID. |