curl --request GET \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-roles \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.470Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "4e2e1f93-4a15-45a8-b9c1-635e9fc2fe14",
"tenantId": "2ef55a4e-d3ad-48df-97dd-e547819299e7",
"roleName": "Approver",
"isDeleted": false,
"status": "ACTIVE"
}
]
}
}
curl --request GET \
--url https://staging.api.us.aptlydone.com/settings/v1/decision-roles \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.470Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "4e2e1f93-4a15-45a8-b9c1-635e9fc2fe14",
"tenantId": "2ef55a4e-d3ad-48df-97dd-e547819299e7",
"roleName": "Approver",
"isDeleted": false,
"status": "ACTIVE"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Page number
x >= 1
1
Number of items per page
1 <= x <= 100
10
Tenant ID
"58c68c9f-d51e-4dba-acb0-0bb67fadf475"
Decision roles list retrieved successfully
The response is of type object
.