Remove From Lists


Add to / Remove from lists


This action can be used on contacts only and is used to add contacts to static lists and/or to remove contacts from static lists.

This action is added as a top level parameter on the contact record and only needs to be sent once to perform the action; you do not need to send the lists that you want the contact to belong to each time.


Finding the list IDs


First login to the platform.

Then go to the saved segments page (from the navigation bar: CUSTOMER > SAVED SEGMENTS).

The list IDs are shown on the left hand side of the table.

Please note, the list IDs are unique across Ometria and so you will need to find the list IDs for the staging account and live account.


Example

In this example we are adding the contact record with id GE9834 to the lists with IDs 1, 2, and 3 before and removing them from the lists with IDs 4, 5, and 6.

{
    "@type": "contact",
    "id": "GE9834",
    "email": "test@example.com",
    "@add_to_lists": [1, 2, 3],
    "@remove_from_lists": [4, 5, 6]
}