ActiveCampaign Forum

List all custom fields with limit of 20 fields


#1

I’m following this DOC https://developers.activecampaign.com/v3/reference#retrieve-fields-1

I currently have 21 custom fields, but with this endpoint it’s returning 20 fields only.

Here is the result:

{
    "fieldOptions": [],
    "fieldRels": [20 items],
    "fields": [20 items],
    "meta": {
        "total": "21",
        "selected": null
    }
}

As you can see, it’s only returning 20 items into fields, but the metadata says it has 21 in total.

How can I retrieve all custom fields?


#2

Hi, Active campaign provides default 20 records, if you want to fetch more records than you can pass limit in your api. like api/3/fields?limit=100

This is fetch 100 records