Manage email campaigns and subscriber lists with Klaviyo email marketing platform
The Klaviyo API allows you to manage email marketing campaigns and subscriber lists with advanced segmentation and personalization. You can create and send campaigns, manage subscriber lists, add and remove subscribers, track campaign performance, and handle all aspects of your email marketing automation with Klaviyo’s powerful platform.
Required:
action
- The action to perform (create, get, send, add, remove)entity
- The entity type (campaign, list, subscriber)name
- Campaign or list namesubject
- Email subject linefrom_email
- Sender email addressOptional:
list_id
- List ID for campaigns and subscriberstemplate_id
- Template ID for campaignssend_time
- Scheduled send timecontent_type
- Content type (html, text)phone_number
- Subscriber phone numberfirst_name
- Subscriber first namelast_name
- Subscriber last nameCreate a new email campaign in Klaviyo.
Parameters:
name
(required) - Campaign namelist_id
(required) - Target list IDtemplate_id
(required) - Template IDsubject
(required) - Email subject linefrom_email
(required) - Sender email addressfrom_name
(required) - Sender namecontent_type
(optional) - Content type (html, text)Example:
Response:
Retrieve a list of campaigns in Klaviyo.
Parameters:
status
(optional) - Filter by campaign statuslimit
(optional) - Number of campaigns to returnExample:
Response:
Send a campaign that has been created and is in draft status.
Parameters:
campaign_id
(required) - Campaign ID to sendsend_time
(optional) - Scheduled send time (ISO format)Example:
Response:
Create a new subscriber list in Klaviyo.
Parameters:
name
(required) - List namelist_type
(optional) - List type (default: “list”)Example:
Response:
Add a subscriber to a specific list in Klaviyo.
Parameters:
list_id
(required) - List ID to add subscriber toemail
(required) - Subscriber email addressphone_number
(optional) - Subscriber phone numberfirst_name
(optional) - Subscriber first namelast_name
(optional) - Subscriber last nameExample:
Response:
Remove a subscriber from a specific list in Klaviyo.
Parameters:
list_id
(required) - List ID to remove subscriber fromemails
(required) - Array of email addresses to removeExample:
Response:
Retrieve a list of all subscriber lists in Klaviyo.
Parameters:
limit
(optional) - Number of lists to returnoffset
(optional) - Number of lists to skipExample:
Response:
Campaign status includes draft, sending, sent, and scheduled. List types are typically “list” for standard subscriber lists. Subscriber profiles support custom properties and attributes. Send times use ISO 8601 format for scheduling. Templates must be created in Klaviyo dashboard before use in campaigns. Phone numbers should include country code. Uses Paragon proxy connection. Profiles can be segmented based on behavior and attributes. Campaign analytics and performance metrics are available through separate endpoints.