Ploi API
Ploi API


When you are using a list API route, we will most likely display this with pagination routes. (This is also visible on the documentation page itself)

You can use the query parameter ?per_page= to determine how much results you want on 1 page, the maximum is 50 results. If you exceed this result then it will default back to 15 automatically.

Pagination will look like this:

    "data": [
        ... data objects ...
    "links": {
        "first": "{route}?page=1",
        "last": "{route}?page=1",
        "prev": null,
        "next": null
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "{route}",
        "per_page": 15,
        "to": 3,
        "total": 3