Create webhook
create_webhookRequires sign-in. Create a webhook: Status Vale sends a signed JSON POST to the https url (port 443 or 8443, public host) whenever a service status of the product changes (event service.status_changed). secret is required and chosen by you (the receiver sets it up on its side and tells you the value): 16 to 200 characters, no whitespace, use 32 or more random characters; it is stored encrypted and never returned. Deliveries are signed per RFC 9421 (Signature-Input, Signature) with RFC 9530 Content-Digest, hmac-sha256 keyed with the secret as UTF-8 bytes; verification: docs/api.md "Webhooks". At most 10 per product; 503 webhooks_unavailable when the service cannot store secrets right now. Incidents are not created automatically: receive the webhook, then create an incident with create_incident.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product": "<product>",
"url": "<url>",
"secret": "<secret>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL. | |
| events | No | Event names to send. | |
| secret | Yes | Signing secret you choose: 16 to 200 characters, no whitespace; use 32 or more random characters. Never returned by any answer. | |
| enabled | No | Whether the item is switched on. | |
| product | Yes | Product id or slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The same JSON the REST API returns for this operation. |