Contact_Add_Multiple( string keyarray contactsoptional struct optionalParameters)

Note: When using one of the API wrappers, you do not need to pass the API key. The wrapper will pass the key for you, your first parameter should be the second parameter in the signature.


Add multiple contacts with custom fields. 


  string key Your API key - used to authenticate your account
  array contacts Array of contact structs
contacts is an array of structs, where each struct can contain:
- email => value
- customFieldToken => value
- customFieldId => value

Each contact struct must have a valid email

contacts = [
{"email":"", "first_name":"Test", "last_name":"User"},
{"email":"", 1:"Support", 2:"User"}

contacts = [
optional struct optionalParameters A struct of optional parameters, see below for valid keys

optionalParameters can include:

bool activateDeleted If this contact was already deleted, reactivate them - defaults to true
bool updateCustomFields If this contact already exists, replace custom field values with values provided - defaults to false


struct Aggregate import results

Still need help? Contact Us Contact Us