Webhooks

Update a webhook

Changes the url, events and/or status of a webhook the caller created. Setting status active resets failureCount to 0, which is how a webhook disabled after 10 counted failures is switched back on.

Auth: API key (Bearer flyn_sk_live_...), or the signed-in dashboard session cookie when no API key header is sent. MCP OAuth access tokens are not accepted here and get 401.

Plan: every plan. Only the creator can edit, whatever their team role.

Rate limit: 10 requests per 60 s per client IP, fixed window, in memory per server instance, checked before authentication.

A webhook that does not exist, was created by someone else, or has a malformed id returns 500, not 404. An invalid JSON body also returns 500.

patch/api/webhooks/{id}

Request

  • Base URL: https://www.flyn.to
  • URL: https://www.flyn.to/api/webhooks/{id}
  • Auth: HTTP bearer

Request body

urlstring

http or https, not a private address.

eventsWebhookEventName[]

Replaces the subscription. Every name must be known, else 400 "Invalid events: ...".

status'active' | 'inactive'

active also resets failureCount to 0.

Response

Updated. API-key callers see the secret as its first 8 characters followed by "...".

Changes

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