workflows

Approve or reject a workflow approval step

Only the assigned approver can decide. 409 ALREADY_DECIDED when the approval was already decided, including when two decisions arrive together (exactly one lands). 400 APPROVAL_STALE when the run has moved past this step, finished or been cancelled.

post/workflows/approvals/{id}/decide

Request

  • Base URL: https://api.onplana.com/api
  • URL: https://api.onplana.com/api/workflows/approvals/{id}/decide
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

idstring required

Headers

X-Organization-Idstring required

UUID of the active organization. Sets org context for all scoped operations.

Request body

decision'APPROVED' | 'REJECTED' required
notestring

Response

Decision recorded; workflow resumes downstream steps

Changes

No recorded changes to this operation across all 1 revision of this API.