DELETE/v1/webhooks/:id
Delete a webhook
Permanently deletes a webhook and stops all future deliveries to it.
Required scope:
webhooks.manageRate limit: 10 rpsParameters
idstringrequiredThe webhook ID.
Code samples
curl -X DELETE "https://samaprime.com/api/v1/webhooks/smsord_01J8X9AABBCCDD" \ -H "Authorization: Bearer sk_test_..." \ -H "Content-Type: application/json"Response
→ 200{ "data": { "id": "cm_wh_01J8Z9A1BBCCDD", "deleted": true }, "meta": { "request_id": "req_abc123", "timestamp": "2026-08-06T12:00:00Z" }}Errors
| Status | Code |
|---|---|
| 404 | not_foundNo webhook with this ID belongs to this user. |