Hi there,
I'm working with the Iterable API and wondering if there's a simple way to check if a given email is on a mailing list. Right now, it seems like you'd have to get all lists for the account (GET request to '/lists') then, for each list, get all users (which could pose problems if there are lots of users), then check whether the desired email is among those users. This is a lot of calls and a lot of processing - is there another way?
Page 1 / 1
this only works for static lists, but you can use the https://api.iterable.com/api/docs#users_getUser endpoint for that one user, and look at their `emailListIds` array. Then you can compare it to the list ID of the mailing list you have!
perfect, that's what I did! thanks!
Reply
Create a new Iterable Plaza community account
Already have an account? Login
Login to the Iterable Plaza Community
Not a customer? Create an account
Log in to Iterable (SSO)
Iterable customers and employees login/create an accountor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.