Create a webhook

Creates a new webhook endpoint. Retrieve the signing secret using the Retrieve webhook secret endpoint after creation, it is not included in this response.

POST

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Request Body

application/json
string

Clear description on the webhook use case.

uri

Full url of the webhook.

string

List of events to attach to the webhook.

Response Body

application/json
boolean

Indicates that the request was successful.

object

The data of the newly created webhook.

string

The ID of the newly created webhook.

string

The webhook signing secret.