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>"
}

Documentation Index

Fetch the complete documentation index at: https://messages.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Each key has a set of scopes that gate which endpoints it can call: messages:read, messages:write, chats:read, lines:read, reactions:read, reactions:write, typing:read, typing:write, receipts:read, receipts:write, webhooks:read, webhooks:write, outbox:read, files:read, files:write. Keys can also be restricted to a subset of lines.

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