Pagination
Navigate large result sets returned by list endpoints.
Every endpoint that returns a list of objects shares a common response structure and accepts the same pagination parameters. Use them to set the page size, move between pages, and choose the sort order.
Parameters
Prop
Type
Example Request
curl -X GET "https://api.oktopost.com/v2/campaign?_count=100&_page=1&_order=created,0" \
-u ACCOUNT_ID:API_KEYExample Response
Total is the number of items across all pages.
{
"Result": true,
"Items": [...],
"Total": 1024
}