Back to All

Paging

I am using the people sessions endpoint with the following template url:

https://api.livestorm.co/v1/sessions/{sessionid}/people?page%5Bnumber%5D=2&page%5Bsize%5D=100

I am receiving the error response
"title":"Invalid page value",
"detail":"2 is not a valid value for number page parameter.",
"code":"118",
"status":"400"

If I use page 1, the response works fine but if I change it to 2, it fails.

If I send page 2 surrounded in quotes, it returns page 1.

I am using a PHP endpoint created by concatenating the initial endpoint string up to people, adding a question mark and concatenating http_build_query(array) to the end

$endpoint = $endpoint . http_build_query($this->queryString);

Please can you let me know what query string is expected as I am getting the same response on the docs page by filling in 100 for size and 2 for number