Webhooks

Webhooks let Brinta notify your systems automatically when something happens, so you do not have to poll the API.

Company Management › API & Integrations › Webhooks

Add a webhook

  1. Go to Company Management › API & Integrations.
  2. In the Webhooks card, click Add Webhook.
  3. Complete the webhook's fields.
  4. To register another one, click the Add Webhook card next to it. Use the red remove icon to discard one.
  5. Click Save. Cancel leaves without saving.
FieldRequiredDescription
URLYesYour endpoint, where Brinta sends the notifications
Secret KeyNoA secret of your own for this webhook
TypeYesThe kind of event this webhook receives
Add Webhook

Webhook types

Each webhook receives one type of event. Add one webhook per type you need.

Webhook types

What Brinta sends

Every notification is a JSON body with the resource, the event and the identifiers you need to fetch the details. For example, for an invoice:

{
  "resource": "invoice",
  "event": "created",
  "data": {
    "invoice_id": "ca791d36-6961-45f7-831d-8f7b5a077c73",
    "invoice_external_id": "A0B1",
    "status": "created",
    "base_type": "ISSUED"
  }
}

Webhooks only notify. To get the full record, call the corresponding GET endpoint with the id in data.


Did this page help you?