Skip to main content
DELETE
/
v1
/
webhooks
Delete webhook
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>"
}

Authorizations

Authorization
string
header
required

Use an API key as a bearer token: Authorization: Bearer sk_live_...

Body

application/json
id
string
required

Webhook ID (prefixed with wh_)

Example:

"wh_abc123"

Response

Webhook deleted

id
string

ID of the deleted resource

deleted
boolean
request_id
string