Skip to content

Reference

Klaviyo

Connect Klaviyo to Alter Vault for secure API access

Use Klaviyo credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDklaviyo
CategoryMarketing
Credential TypeAPI Key

Log in to Klaviyo

Log in to Klaviyo at www.klaviyo.com.

Go to Settings → Account → API Keys

Go to Settings → Account → API Keys at www.klaviyo.com/settings/account/api-keys.

Create a Private API Key

Click ‘Create Private API Key’.

Copy your API key

Copy the generated private API key.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Klaviyo

Go to Managed Secrets > Add Provider > Klaviyo.

Enter credentials

Paste your API Key into the credential field.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.GET,
"https://a.klaviyo.com/api/lists",
grant_id="YOUR_GRANT_ID",
extra_headers={"revision": "2026-07-15"},
)

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
assign_template_to_campaign_messagesendPOST/api/campaign-message-assign-template
cancel_campaign_senddelete, sendPATCH/api/campaign-send-jobs/{id}
create_campaignsendPOST/api/campaigns
create_campaign_clonesendPOST/api/campaign-clone
send_campaignsendPOST/api/campaign-send-jobs
update_campaignsendPATCH/api/campaigns/{id}
update_campaign_messagesendPATCH/api/campaign-messages/{id}
update_image_for_campaign_messagesendPATCH/api/campaign-messages/{id}/relationships/image
bulk_create_coupon_codespaymentPOST/api/coupon-code-bulk-create-jobs
create_couponpaymentPOST/api/coupons
create_coupon_codepaymentPOST/api/coupon-codes
delete_coupondelete, paymentDELETE/api/coupons/{id}
delete_coupon_codedelete, paymentDELETE/api/coupon-codes/{id}
update_couponpaymentPATCH/api/coupons/{id}
update_coupon_codepaymentPATCH/api/coupon-codes/{id}
delete_campaigndeleteDELETE/api/campaigns/{id}
delete_catalog_categorydeleteDELETE/api/catalog-categories/{id}
delete_catalog_itemdeleteDELETE/api/catalog-items/{id}
delete_catalog_variantdeleteDELETE/api/catalog-variants/{id}
delete_custom_metricdeleteDELETE/api/custom-metrics/{id}
delete_data_sourcedeleteDELETE/api/data-sources/{id}
delete_flowdeleteDELETE/api/flows/{id}
delete_flow_actiondeleteDELETE/api/flow-actions/{id}
delete_formdeleteDELETE/api/forms/{id}
delete_listdeleteDELETE/api/lists/{id}
create_client_push_tokenadmin, writePOST/client/push-tokens
create_push_tokenadmin, writePOST/api/push-tokens
create_tag_groupadmin, writePOST/api/tag-groups
create_webhookadmin, writePOST/api/webhooks
update_tag_groupadmin, writePATCH/api/tag-groups/{id}
add_profiles_to_listwritePOST/api/lists/{id}/relationships/profiles
bulk_create_catalog_categorieswritePOST/api/catalog-category-bulk-create-jobs
bulk_create_catalog_itemswritePOST/api/catalog-item-bulk-create-jobs
bulk_create_catalog_variantswritePOST/api/catalog-variant-bulk-create-jobs
bulk_create_client_eventswritePOST/client/event-bulk-create
bulk_create_data_source_recordswritePOST/api/data-source-record-bulk-create-jobs
bulk_create_eventswritePOST/api/event-bulk-create-jobs
update_profilewritePATCH/api/profiles/{id}
get_action_for_flow_messagereadGET/api/flow-messages/{id}/flow-action
get_action_id_for_flow_messagereadGET/api/flow-messages/{id}/relationships/flow-action
get_bulk_create_catalog_items_jobreadGET/api/catalog-item-bulk-create-jobs/{job_id}
get_bulk_create_categories_jobreadGET/api/catalog-category-bulk-create-jobs/{job_id}
get_bulk_create_coupon_codes_jobreadGET/api/coupon-code-bulk-create-jobs/{job_id}
get_bulk_create_variants_jobreadGET/api/catalog-variant-bulk-create-jobs/{job_id}

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.