Appearance
Pagination
List endpoints return paginated results with metadata about the total count and available pages.
Success Response Format
json
{
"data": [],
"message": "Success",
"status": 200,
"meta": {
"currentPage": 1,
"lastPage": 5,
"perPage": 25,
"total": 120
}
}Query Parameters
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default: 1) |
limit | integer | Items per page (default: 25) |
sort | string | Sort field |
order | string | Sort direction (asc or desc) |
Example
bash
curl -H "Authorization: Bearer TOKEN" \
"https://api.abaninja.ch/accounts/{accountUuid}/documents/v2/invoices?page=2&limit=50"