Skip to main content

Hi.

I originally created this discussion to ask a question about something that I eventually worked out while writing this post. I believe the term is "cardboard programmer"!

While working through the Iterable Academy's "Foundations: Introduction to API" lesson I was unable to get "getByEmail" API to work. I would continuously get a 401 error with a "BadApiKey" code and the msg "Disabled API key or insufficient privileges".

I have permissions to create API keys (which is the one I was using for the lesson) and am able navigate to the User through Audience > Lists page in order to find a valid email on which to search. In the "API Keys" page the key I was using is showing as enabled.

What I eventually discovered is that I did not have the key configured as a "Server-Side" type key. As I am as green as they come to Iterable I was not really sure of the implications of this. I will certainly leave comments in the session feedback in a moment, but where can I find documentation about the various key types and what they are for?

Thanks in advance. Tony T. 😊





Hi Tony Tullemans here's a good support doc where you can find more information about API key usage in Iterable including the different types of keys: https://support.iterable.com/hc/en-us/articles/360043464871-API-Keys-


Reply