ApprovalRequests
ApprovalRequests API endpoints
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
status?string
workflowRunId?string
limit?|
Response Body
curl -X GET "http://localhost:3013/api/approval-requests"Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/approval-requests" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "questions": [ { "id": "string", "type": "approval", "label": "string" } ], "approvers": { "policy": "any" } }'Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Format
uuidResponse Body
curl -X GET "http://localhost:3013/api/approval-requests/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/approval-requests/497f6eca-6276-4993-bfeb-53cbbbba6f08/respond" \ -H "Content-Type: application/json" \ -d '{ "responses": { "property1": null, "property2": null } }'Empty
Empty
Empty
Empty