Get DID Classification by SID
This request returns data for a DID classification, targeted by secure ID.
get | /phonenumber/classifications/{classification_sid} |
Sample
A sample GET request to get a DID classification, targeted by secure ID:
curl -X GET \
'https://api.carrierx.com/core/v2/phonenumber/classifications/17f4d954-d635-4cda-912b-c2a2fa3a6860' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a serialized copy of the DID Classification object:
{
"aging_policy": 86400,
"classification_sid": "17f4d954-d635-4cda-912b-c2a2fa3a6860",
"name": "Default"
}
This request is enabled for Field Filtering.
Required Scopes
To get information about a DID Classification object, the partner must have one of the following scopes enabled:
phonenumber.manage
phonenumber.read
Path Arguments
Parameter | Data Type | Description |
---|---|---|
classification_sid required | string | The DID classification secure ID. |