WebhookEndpoint
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
active | boolean | Optional | — |
events | Array of string | Optional | — |
id | string | Optional | Public whk_… reference (not a UUID). pattern: ^whk_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
org | string | Optional | Public org_… reference (not a UUID). pattern: ^org_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
secret | string | Optional | Only returned on creation/rotation; store outside agent conversations |
url | string (uri) | Optional | — |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"active": {
"type": "boolean"
},
"events": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Public whk_… reference (not a UUID)",
"pattern": "^whk_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"org": {
"description": "Public org_… reference (not a UUID)",
"pattern": "^org_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"secret": {
"description": "Only returned on creation/rotation; store outside agent conversations",
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
}