Admin — Approval Workflows
List approval rules
Returns all approval rules for the current organization.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3001/api/v1/admin/approval/rules"{
"rules": [
{
"id": "string",
"orgId": "string",
"name": "string",
"ruleType": "table",
"pattern": "string",
"threshold": 0,
"enabled": true,
"createdAt": "string",
"updatedAt": "string"
}
]
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}