Get DID Classifications
This request returns a list of DID classifications.
get | /phonenumber/classifications |
Sample
A sample GET request to get DID classifications matching the criteria in the request URL:
curl -X GET \
'https://api.carrierx.com/core/v2/phonenumber/classifications' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a list of DID Classification objects:
{
"count": 1,
"has_more": false,
"items": [
{
"aging_policy": 86400,
"classification_sid": "17f4d954-d635-4cda-912b-c2a2fa3a6860",
"name": "Default"
}
],
"limit": null,
"offset": null,
"pagination": {},
"total": 1
}
This request is enabled for Pagination, Result Filtering, and Field Filtering.
Required Scopes
To get information about DID Classification objects, the partner must have one of the following scopes enabled:
phonenumber.manage
phonenumber.read