List all approval procedures for a workflow.
cURL
curl --request GET \ --url https://public.api.serval.com/v2/workflows/{workflow_id}/approval-procedures \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "steps": [ { "id": "<string>", "specificUserIds": [ "<string>" ], "servalGroupIds": [ "<string>" ], "allowSelfApproval": true, "customWorkflowId": "<string>" } ] } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the workflow to list approval procedures for.
Success
The list of approval procedures.
Show child attributes
The ID of the workflow approval procedure.
The steps in the approval procedure.
The ID of the approval step.
The IDs of the specific users that can approve the step.
The IDs of the Serval groups that can approve the step.
Whether the step can be approved by the requester themselves.
A workflow ID to execute to determine the approvers for this step (or to auto-approve the step).
Was this page helpful?