SupportWire API

Pagination

Cursor-based pagination over list endpoints.

List endpoints return a data array alongside page_metadata containing opaque cursors.

{
  "data": [ /* … */ ],
  "page_metadata": {
    "after": "eyJpZCI6MTIzfQ==",
    "before": null
  }
}

Parameters

ParameterDescription
limitItems per page
afterCursor — fetch the page after this point
beforeCursor — fetch the page before this point

Paging forward

Pass the after cursor from the previous response to get the next page. When page_metadata.after is null, you've reached the end.

curl "https://api.supportwire.app/api/oauth/v1/conversations?limit=20&after=eyJpZCI6MTIzfQ==" \
  -H "Authorization: Bearer swot_your_token"

Cursors are opaque — don't parse or construct them. Always use the values returned in page_metadata.

On this page