Page Offset in Campaigns endpoint brings less than limit

Hi,
I’m trying to use the api/3/campaigns endpoint. However, the number of records is N-1 than the limit value. For example: if I place the limit parameter at 100, then the request returns only 99 records and not a 100 records. This is causing the pagination loop to stop, as the process is waiting for a 100 records to move to the next page.
How do you propose to solve this?

Thanks,

UPDATE - Checking with additional users (API keys) - when setting the limit=100, the first page returns 99 records, second page (limit=100&offset=100) returns 94 records. We have over 200 campaigns. Could it be a bug?

1 Like

Thank you for this report. I recommend providing this report to the api support team here: https://help.activecampaign.com/hc/en-us/requests/new

When you submit a report, we can track, reproduce, and address this bug as quickly as possible. Thanks again!