Webhooks
GEThttps://api.voxo.co/webhooks/{recordId}
Get Webhook By Id
Retrieve active webhooks 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": 23,
"tenantId": 432,
"type": "STARTCALL",
"url": "https://voxo.co",
"username": "fred",
"password": "durst",
"authtoken": "1234"
}
cURL
curl --location -g \
--request GET 'https://api.voxo.com/webhooks/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'
GEThttps://api.voxo.co/webhooks?tenantId={tenantId}
Get Webhooks
Retrieve active webhooks for authorized accounts.Header
Parameters
Path- Name
tenantId*
- Type
- Integer
- Description
1234
- Name
Authorization*
- Type
- String
- Description
Bearer
{AccessToken}
- Name
Content-Type*
- Type
- String
- Description
application/json
Response
[
{
"id": 23,
"tenantId": 432,
"type": "STARTCALL",
"url": "https://voxo.co",
"username": "fred",
"password": "durst",
"authtoken": "1234"
},
{
"id": 24,
"tenantId": 432,
"type": "ENDCALL",
"url": "https://voxo.co",
"username": "fred",
"password": "durst",
"authtoken": "1234"
}
]
cURL
curl --location -g \
--request GET 'https://api.voxo.com/webhooks?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'