Webhooks

Delete a webhook subscription

Permanently removes a webhook subscription. Sotion will stop delivering events to this URL immediately. Idempotent from the caller's perspective — a second call on the same id returns 404.

DELETE /webhooks/{webhookId}

Delete a webhook subscription

curl --request DELETE \
  --url 'https://api.sotion.so/api/v1/webhooks/{WEBHOOKID}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'

No Body

Webhook deleted.

Authorizations

  • Authorization string required header

    Per-site API key (prefix: so_...). Each key is scoped to exactly one Sotion site — the site context is determined entirely by the key. No site ID is needed in any URL. Pass as: Authorization: Bearer so_...

Path Parameters

  • webhookId string (uuid) required

    UUID of the webhook subscription. Get webhook IDs from listWebhooks or createWebhook responses.

Response

  • X-RateLimit-Limit integer response header

    Maximum requests allowed in the current window.

  • X-RateLimit-Remaining integer response header

    Requests remaining in the current window.

  • X-RateLimit-Reset integer response header

    Unix timestamp (seconds) when the rate limit window resets.

  • X-Request-Id string (uuid) response header

    Unique request identifier for support and debugging.