API - list of OptedOut Members in a group / account?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
How can I get all list of opted out members in a specified group or account? It requires me a lot of work by individual mailing, I assumed the API would have by group id.
Photo of Ambit Energy

Ambit Energy

  • 13 Posts
  • 3 Reply Likes

Posted 2 years ago

  • 0
  • 1
Photo of Kyle Gregory | Lipscomb University

Kyle Gregory | Lipscomb University, Champion

  • 99 Posts
  • 69 Reply Likes
Official Response
Hey @Ambit Energy

GET /#account_id/groups/#member_group_id/members
You'll need to pull the members of a group and sort (in your own code) by those that are opted out.

Hope that helps,
Kyle