Endpoint

DELETE https://sms.phones.inc/v1/webhooks/{webhook_id}

Overview

Delete a webhook. Pending deliveries to it are dropped and no further events are sent.

Path Parameters

webhook_id
string
required
The webhook ID returned at creation or by List Webhooks.

Response

ok
boolean
true on success.
deleted
boolean
true when the webhook was removed.
curl -X DELETE https://sms.phones.inc/v1/webhooks/5e4d3c2b-1a09-8765-4321-0fedcba98765 \
  -H "API-KEY: sk_your_api_key"
{
  "ok": true,
  "deleted": true
}