Phone Numbers (DID)
GEThttps://api.voxo.co/dids/{recordId}
Get Phone Number By Id
Retrieve phone number (DID) by IdHeader
Parameters
Path- Name
recordId*
- Type
- Integer
- Description
1234
- Name
Authorization*
- Type
- String
- Description
Bearer
{AccessToken}
- Name
Content-Type*
- Type
- String
- Description
application/json
Response
{
"id": 6283,
"tenantId": 432,
"number": "6012028038",
"namePrefix": "",
"branchId": null,
"diCommentName": "Grease Collector",
"allowEmergency": "on",
"branch": "",
"tenantName": "The White House",
"useStatus": "Available"
}
cURL
curl --location -g \
--request GET 'https://api.voxo.com/dids/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'
GEThttps://api.voxo.co/dids?tenantId={tenantId}
Get All Phone Numbers
Retrieve phone numbers (DIDs) for authorized accountsHeader
Parameters
Query- Name
tenantId*
- Type
- Integer
- Description
12345
- Name
Authorization*
- Type
- String
- Description
Bearer
{AccessToken}
- Name
Content-Type*
- Type
- String
- Description
application/json
Response
[
{
"id": 6283,
"tenantId": 432,
"number": "6012028038",
"namePrefix": "",
"branchId": null,
"diCommentName": "Grease Collector",
"allowEmergency": "on",
"branch": "",
"tenantName": "The White House",
"useStatus": "Available"
}
]
cURL
curl --location -g \
--request GET 'https://api.voxo.com/dids?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'