After setting the filter = 0 (no filter) it doesn’t return any records using the api. Is this a bug or is there a way to get records without filter?
Hey mikebold,
Biannca here from our CX team, sorry we missed this when it was originally published.
In the spirit of providing insight on this question, the pagination filters is used to see more than 20 records returned.
To run this pagination filter, you should be using the limit
and offset
parameters.
Example call:
https://{youraccountname}.api-us1.com/api/3/fields (this call only returns 20 records max)
If you have more than 20 records for fields, then you need to append the pagination filter to the api call like this:
https://{youraccountname}.api-us1.com/api/3/fields?limit=100&offset=100
Here’s an update documentation on the Pagination API filter https://developers.activecampaign.com/reference/pagination.
Please don’t hesitate to reply back out or email us at help@activecampaign.com if you have any further questions.