Create webhook
POST/api/webhooks
Creates a webhook endpoint and returns it with its webhook secret, shown only this once. A URL that is not https or resolves to a private, link-local or metadata address returns 422 url_refused; an unknown event type returns 422 unknown_event_type, a project outside the organization 422 unknown_project, and a 51st endpoint 422 too_many_endpoints. Requires the Org Owner or Org Admin role; a plan without webhooks returns 403 plan.
Request
Responses
- 201
- 422
Created
Unprocessable content