webhooks_create
Register a webhook endpoint to receive POST notifications from Storno for specified events. Requires HTTPS URL and returns 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.
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 |