Custom Destinations
GEThttps://api.voxo.co/customs/{recordId}
Get Custom Destination By Id
Retrieve Custom Destination record 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": 47,
"ctId": 1,
"name": "Slingaling",
"param1": "8552934892",
"param2": "ORIGINAL",
"param3": "",
"param4": "",
"param5": "",
"param6": "",
"param7": "",
"param8": "",
"param9": "",
"param10": "",
"tenantId": 432,
"cu_ct_id": 1,
"customType": {
"id": 1,
"name": "FORWARD"
}
}
cURL
curl --location -g \
--request GET 'https://api.voxo.com/customs/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'
GEThttps://api.voxo.co/customs?tenantId={tenantId}
Get All Custom Destinations
Retrieve Customs for authorized tenant accountsHeader
Parameters
Query- Name
tenantId*
- Type
- Integer
- Description
1234
- Name
Authorization*
- Type
- String
- Description
Bearer
{AccessToken}
- Name
Content-Type*
- Type
- String
- Description
application/json
Response
[
{
"id": 47,
"ctId": 1,
"name": "Slingaling",
"param1": "8552934892",
"param2": "ORIGINAL",
"param3": "",
"param4": "",
"param5": "",
"param6": "",
"param7": "",
"param8": "",
"param9": "",
"param10": "",
"tenantId": 432,
"cu_ct_id": 1,
"customType": {
"id": 1,
"name": "FORWARD"
}
}
]
cURL
curl --location -g \
--request GET 'https://api.voxo.com/customs?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'