API Reference
Pagination
Lists of the Tentary API come in pages, newest first. The cursor gets you the next page.
On this page
How it works
- Lists are newest first.
limitsets the number of items per page. The default is 25. Each endpoint shows its maximum.- The answer has
next_cursor. Send this value ascursorto get the next page. - If
next_cursorisnull, this is the last page.
Important: The cursor does not keep your filters. Send the same filters and the same
limitwith every page.
Example
All orders from 1 October 2026, 50 per page. The first page:
curl "https://api.tentary.com/v1/orders?from=2026-10-01&limit=50" \
-H "Authorization: Bearer $TENTARY_API_KEY"
The next page, with the same filters and the next_cursor from the answer:
curl "https://api.tentary.com/v1/orders?from=2026-10-01&limit=50&cursor=<next_cursor>" \
-H "Authorization: Bearer $TENTARY_API_KEY"
Repeat this until next_cursor is null.
Cursor not valid
If a cursor is not valid, the API answers with the status 400 and the code bad_cursor. Then start again without a cursor.
Last updated: October 27, 2026