Skip to main content
GET
/
v2
/
workflows
/
{workflow_id}
/
approval-procedures
List Workflow Approval Procedures
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>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required

The ID of the workflow to list approval procedures for.

Response

Success

data
WorkflowApprovalProcedure · object[]

The list of approval procedures.

I