Edit custom fields with the API

Hi everybody. I am currently trying to setup API calls from my back-end so that AC can perform some automation. However, in the doc, about custom fields, the “contact_edit” api endpoint doesn’t really say what to do depending on the type of the field. Like, how to update a custom field that is made of checkboxes ? Of radio buttons ?

Thanks.

Hey woleet41059,

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 endpoint contact_edit documentation is not as descriptive as our v3 endpoint /api/3/fieldValues/{id}.

I’d recommend referencing this API documentation https://developers.activecampaign.com/reference/update-a-custom-field-value-for-contact in updating contacts with checkbox/dropdown fields.

Please don’t hesitate to reply back out or email us at help@activecampaign.com if you have any further questions.