Hello! While reading the community forum and developer docs, I got the impression that API calls are possible using regular JS, but anytime I try to request something I get CORS error and that is the end of it. I tried both public and private API keys, AJAX and fetch(), configured the list to be single opt-in and double opt-in. Even used the provided JS script in the docs and used my private email for testing and still it does not work. Is it even possible to do that right now and what am I doing wrong? Here are the links I used for reference: for the list subscription https://developers.klaviyo.com/en/reference/subscribe, and for Back in Stock I found this from one of the accepted answers:
This does not work for me, so If you have any idea why lemme know. Thanks!
Best answer by stephen.trumbleView original