Approve or deny the approval step a workflow run is waiting on. Who may decide follows the approval request: its named approvers, holders of its approver permission, or their delegates. Requesters cannot approve their own authorize requests. With several approvers required, the run resumes once enough have approved.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuiduuidapplication/json
The decision and an optional comment shown on the run.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/organizations/123/workflows/runs/123e4567-e89b-12d3-a456-426614174000/approval" \ -H "Content-Type: application/json" \ -d '{ "approved": true }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "definitionId": "058563fe-6949-46e9-9fb3-06a0e3a11f6a", "workflowRunId": "string", "definitionVersion": 1, "status": "queued", "triggerKind": "domain-event", "triggerEventId": "cbdb35e6-5a35-47b6-b2bd-b26be99341ac", "idempotencyKey": "string", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "subjectType": null, "subjectId": null, "startedAt": "string", "completedAt": "string", "createdAt": "string", "updatedAt": "string"}length <= 2000