Version 2023-08-15
Hi! I was using a klaviyo/sdk-php that is deprecated so I need now to change it for the new sdk klaviyo-api.
I’m following Klaviyo developers guide of the stable version 2023-08-15 and also I’m doing the klaviyo developer certification at the same time, (I though that would be helpful), but I’m looking some differences between docs and while following the steps, I found out that when I’m trying to make a test API request using POSTMAN I got a 404.
https://developers.klaviyo.com/en/docs/make_your_first_api_call
In this above page, section Test with Postman, I forked Klaviyo Postman Workspace, there is not a List & Segments as it says on this documentation, but I picked just list from the postman workspace.
In the picture on the same section, looks like the example filled up Params (for authorization) and Body/x-www-form-urlencoded (to create the list) and shows the
POST {{baseUrl}}/v2/lists?api_key=PRIVATE_KEY
and suggest to Replace the PRIVATE_KEY value with a private API key from your account. But in the forked Postman workspace the
POST {{baseUrl}}/api/lists/
My question is how is the correct way to authorize the API call, I tried all the combinations using Params and also using Authorization type API Key.
Thank you!
