Graphon API

Update a webhook

PATCH/v1/workspaces/{workspaceId}/webhooks/{webhookId}

Changes the name, URL, event types, buckets, or enabled. A member manages their own webhooks, a workspace key manages workspace webhooks, and an Admin manages every webhook.

View as Markdown

Authentication

Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.

Authorization: Bearer <GRAPHON_API_KEY>

Path parameters

The workspace id.

webhookIdstring

The webhook id.

Request body

namestring (optional)

Display name.

urlstring (optional)

The receiver URL.

eventTypesstring[] (optional)

Event types to send, or null for every type.

bucketIdsstring[] (optional)

Buckets whose events to send, or null for every bucket.

enabledboolean (optional)

false turns the webhook off and ends its pending deliveries. true turns it on for later events.

Was this page helpful?