webhooks_create
Register a new HTTPS webhook endpoint for the current company, subscribe it to selected events, and receive a signing secret to store securely.
Instructions
Register a new webhook endpoint for the current company. The response includes the full signing secret — store it securely immediately as it will be masked in all subsequent responses. URL must use HTTPS. Use ["*"] for events to subscribe to all event types.
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": {
"url": "<url>",
"events": "<events>"
},
"name": "webhooks_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS destination URL that will receive POST requests from Storno | |
| events | Yes | Array of event type names to subscribe to (e.g. ["invoice.created", "invoice.validated"]). Use ["*"] to subscribe to all events. | |
| isActive | No | Whether the webhook is active on creation (default: true) | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| description | No | Human-readable label for this webhook endpoint |