post
https://app-sandbox.trustpair.com/api/v1/cases//actions
Perform an action on an existing case.
This endpoint allows you to:
- Add comments to a case
- Attach supporting documents with comment action
- Submit an override request for a case
- Accept, refuse, or cancel an override request
- Close a case
Each action will create a permanent record in the case's action log and may change the case's status.
Required permissions:
cases_write
Action Type Permissions:
comment: Available to contributors and reviewersaccept: Available to reviewers only (not the override creator)refuse: Available to reviewers only (not the override creator)cancel: Available only to the override creator
Important constraints:
- The cases feature must be enabled for your account
- Actions can only be performed on cases in appropriate states
- Users must have proper roles to perform specific actions
