Update a Webhook

Update the data associated with a specific webhook.

OAuth Scope required: public.webhooks.updateWebhooks

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the webhook

Body Params

Partial update; only the fields sent change. filters is required when the update adds contract_updated to events, and deliveryMode must end up batched for a contract_updated subscription.

events
array of objects
length ≥ 1

The event types that trigger the webhook. Use * to receive all events (contract_updated excepted), although we don't recommend this, especially for environments with higher volume.

events

Events that can be subscribed to using a webhook.

string

The HTTPS URL that receives webhook event payloads.

string

A human-readable name for the webhook. Defaults to the target URL when not set.

string

An optional human-readable description for the webhook.

string
enum

The status of the webhook. A disabled webhook is not triggered.

Allowed:
filters
object

Per-subscription filtering for contract_updated. A contract change is delivered when its record type is one of recordTypeIds AND its workflow stage is one of stages. Required when events includes contract_updated.

payload
object

Payload shaping for contract_updated, separate from filtering.

string
enum

How event payloads are framed. single sends one event object per POST; batched delivers events as a JSON array and is required for contract_updated. Subscriptions without a delivery mode behave as single.

Allowed:
Headers
string

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-id is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. A token produced from the Authorization Code grant (which is already scoped to a user) may also use this header to act as a different user in the same company, provided the token carries the identity.users.impersonate scope and the token's own user has been granted the API User Impersonation permission. A request that sends this header without both never acts as the named user; depending on the company's configuration it either proceeds as the token's own user or is rejected with a 403. More information about permissions.

string

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-email is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. A token produced from the Authorization Code grant (which is already scoped to a user) may also use this header to act as a different user in the same company, provided the token carries the identity.users.impersonate scope and the token's own user has been granted the API User Impersonation permission. A request that sends this header without both never acts as the named user; depending on the company's configuration it either proceeds as the token's own user or is rejected with a 403. More information about permissions.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json