webhook_logs

Retry webhook delivery

Re-arm one delivery by hand: status back to pending, scheduled_at now, cancel_reason cleared; retry_count stays (it counts executed attempts) and the original envelope goes to the original URL. Refused on an in_progress row (409: cancel or wait), on a cancelled one (that was a decision), and while the parent is deleted or off (422). expected_status is a compare-and-set guard: 409 invalid_transition when the row moved since it was read. Re-delivers to the integrator.

Contract:

  • MCP tool retry_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}/retry

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 retry 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.