Pagination

All list endpoints support the same parameters:

ParamDefaultNotes
page11-based page number.
per_page25Page size. Maximum 50.
sinceISO 8601 date or datetime. Filters to records created after this timestamp. Useful for incremental sync.

Response shape

{
  "data": [],
  "links": {
    "first": "https://customer.monotree.com/api/open/v1/walls/1/posts?page=1",
    "last": "https://customer.monotree.com/api/open/v1/walls/1/posts?page=4",
    "prev": null,
    "next": "https://customer.monotree.com/api/open/v1/walls/1/posts?page=2"
  },
  "meta": {
    "current_page": 1,
    "last_page": 4,
    "per_page": 25,
    "total": 92,
    "from": 1,
    "to": 25
  }
}

To fetch all pages, follow links.next until it is null.

Incremental sync

Combine since with a stored timestamp to pull only new records:

curl "https://customer.monotree.com/api/open/v1/walls/1/posts?since=2026-03-22T00:00:00Z" \
  -H "Authorization: Bearer mono_your_token_here"

After the first sync, store the most recent created_at you received and pass it as since on the next request.