Webhooks
📄️ List webhook subscriptions
List webhook subscriptions of the current Portal.
📄️ Create a webhook subscription
Create a new endpoint to receive webhook to your specific url.
📄️ Get a webhook subscription
Find a webhook subscription by ID.
📄️ Delete a webhook subscription
Delete a webhook subscription by its ID.
📄️ Customer deleted
This event is triggered when an existing [Customer](../api-docs/definitions/customer.mdx) is deleted.
📄️ Customer created
This event is triggered when a new [Customer](../api-docs/definitions/customer.mdx) is created.
📄️ Customer updated
This event is triggered when an existing [Customer](../api-docs/definitions/customer.mdx) is modified. This event is also triggered when a customer is deleted. The `deleted` field will be set to `true`.
📄️ Document created
This event is triggered when a new [Document](../api-docs/definitions/document.md) is created.
📄️ Document updated
This event is triggered when an existing [Document](../api-docs/definitions/document.md) is modified.
📄️ Document deleted
This event is triggered when an existing [Document](../api-docs/definitions/document.md) is deleted. More information on document deletion [can be found here](../api-docs/definitions/document#delete).
📄️ Invoice paid
This event is triggered when an invoice (i.e., a Document with `type = INVOICE`) is marked as fully paid. Its [[status](../api-docs/definitions/document#status) changes to `PAID`. More information on transactions [can be found here](../api-docs/definitions/transaction.mdx).
📄️ Invoice usage added
This event is triggered when an invoice (i.e., a Document with `type = INVOICE`) has a new [TransactionUsage](../api-docs/definitions/transaction-usage.mdx) added. Specifically, it is a payment from the client (or a credit) used to settle part (or all) of the invoice.
📄️ Invoice validated
This event is triggered when an invoice (i.e., a [Document](../api-docs/definitions/document.md) with `type = INVOICE`) is finalized. Its [status](../api-docs/definitions/document#status) changes from `DRAFT` to `VALIDATED`.
📄️ Quotation refused
This event is triggered when a quotation (i.e., a [Document](../api-docs/definitions/document.md) with `type = QUOTATION`) is marked as refused by the client.
📄️ Quotation accepted
This event is triggered when a quotation (i.e., a [Document](../api-docs/definitions/document.md) with `type = QUOTATION`) is marked as accepted by the client.
📄️ Quotation validated
This event is triggered when a quotation (i.e., a [Document](../api-docs/definitions/document.md) with `type = QUOTATION`) is finalized. Its [status](../api-docs/definitions/document#status) changes from `DRAFT` to `VALIDATED`.
📄️ Item updated
This event is triggered when an existing [Item](../api-docs/definitions/item.md) is modified.
📄️ Item deleted
This event is triggered when an existing [Item](../api-docs/definitions/item.md) is deleted.
📄️ Item created
This event is triggered when a new [Item](../api-docs/definitions/item.md) is created.