Klaviyo
Profiles, lists, campaigns, flows and email and SMS metrics
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Private API key (pk_…)SecretRequired
- API revisionOptional
Where to find them
- In Klaviyo, account menu (bottom left) → “Settings” → “Account” → “API keys” → “Create Private API Key”.
- Name it and choose the access: “Read-only” to query, “Full Access” for everything or “Custom” with read access to “Accounts” (used by the connection test) and write access to whatever you will modify (Lists, Profiles, Campaigns…).
- Copy the key (pk_…): it is shown only once.
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Klaviyo, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- In Klaviyo, as an owner, admin or manager user, open klaviyo.com/manage-apps and click “Create app”.
- Name it “Maua.Culturewire”, click “Continue” and, in the OAuth settings, paste the redirect URI shown below into “Redirect URLs” and the permissions (scopes) listed below into “Scopes” (accounts:read is required).
- Save and copy the “Client ID” and the “Client secret” (the secret is shown only once). Access renews itself as long as the app stays installed; if Maua.Culturewire goes 90 days without being used, you must authorize again.
Default scopes
accounts:readprofiles:readprofiles:writelists:readlists:writesegments:readcampaigns:readcampaigns:writeflows:readmetrics:readevents:readevents:writetags:readtemplates:readsubscriptions:readsubscriptions:write
Tools (1)
Klaviyo API request
KLAVIYO_SEND_REQUESTAuthenticated call to the Klaviyo API (https://a.klaviyo.com/api). Any endpoint of the API is allowed. JSON:API; pagination with links.next. Examples: GET /lists?fields[list]=name, GET /lists/{id}/profiles?page[size]=100, GET /profiles?filter=equals(email,"you@example.com"), POST /profile-import {"data": {"type": "profile", "attributes": {"email": "…", "first_name": "…"}}} (creates or updates), POST /lists/{id}/relationships/profiles {"data": [{"type": "profile", "id": "…"}]}, GET /campaigns?filter=equals(messages.channel,'email') (the channel filter is required), GET /flows, GET /metrics, POST /campaign-values-reports {"data": {"type": "campaign-values-report", "attributes": {"statistics": ["opens", "clicks", "conversion_value"], "timeframe": {"key": "last_30_days"}, "conversion_metric_id": "…"}}} (the ID of “Placed Order” comes from GET /metrics), POST /events.
Required scopes
No scopes required
Input
Klaviyo API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

