Skip to content

API reference

Delete a webhook endpoint

DELETE /webhook_endpoints/{id}

The endpoint and its delivery history go. Events stay in GET /events. Needs webhooks:write.

Name In Type Required Notes
id path string (uuid) yes
Terminal window
curl -X DELETE 'https://v2-api.callview.ai/api/v1/external/webhook_endpoints/3f6a9c2e-1b7d-4e5f-8a90-1c2d3e4f5a6b' \
-u "$CALLVIEW_KEY_ID:$CALLVIEW_SECRET"

200 Deleted

{
"data": {
"id": "string",
"object": "string",
"deleted": true,
"livemode": true
}
}
Status Codes
400 invalid_request
401 authentication_failed
403 permission_denied
404 not_found
429 rate_limited, too_many_concurrent_requests
500 internal_error

Part of Webhook endpoints. Every example sends your key ID and secret as CALLVIEW_KEY_ID and CALLVIEW_SECRET (see Keys and authentication).