webhook_logs

Cancel webhook delivery

Cancel a delivery (status cancelled, reason manual): no further attempts. From pending, retrying or in_progress; a terminal row is 422. On an in_progress row the attempt in flight may still land as success, which wins over the cancel (result.in_flight_attempt_pending true: read the row again). expected_status is a compare-and-set guard (409 on a mismatch).

Contract:

  • MCP tool cancel_webhook_log, registry package mcp.integrations/webhook_logs, mount integrations.webhooks.
  • Operation action, response envelope action.
  • Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
post/api/webhook-logs/{sid}/cancel

Request

  • Base URL
    https://beta.getsales.io/integrations/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

Webhook log (delivery) sid (wh_lg_...).

Request body

expected_status'pending' | 'in_progress' | 'retrying' | 'success' | 'failed' | 'cancelled'

Optional guard: the cancel only runs when the row still has this status.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

No recorded changes to this operation across all 1 revision of this API.