ActiveCampaign Forum

How to add or update list id to contact custom field using API


#1

Hi,

I am creating contact custom field using below-mentioned details

URL: https://mywebiste.com/api/3/fields
Method: POST
Body:
{
“field”: {
“type”: “text”,
“title”: “payment info”,
“descript”: “payment”,
“isrequired”: 1,
“defval”: “Defaut Value”,
“show_in_list”: 1,
“visible”: 1,
“ordernum”: 2
}
}
But after creating this custom field not appearing on contact view page.

The thing is if you link list id to the custom field then only it will appear on contact view page. It’s possible from the front end

Is there any such API to link fieldRels(list id) to custom field

Thanks


#2

At the moment there is no way to add to fieldRels but we have this on our roadmap to expose soon.