Skip to main content
GET
/
v2
/
workflows
/
{workflow_id}
/
approval-procedures
/
{id}
Get Workflow Approval Procedure
curl --request GET \
  --url https://public.api.serval.com/v2/workflows/{workflow_id}/approval-procedures/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "workflowId": "<string>",
    "steps": [
      {
        "id": "<string>",
        "allowSelfApproval": true,
        "approvers": [
          {
            "appOwner": {},
            "notify": true
          }
        ],
        "customWorkflow": {
          "workflowId": "<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.

id
string
required

The ID of the approval procedure.

Response

Success

data
data · object

The approval procedure.