Skip to main content

Webhook Types

A-Cube API sends notifications about events in the system to defined webhooks. Each User can have many endpoints of the same type. This is i.e. useful if you would like to get notifications in two different systems. We call it EventDestinations, because it can be an API-Webhook, but later also an email or something different.

CategoryWebhook TypeWhat it does
Invoiceinvoice.receivedSends information when incoming invoice is received
Invoiceinvoice.failed Sends information when sending outgoing invoice has failed
Invoiceinvoice.sentSends information when outgoing invoice is sent

Via authType, authKey and authToken you can set up authentication we need to use to access your endpoint. We support none, query or header (which uses Bearer token) as authentication types.

Example

{
"event": "invoice.failed",
"delivery": "webhook",
"target": "https://webhook.site/c5eefb31-c9d7-408b-9acf-bc276618a797",
"authType": "none",
"authToken": null,
"authKey": null
}

Endpoints

To find out more - check EventDestinations API section.