GET
/
v1
/
documents
/
counts
Count documents
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
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

tenantId
string
required

Tenant ID

Example:

"77b19af1-dbd7-4a5a-bcf2-de7ea8e992a5"

Response

200 - application/json

Document counts retrieved successfully

The response is of type object.