Create a webhook endpoint
POST/api/v1/webhooks
Subscribes an HTTPS URL to one event type, for every agent or one agent. Returns the endpoint and its signing secret; the secret is shown only in this response. A new endpoint is disabled, so it receives only test events, unless you send enabled: true. The API key's user needs the Admin or Member role; a Viewer's key gets 403.
Request
Responses
- 201
- 400
- 401
- 403
Created the endpoint.
The request is invalid.
The API key is missing or invalid.
The API key's user has a role that does not allow this operation.