curl --request DELETE \
--url https://api.aicaller.io/v1/webhooks/{_id} \
--header 'aicaller-api-key: <api-key>'{
"data": {
"teamId": "363573667364666473667332",
"url": "https://hooks.abc.com/",
"subscribedEvents": [
"phoneCall.completed"
],
"method": "GET",
"_id": "363573667364666473667332",
"createAt": "2023-10-12T09:08:00.387Z",
"updatedAt": "2023-10-12T09:08:00.387Z"
}
}Delete a webhook.
curl --request DELETE \
--url https://api.aicaller.io/v1/webhooks/{_id} \
--header 'aicaller-api-key: <api-key>'{
"data": {
"teamId": "363573667364666473667332",
"url": "https://hooks.abc.com/",
"subscribedEvents": [
"phoneCall.completed"
],
"method": "GET",
"_id": "363573667364666473667332",
"createAt": "2023-10-12T09:08:00.387Z",
"updatedAt": "2023-10-12T09:08:00.387Z"
}
}Webhook deleted
Show child attributes
The ID of the team to which the webhook belongs.
"363573667364666473667332"
"https://hooks.abc.com/"
["phoneCall.completed"]GET, POST "GET"
The unique identifier for the webhook.
"363573667364666473667332"
"2023-10-12T09:08:00.387Z"
"2023-10-12T09:08:00.387Z"