curl --request GET \
--url https://staging.api.us.aptlydone.com/settings/v1/document-versioning \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.676Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "093c6723-6686-49f4-9cea-064e1c39ec2c",
"tenantId": "0960c978-8c29-467c-ae8d-a2f577fb3d53",
"fieldName": "Version Number",
"fieldType": "string",
"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-versioning \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:42.676Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "093c6723-6686-49f4-9cea-064e1c39ec2c",
"tenantId": "0960c978-8c29-467c-ae8d-a2f577fb3d53",
"fieldName": "Version Number",
"fieldType": "string",
"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
"8587ffc6-4d97-4997-965b-a71bce6e4314"
Versioning Field IDs (comma separated)
"75243ca2-9001-49f1-bfb6-3e42db090857, 017ed287-89ac-41c4-8ad2-2a995caf2580"
Search by field name
"Version"
Field to sort by
"id"
Sort order (asc/desc)
asc
, desc
"asc"
Document versioning fields list retrieved successfully
The response is of type object
.