Properties
| Name | Type | Description |
|---|---|---|
| url | string | The URL to receive webhook POST requests. |
| secret | string | A shared secret for signing webhook payloads. |
| true | boolean | Whether the webhook should be enabled. |
| name | string | A human-readable name for the webhook. |
| tags | array | Tags to apply to the webhook. |
| statements | array | Policy statements filtering which events trigger this webhook. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/WebhookBody",
"title": "WebhookBody",
"type": "object",
"description": "The request body for creating a new webhook.",
"required": [
"url",
true
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "The URL to receive webhook POST requests."
},
"secret": {
"type": "string",
"description": "A shared secret for signing webhook payloads."
},
"true": {
"type": "boolean",
"description": "Whether the webhook should be enabled."
},
"name": {
"type": "string",
"description": "A human-readable name for the webhook."
},
"tags": {
"type": "array",
"description": "Tags to apply to the webhook.",
"items": {
"type": "string"
}
},
"statements": {
"type": "array",
"description": "Policy statements filtering which events trigger this webhook.",
"items": {
"$ref": "#/components/schemas/Statement"
}
}
}
}