I’m trying to figure out the best way to pull all subscription data, but we see that the API doesn't have any GET method to do this like for users or campaigns. Is there a way to pull subscriptions? Here is the link of the subscriptions’s API endpoints list: https://support.iterable.com/hc/en-us/articles/204780579-API-Overview-and-Sample-Payloads#subscriptions
Hey
If I’m understanding you correctly, what you’d like to do is pull a list of every subscription (i.e. channel) type and message type possible.
If that’s the case, you can try looking at the GET methods for Channels and Message Types, which will correspond to those which are defined in your project settings (Settings > Current Project > Message Channels & Types). Once you have those, you can tie together what each individual user’s subscriptions are via the IDs.
I am not experienced with the /subscriptions endpoints you mentioned so if there are any special considerations to them, this guidance may not be helpful, but for most use cases this approach will get you what you’d otherwise be looking for from a /subscriptions GET request.
Hope that’s helpful! Let me know if you have any follow up questions.
Hey
If things work out, I’d appreciate it if you’d mark my response as “best answer,” or let us know what you find out if they don’t.
Have a great day!
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 accountEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.