create_webhook
Create a Fakturia webhook to send HTTP POST notifications to a specified HTTPS URL when subscribed events occur, with optional event filters, error email, description, and active status.
Instructions
Create a new webhook configuration in Fakturia. A webhook sends HTTP POST notifications to your specified URL whenever subscribed events occur (e.g. invoice created, payment received, subscription changed). Optionally specify an email address for error notifications, a description, whether the webhook is active, and which events to subscribe to.
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": {
"hookUrl": "<hookUrl>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | When true, the webhook is active and will send notifications. When false, the webhook is paused and no notifications are sent. Defaults to true if omitted. | |
| events | No | List of event types to subscribe to (e.g. "invoice.created", "payment.received", "contract.changed"). If omitted, the webhook receives all event types. | |
| hookUrl | Yes | The URL that Fakturia will send HTTP POST webhook notifications to. Must be a publicly accessible HTTPS endpoint. | |
| hookEmail | No | An email address to receive notifications when webhook delivery fails (e.g. endpoint unreachable, HTTP errors). | |
| description | No | A human-readable description for this webhook configuration, helping to identify its purpose. |