Add an endpoint; its signing secret is in this answer only
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/webhooksAdd an endpoint; its signing secret is in this answer only
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
urlstring requiredeventsarray<string> required
Example
{
"url": "string",
"events": [
"string"
]
}Responses
201 Webhook with its secret
Content type: application/json
Webhook & object
idstring requiredurlstring requiredeventsarray<string> requiredcreated_atstring (date-time) requiredsecretstring required
Example
{
"id": "string",
"url": "string",
"events": [
"string"
],
"created_at": "2026-01-01T00:00:00Z",
"secret": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required