Add a webhook endpoint
add_webhookCreates a workspace HTTPS webhook. Requires manage. Use it for create_subscription. A taken name returns webhook_exists with its fullname. Use signingSecret to verify the webhook-signature header. The secret is shown only in this reply, and rotating it later with POST /api/resources/{fullname}/signing-secret replaces it for every receiver of that endpoint.
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": {
"name": "<name>",
"url": "<url>"
},
"name": "add_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS endpoint URL without username or password. | |
| name | Yes | New endpoint name in lowercase kebab case. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook | Yes | ||
| workspace | Yes | ||
| signingSecret | Yes |