beel_create_webhook_subscription
Register an HTTPS endpoint to receive BeeL event notifications for invoice issued, voided, VeriFactu updates, and more, with a one-time signing secret for verification.
Instructions
Registers an HTTPS endpoint to receive event notifications for the events
listed in events. The signing secret is returned only in this
response and never again; store it before discarding the body.
An account holds at most 10 active subscriptions; creating an eleventh is rejected. Registering the same URL twice creates two subscriptions, and the endpoint then receives each event twice.
Endpoint: POST /v1/accounts/{account_id}/webhooks
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| account_id | Yes | Your own account, or an account you provisioned. It — not the credential, and not the `BeeL-Active-Company` header — decides which account the operation acts on. An account you do not reach answers `403`, and so does an account that does not exist, so the existence of somebody else's account is never disclosed. | |
| idempotency_key | No | Optional idempotency key for this operation. Omit it and one is derived from the request itself, which makes a blind retry safe but also collapses a SECOND, deliberately identical operation into the first for 24 hours. Set it — to an order id, or anything unique per intended operation — whenever you mean to create something that may look identical to what you just created. |