Jan 30, 2023 5:27 AM
Hi,
I want to get all my subscribed contact with API, but with the doc I can see it's a call one by one with the Email. Is there a way to get all contact with one call and not contact by contact (batch, search)?
Thanks
Jan 30, 2023 6:49 PM
Hi, @AGautheyrou 👋 Thanks for the question. You are correct that there is not a batch endpoint for this request.
Have you considered leveraging the List tool and API?
You can create an active list of subscribers and then query the list to get the contacts from the list, either all contacts on a list or only contacts recently add to a list:
An example of the list filter might look like this:
This knowledge base article gives more detail into opted-in and not-opted-in statues.
Have fun building!
— Jaycee