GET
/
v1
/
decision-sections
List decision section
curl --request GET \
  --url https://staging.api.us.aptlydone.com/settings/v1/decision-sections \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:51:42.549Z",
  "message": "Success",
  "data": {
    "page": 1,
    "limit": 10,
    "total": 100,
    "data": [
      {
        "id": "887fc457-023f-4f73-8690-0783b1f797d1",
        "tenantId": "c18841c9-b6bc-4231-91c0-a05458cbfb03",
        "sectionName": "Finance Department",
        "isDeleted": false,
        "categories": [
          {
            "id": "2f814d21-28bb-45fd-9e59-abc0e1a6ebb4",
            "tenantId": "12d1757e-8bd3-4180-a8a9-10b4d9a74533",
            "sectionId": "0500df64-ea8e-4f93-8389-b13a4b1be930",
            "categoryName": "Finance",
            "isDeleted": false
          }
        ],
        "createdAt": "2024-01-15T12:00:00Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
number

Page number

Required range: x >= 1
Example:

1

limit
number

Number of items per page

Required range: 1 <= x <= 100
Example:

10

tenantId
string
required

Tenant ID

Example:

"3783eb06-9553-4793-accb-7fc1a609d316"

sectionIds
string

Section IDs (comma separated)

Example:

"ffcc642e-c078-4205-aa20-8ee9541a4530, 3532dd0a-e143-4008-a736-3d09deae14f8"

categoryIds
string

Category IDs (comma separated)

Example:

"f453cb72-0248-49d8-9f21-d547c6266212, e0827e48-ab11-457c-bc1f-1db9c3c7c000"

Search

Example:

"Finance"

sortBy
string

Field to sort by

Example:

"id"

sortOrder
enum<string>
default:asc

Sort order (asc/desc)

Available options:
asc,
desc
Example:

"asc"

Response

200 - application/json

Decision sections list retrieved successfully

The response is of type object.