Skip to main content
Hi,

It would be very helpful for me to be able to subscribe a new user to a specific static list (/api/lists/subscribe) from a client-side environment / using JavaScript and/or Mobile key, which further will allow me to fully automate a workflow using "Subscribe to a List" trigger, which currently only accept a static list.

I'm currently using /api/users/update to flow new subscribers into Iterable and the downside is that it won't allow me to assign them to a static list (i had to make a dynamic list to see them inside Iterable) and thus prevent me from adding them to a workflow using "Subscribe to a List" trigger, so i had to work around it by using a "Custom Event" trigger and do an extra event tracking API call for it.

Any feedback or suggestion would be appreciated, thank you.
Hello Ryan,

You can assign users from the workflow node. This Assign Node will all be automatic for you.

Using the API endpoint, lists/subscribe, you can subscribe users to a static list.

API endpoint: https://api.iterable.com/api/docs#lists_subscribe

I hope this helps!
Hi Pierce, thanks for your reply. The API endpoint lists/subscribe however, can only be accessed with a Standard API key which shouldn't be exposed on a client-side environment. So i'm wondering if it's possible for Iterable to make this endpoint accessible with a JavaScript and/or Mobile API key, which would be very helpful to us engineers who work with multiple clients using Iterable.
This type of API key was made this way to try and help secure the data of your users. I can surface your request to have this endpoint edited to our product team for you!
Thanks! That would be great. I understand that may be a concern, but the endpoint /api/users/update, which is accessible with JS and Mobile key, can pretty much do similar thing (in a way, more) as it is able to flow new users into Iterable on top of updating existing users, but unfortunately it is unable to assign them to a specific static list.

Reply