Creates a webhook
POST /webhook/{name}
Creates a new webhook with the given name and generates its signing secret. The name may be provided either as a path parameter (POST /webhook/:name) or as a name field in the request body for backwards compatibility; the path parameter takes precedence when both are present. Returns 400 when neither is provided, when the path name fails the slug pattern, when the body fails validation (e.g. missing or malformed url, body name not matching the slug pattern), or when any URL uses a non-https scheme, fails to resolve, or resolves to a private/loopback address. Returns 409 when a webhook with that name already exists for the organization. Only owner and admin roles can create a webhook.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body
Section titled “Request Body ”object
object
object
object
Responses
Section titled “ Responses ”Webhook created
object
object
object
object
Invalid webhook name, body, or URL
object
Example
invalid nameUnauthorized
object
Example
unauthorizedUser doesn’t belong to the organization
A webhook with the given name already exists
object
Example
name conflict