GET
/
approval-chains
cURL
curl --request GET \
  --url https://api.daraa.io/approval-chains
[
  {
    "id": "<string>",
    "name": "<string>",
    "steps": [
      {
        "id": "<string>",
        "stepNumber": 123,
        "approverType": "user",
        "approverId": "<string>",
        "approverName": "<string>",
        "thresholdAmount": 123,
        "isRequired": true
      }
    ],
    "isActive": true
  }
]

Query Parameters

isActive
boolean

Response

200 - application/json

Ok

id
string
required

Unique identifier for the approval chain

name
string
required

Name of the approval chain

steps
object[]
required

Steps in the approval chain

isActive
boolean
required

Whether approval chain is active