Hey for some reason when I try to access newer endpoints I get a 401 not_authenticated response. I try to make the call like this: https://a.klaviyo.com/api/lists?key={key}.
When I try to do this with v1 or v2 endpoints it is working. I noticed that in the newer endpoints, the authorization is in the headers while in v1 and v2 it's inside the URL like I showed. I tried to put the key in the headers but I still get the not_authenticated response.
So how should I make the request for it to work?