curl --request GET \
--url https://staging.api.us.aptlydone.com/document/v1/documents/counts \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:01.116Z",
"message": "Success",
"data": {
"active": 5,
"inactive": 10,
"favorites": 10,
"all": 15
}
}
curl --request GET \
--url https://staging.api.us.aptlydone.com/document/v1/documents/counts \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:01.116Z",
"message": "Success",
"data": {
"active": 5,
"inactive": 10,
"favorites": 10,
"all": 15
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Tenant ID
"77b19af1-dbd7-4a5a-bcf2-de7ea8e992a5"
Document counts retrieved successfully
The response is of type object
.