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
- Go to Company Management › API & Integrations.
- In the Webhooks card, click Add Webhook.
- Complete the webhook's fields.
- To register another one, click the Add Webhook card next to it. Use the red remove icon to discard one.
- Click Save. Cancel leaves without saving.
| Field | Required | Description |
|---|---|---|
| URL | Yes | Your endpoint, where Brinta sends the notifications |
| Secret Key | No | A secret of your own for this webhook |
| Type | Yes | The kind of event this webhook receives |
Webhook types
Each webhook receives one type of event. Add one webhook per type you need.
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.
Updated about 5 hours ago
Did this page help you?
