Skip to main content

Add contacts to contact lists

POST 

/api/partner-gateway/contacts/list/contacts

Adds contacts to contact lists in bulk: several contacts to several lists in one call.

  • Always required: listIds, the lists to add the contacts to.
  • Specific contacts: send contactIds, with allContacts false.
  • Everyone: send allContacts true. All the contacts of your account are added to the lists, except those in excludeIdsAllContacts.
  • No duplicates: a contact that is already in a list keeps its membership.
  • The response holds contact IDs, not membership IDs: one entry for each new membership, so a contact added to two lists appears twice. Contacts that were already in a list are left out, and the array is empty when allContacts is true.

Request​

Responses​

IDs of the contacts newly added, one entry for each new membership.