K
Klaviyo REST API
Details
Authentication
Authorization: Klaviyo-API-Key <credential> /?company_id=<credential> In your Klaviyo account, open API keys settings and create or copy a Private API Key. Klaviyo's API docs describe private key authentication for server-side APIs, and the CLI docs say the headless CLI accepts a private API key via --api-key or the KLAVIYO_API_KEY environment variable. Keep it server-side only.
Authorization: Bearer <credential> Create a public OAuth app using Klaviyo's partner/app flow described in Create a public OAuth app. After registering the app, configure scopes and redirect URIs, then have users install/connect it to obtain OAuth access tokens as described in Make API calls using OAuth and Handle your app's OAuth flow.