APIDelete Webhook API - Remove Event Endpoint | BotSubscription

Delete Webhook - Remove Event Notification Endpoint

Remove a webhook endpoint from your project to stop receiving event notifications at that URL. This is useful when decommissioning integrations or replacing an endpoint with a new one. Deletion takes effect immediately.

DELETE/v2/projects/{project_id}/integrations/webhooks/{webhook_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

webhook_idstringRequired

The unique identifier of the webhook to delete.

Request
curl -X DELETE "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/integrations/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer YOUR_TOKEN"
Webhook deletedapplication/json
{
  "ok": true,
  "request_id": "11111111-1111-1111-1111-111111111111",
  "method": "DELETE",
  "path": "/v2/projects/YOUR_PROJECT_ID/integrations/webhooks/WEBHOOK_ID",
  "code": 200,
  "message": "Webhook deleted successfully",
  "data": null
}

Last updated: