Firsty

Search...

Search...

Management

Update a webhook endpoint

Experimental. This endpoint is still settling — its request and response shape may change without a deprecation cycle.

Changes the URL, the subscribed event types, the label or active. Only the fields sent change; the signing secret stays as issued.

patch/management/webhooks/{webhookEndpointReference}

Authorization

Authorization: Bearer {token} — an OAuth2 access token from the client-credentials flow. How authentication works

Path parameters

webhookEndpointReferencestringrequired

Webhook endpoint reference, as returned by GET /management/webhooks.

Request body

application/json · required

urlstring · uri
eventTypesarray of string

Replaces the subscription list. Values from GET /catalog/webhook-event-types.

descriptionstring
activeboolean

False keeps the endpoint but stops deliveries to it.

Responses

200The updated endpointapplication/json
Show response body
dataobjectrequired
Show properties
webhookEndpointReferencestringrequired

Identifies the endpoint in GET /management/webhooks/{webhookEndpointReference}/deliveries.

urlstring · urirequired

Destination Firsty posts events to.

eventTypesarray of stringrequired

Event types delivered to this endpoint. Values this client subscribed to before an event type was retired are returned as stored, so an entry may be absent from GET /catalog/webhook-event-types.

descriptionstring | nullrequired

Free-text label for the endpoint.

activebooleanrequired

Whether events are delivered to this endpoint.

createdAtstring · date-timerequired
updatedAtstring · date-timerequired
400Bad request - invalid parameters401Unauthorized - missing or invalid API key404Resource not found429Rate limit exceeded500Internal server error