Skip to main content

How to set a contact's associated list item to a status of "2" via API

  • July 23, 2024
  • 2 replies
  • 396 views

Hello friends!

The following example in a GET request call, helps me to see list(s) associated to a contact, as well as basic contact information, all by their email address.

https://<account name>/api/3/contacts?include=contactLists&filters[email]=<email address>

…But if I want to update the ‘status’ value of a list item that is associated to this contact, what would be a good API example for a POST request to change status to 2, for list id 123456?

Does this API call only occur one at a time, or can I set multiple list items to a status value of “2”, in a single API POST request? If so how?

Many thanks!

2 replies

Ah, sorry I wasn’t a bit more patient, but I believe I found a good resource here
Update list status for a contact (activecampaign.com)

…and I am now realizing I can modify the body parameters on that page to see a full example fleshed out!

Many thanks!


Happy you found what you were looking for! Nice investigation skills! 😎