Pagination
Every list endpoint pages the same way — an opaque cursor, and a limit.
Every list endpoint returns an envelope with an opaque cursor.
{
"status": true,
"statusCode": 200,
"message": "Request processed successfully",
"timestamp": "2026-12-04T09:00:00.000Z",
"path": "/v1/accounts",
"data": {
"accounts": [ /* … */ ],
"nextCursor": "MjAyNi0xMS0zMFQwOToxNTowMC4xMjNafDAxOGY0YmUwLe…"
}
}| Parameter | Type | Description |
|---|---|---|
limit | integer | Between 1 and 100. Defaults to 25. |
after | string | The nextCursor from the previous response, passed back verbatim. |
Page until nextCursor is null. A full page is not the last page — the cursor ends the
walk, never the row count. A list that returns exactly limit rows may still have more.
The cursor is opaque. Do not parse it, construct it, or carry one between environments — a cursor
that was not produced by the same endpoint is refused with INVALID_CURSOR.
curl https://api.trytushe.com/v1/accounts \
-G --data-urlencode "limit=25" \
-H "x-api-key: $TUSHE_KEY"