Can I use the API to find all contacts with error status?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
Hi,
We are trying to setup a report to run using the API. Specifically, what we are looking for is an API call that we can make to search
for all of our association members in error status.

We tried to make a search query that can run from the API, but
do not see any option to select just error accounts.

Can you provide directions on how to accomplish this?

Thank you.
Photo of Amber Howell

Amber Howell

  • 90 Posts
  • 2 Reply Likes

Posted 2 years ago

  • 0
  • 1
Photo of Anthony Miranda

Anthony Miranda, Customer Support Specialist

  • 135 Posts
  • 16 Reply Likes
Official Response
Hi Amber,

I'd be happy to help out with this! The API parameter that Josué mentioned is going to be the way you can find those specific members. Here is an example of a call that will take all members in your audience with a member status of Error and move them to a specified group:

PUT /(account_id)/members/(group_id)/copy
{
"member_status_id": [
"e"
]
}

true

If that's not exactly what you hope to accomplish, keep that parameter in mind and take a look at our API Documentation for more info. Our open API is a do-it-yourself tool, but I'm always happy to help get you moving in the right direction!