Overview

The Escalations API manages escalation and approval workflows for mandates and actions. When a mandate requires approval or a condition triggers an escalation, a request is created and can be resolved by an authorized user as approved or denied.

Endpoints

MethodPathDescription
POST/escalationsCreate an escalation request
GET/escalationsList escalations, filterable by status
GET/escalations/:idGet escalation details
POST/escalations/:id/resolveResolve an escalation as approved or denied

Example

curl -X POST http://localhost:4000/escalations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tr_abc123" \
  -d '{"mandate_id":"..."}'