Webhooks

The SistemaTS API provides an event that you can subscribe to. This event is triggered by various actions that occur within the A-Cube's platform. When the event is triggered, A-Cube will send a POST request to the webhook URLs that you have configured.

Configuration and security

You can setup one or more webhooks by using API endpoint POST /webhooks.

You can verify the webhook signature by following the instructions here.

Event Types

The following event is available:

sistemats-receipt-ready

This event is triggered when:

  • the expense receipt becomes available after the submition of a new receipt;
  • the expense receipt becomes available after the modification of an existing receipt;
  • the requested expense credit note becomes available.

The event payload is as follows:

Copy
Copied
{
  "expense_id": "string", 
  "protocol_id": "string"
}