Create a webhook subscription

Allowed Scopes: experimental:webhooks-v2:write, plus the read scope of each subscribed resource.

Creates a webhook subscription for the organisation, or for one company when companyId is set. A company-level token always creates a subscription for its own company. When secret is omitted, a signing secret is generated and returned once, in this response only.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 2048

HTTPS URL that receives the signed deliveries. It must not contain credentials or resolve to a private address.

string

Restricts the subscription to one company of the organisation.

eventTypes
array of strings, unique
required
length ≥ 1

Event types the subscription receives.

string
length between 32 and 256

Signing secret to use instead of a generated one.

Responses

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