Create organization webhooks

Create a webhook for the organization

Wildcard "*" can be used for project_ids and styleguide_ids to receive events for all projects and styleguides that you own. You'll also automatically subscribe to the new ones you create in the future.

Note: Users that have authorized the app before webhooks release must re-authorize the app to create webhooks.

Path Params
string
required

Organization id

Body Params
string
required

The URL of the webhook

string

The name of the webhook

string
required

The secret to be used to generate signatures for webhook requests

string
enum
Defaults to active

The status of the webhook

Allowed:
project_ids
array of strings
required

The project ids of the webhook

project_ids*
styleguide_ids
array of strings
required

The styleguide ids of the webhook

styleguide_ids*
events
array of objects
required
length ≥ 1

The events of the webhook

Responses

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