activecampaign-api-nodejs
activecampaign-api-nodejs copied to clipboard
add contact
Hi I am tring to add contact, added successfully but firstName and lastName is not showing as full name. Please also let me know how I can add contact in list? Please help.
I was having the same problem, turns out the documentation in their website is for v3 while the library seems to be using 1x or 2x.. I was able to solve it by following the docs of v1:
var contact = {
email: '[email protected]',
'first_name': 'pepe',
'last_name': 'roberto',
'field[1]': 'company',
'field[7]': 'website-contact',
};