Skip to main content
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?
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