v17

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-08165682.0 MB
Webhooks

Update a webhook

Authorization

A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

Service Token Accesses write_database

OAuth Scopes

ResourceScopes
Organizationwrite_databases
Databasewrite_database
patch/organizations/{organization}/databases/{database}/webhooks/{id}

Path parameters

organizationstring required

The name of the organization

databasestring required

The name of the database

idstring required

The ID of the webhook

Request body

urlstring

The URL the webhook will send events to

enabledboolean

Whether the webhook should be enabled

eventsstring[]

The events this webhook should subscribe to

Response

Returns the updated webhook

idstring required

The ID of the webhook

urlstring required

The URL the webhook will send events to

secretstring required

The secret used to sign the webhook payloads

enabledboolean required

Whether the webhook is enabled

last_sent_resultstring required

The last result sent by the webhook

last_sent_successboolean required

Whether the last sent was successful

last_sent_atstring nullable required

When the last event was sent

created_atstring required

When the webhook was created

updated_atstring required

When the webhook was updated

eventsstring[] required

The events this webhook subscribes to