Actions

Call the updateWebhookEndpoint MCP tool

Edit a webhook endpoint OR run one action on it (never both in the same call). Field-edit mode: pass any of url, events, campaign_filters, is_active to patch them (at least one required); re-enabling with is_active:true clears any auto-disable reason and resets the failure streak. Action mode: pass action instead of those fields. "rotate_secret" is refused from this surface (it would invalidate the live secret without showing the new one): rotate in Settings > Developer > Webhooks, where the new value is shown once; the REST API rotates directly. "test" sends a ping event to prove the endpoint is reachable. "redeliver" retries one past delivery (delivery_id from getWebhookEndpoints view:"deliveries"; only failed or dead deliveries can be retried). To permanently remove an endpoint use deleteWebhookEndpoint.

Called through the Actions bridge: the response is that tool's own result, wrapped as { data: <tool result> } under HTTP 200. Billing, daily-cap, and confirm-step outcomes are embedded INSIDE data, never remapped to an HTTP status (see the templated /api/v1/actions/{toolName} operation above for the full protocol, and x-mcp-actions for this tool's machine-readable scope/cap/confirm_behavior fields). Authentication, request-shape, and optional idempotency-protocol failures still use their documented non-200 statuses.

post/api/v1/actions/updateWebhookEndpoint

Request

  • Base URL: https://app.reachium.io
  • URL: https://app.reachium.io/api/v1/actions/updateWebhookEndpoint
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Optional caller-generated key (8-200 characters: letters, digits, dot, underscore, colon, or hyphen). A final tool result is replayed for the same key and body. An ambiguous result remains 409 under that key; reconcile external state before using a new key. Reuse with a different body returns 422.

Request body

endpoint_idstring uuid required

The endpoint to edit (from getWebhookEndpoints).

urlstring uri

New https url. Field-edit mode only.

eventsstring[]

Replaces the full event subscription list. Field-edit mode only.

campaign_filtersstring[]

Replaces the campaign filter list (must be campaigns already in this workspace). Pass an empty array or omit to receive events for every campaign. Field-edit mode only.

is_activeboolean

Enable or disable the endpoint. Field-edit mode only.

action'rotate_secret' | 'test' | 'redeliver'

Run one action instead of editing fields.

delivery_idstring uuid

Required only when action is "redeliver" (from getWebhookEndpoints view:"deliveries").

Response

The result of calling this tool.

dataunknown required
errorunknown required

Changes

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