ActiveCampaign Forum

Create multiple Contacts in one go using /api/3/contacts (POST)


#1

Hi Guys,
I am trying to create multiple Contacts in one go using /api/3/contacts (POST)
The sample is
{
“contact”: {
“email”: "shark3@example.com",
“firstName”: “Shark1”,
“lastName”: “Smith”
}
}

I tried to create another instance and make it look like

{
“contact”: {
“email”: "shark3@example.com",
“firstName”: “Shark1”,
“lastName”: “Smith”
},
“contact”: {
“email”: "shark4@example.com",
“firstName”: “Shark2”,
“lastName”: “Smith”
}

}
But it still only created one record instead of 2…

Any ideas?


#2

Hi, I would like to know if this is possible or is there any other way to sync contacts in a batch since creating multiple new contacts or abandoned carts takes a lot of time if I must send POST requests one by one.