Skip to main content
PATCH
Update a webhook endpoint

Autorizações

Authorization
string
header
obrigatório

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Cabeçalhos

business-id
string | null
obrigatório

UUID of the business the request is scoped to. Required on this route; the deprecated /businesses/{business_id}/... form takes it from the path instead.

Parâmetros de caminho

endpoint_id
string<uuid>
obrigatório

Corpo

application/json
enabled
boolean | null
label
string | null
Required string length: 1 - 100
subscribed_events
string[] | null
url
string | null
Maximum string length: 500

Resposta

Successful Response

Everything about an endpoint except its secret, which is unreadable by design.

consecutive_failures
integer
obrigatório
created
string<date-time>
obrigatório
enabled
boolean
obrigatório
id
string<uuid>
obrigatório
label
string
obrigatório
last_delivery_at
string<date-time> | null
obrigatório
last_error
string | null
obrigatório
subscribed_events
string[]
obrigatório
url
string
obrigatório