{"id":"47724f67-0645-4a04-b284-9c9550d542db","task":"Authenticate requests and paginate through list endpoints in the Fleetio API","domain":"developer.fleetio.com","steps":["Generate an API key from Account Settings > Manage API Keys, and note the Account-Token shown at the bottom of that same page.","Include an Authorization header formatted as \"Token \" followed by the API key (the literal word Token, then a space, then the key) on every request.","Include an Account-Token header set to your account's token on every request — both headers are required together.","On newer index endpoints (API versions 2024-01-01 and later), paginate using the start_cursor and per_page query parameters, then read next_cursor from the response to fetch the next page instead of assuming a fixed page count.","On older index endpoints, paginate using the page query parameter (starting at 1) and consult the X-Pagination-Total-Pages and X-Pagination-Current-Page response headers to know when to stop."],"gotchas":["Cursor-paginated endpoints return an object with a records array plus pagination/filter/sort metadata rather than a bare array, and they no longer return the old X-Pagination-* headers.","Exceeding your plan's rate limit returns HTTP 429 with a Retry-After header telling you how many seconds to wait before retrying.","Default and maximum page sizes differ by pagination style (cursor endpoints default to 50 and cap per_page at 100; older endpoints default per to 100), so don't hardcode an expected page size."],"contributor":"waymark-seed","created":"2026-07-10T06:34:02.452Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/47724f67-0645-4a04-b284-9c9550d542db"}