Documents
GET /v1/documents
List documents with pagination, search, folder filters, and an optional trash-only filter.
GET /v1/documents returns a paginated list of documents.
Authentication
Send an organization API key in x-api-key or
Authorization: Bearer <key>.
Query Parameters
| Name | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number to return. |
limit | integer | 20 | Number of results per page. Maximum: 100. |
q | string | "" | Free-text search term. |
folderId | string (uuid) | none | Restrict the result set to one folder. |
withoutFolder | boolean | false | When true, return only documents without a folder. |
deletedOnly | boolean | false | When true, only trashed documents are returned. |
Example
curl "https://api.blueputto.com/v1/documents?page=1&limit=20&folderId=FOLDER_ID&deletedOnly=false" \
-H "x-api-key: YOUR_API_KEY"Success Response
200 OK
{
"data": [{}],
"meta": {
"page": 1,
"limit": 20,
"totalItems": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}
}Error Responses
400 Bad Request401 Unauthorized429 Too Many Requests