cURL
curl --request DELETE \ --url https://api.messages.dev/v1/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "wh_abc123" } '
{ "id": "<string>", "deleted": true, "request_id": "<string>" }
Deletes a webhook subscription. The webhook ID is passed in the request body (not in the URL path).
Use an API key as a bearer token: Authorization: Bearer sk_live_...
Authorization: Bearer sk_live_...
Webhook ID (prefixed with wh_)
wh_
"wh_abc123"
Webhook deleted
ID of the deleted resource