How do I get ALL members list in a given memberGroupId using Emma API.

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
I used the following but it is returning only 500 members

GET /#account_id/groups/#member_group_id/members

Is there any limit? In my case the total number of members in the specified memberGroupId is more than 100K. What I want to do is that, to get all members and filter out members with 'error' statuses and then change their status back to active through code.

any thought?
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,


Yep. You're going to need to follow the pagination guidelines found on this page: http://api.myemma.com/pagination.html


Hope that helps,

Kyle
(Edited)