curl --request GET \
--url https://staging.api.us.aptlydone.com/settings/v1/document-types \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.620Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "18734e63-f5ee-44ba-95e3-14e5e773d9e0",
"tenantId": "58e1ecd8-43ec-4ef0-ba29-aa04535beca6",
"typeName": "Invoice",
"status": true,
"isDefault": false,
"isDeleted": false,
"createdAt": "2024-01-12T00:00:00.000Z",
"updatedAt": "2024-01-12T00:00:00.000Z"
}
]
}
}
curl --request GET \
--url https://staging.api.us.aptlydone.com/settings/v1/document-types \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.620Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "18734e63-f5ee-44ba-95e3-14e5e773d9e0",
"tenantId": "58e1ecd8-43ec-4ef0-ba29-aa04535beca6",
"typeName": "Invoice",
"status": true,
"isDefault": false,
"isDeleted": false,
"createdAt": "2024-01-12T00:00:00.000Z",
"updatedAt": "2024-01-12T00:00:00.000Z"
}
]
}
}
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
"a5b50588-c7f7-4ff3-9702-cf6c4aa2fd22"
Document Type IDs (comma separated)
"18abc73f-07a0-4c4b-a946-9b197de92fb1, d2aff11e-f2b6-4613-af6e-437d1a4730eb"
Search by type name
"Invoice"
Field to sort by
"id"
Sort order (asc/desc)
asc
, desc
"asc"
Document types list retrieved successfully
The response is of type object
.