ActiveCampaign Forum

How to create a contact with a list subscription in v3


#1

Hi,

I can create a new contact with api v3 request (Postman example):
URL:
https://cloudenica.api-us1.com/api/3/contact/sync
HEADERS:
“Api-Token”: “1234”
BODY:
{
“contact”: {
“email”: "johndoe9@example.com",
“firstName”: “John9”
}
}

However, I would like to add this contact to a list, when creating.
Is this possible?