cURL
curl --request POST \ --url https://api.daraa.io/approval-chains \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "name": "<string>", "steps": [ { "id": "<string>", "stepNumber": 123, "approverType": "user", "approverId": "<string>", "approverName": "<string>", "thresholdAmount": 123, "isRequired": true } ], "isActive": true }'
{ "id": "<string>", "name": "<string>", "steps": [ { "id": "<string>", "stepNumber": 123, "approverType": "user", "approverId": "<string>", "approverName": "<string>", "thresholdAmount": 123, "isRequired": true } ], "isActive": true }
Unique identifier for the approval chain
Name of the approval chain
Steps in the approval chain
Show child attributes
Whether approval chain is active
Ok