Skip to main content
PATCH
Error

Autorizações

Authorization
string
header
obrigatório

A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange. Only a 401 means it is spent; not_a_member (403) is about the organization named in X-Organization-Id and leaves the token good for the others.

Cabeçalhos

X-Organization-Id
string

The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.

Parâmetros de caminho

id
string<uuid>
obrigatório

The webhook endpoint's id.

Corpo

application/json
url
string<uri>
description
string
subscribed_events
string[]
status
enum<string>
Opções disponíveis:
enabled,
disabled

Resposta

Updated.

id
string<uuid>
url
string<uri>

Where deliveries are POSTed. https:// only.

plane
enum<string>

Which fan-out feeds this endpoint. product is the event catalogue, filtered by subscribed_events. audit is the staff audit trail — every action somebody in the panel performed, with the actor on the body. Set when the endpoint is registered and never afterwards: moving an endpoint between planes would be a way around the permission and the plan that guard the second one.

Opções disponíveis:
product,
audit
description
string
subscribed_events
string[]

Types from the published catalogue. Empty means every deliverable event — a new type then starts arriving without anything being changed here.

status
enum<string>

disabled is either your decision or the auto-disable after sustained failure. A disabled endpoint is queued nothing.

Opções disponíveis:
enabled,
disabled
consecutive_failures
integer

Deliveries that spent every attempt, back to back. Any success resets it.

disabled_at
string<date-time> | null
disabled_reason
string
recent_failures
integer

Deliveries that gave up in the last 24 hours.

created_at
string<date-time>