> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/marketing/klaviyo.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Klaviyo

Klaviyo is a marketing automation platform. Manage profiles, lists, campaigns, catalogs, coupons and events.

![Klaviyo logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-93d435aade5b6d1d869cc4fe9fe8bf2e62b1799c%2Fklaviyo.png?alt=media)

|                    |                                                                        |
| ------------------ | ---------------------------------------------------------------------- |
| **Category**       | [Marketing](https://docs.fastn.ai/connectors/catalog/marketing.md)     |
| **Website**        | [klaviyo.com](https://klaviyo.com)                                     |
| **Authentication** | API key                                                                |
| **Slug**           | `klaviyo`                                                              |
| **On fastn.ai**    | [Embed Klaviyo in your product](https://fastn.ai/integrations/klaviyo) |

## Setup

Your customers enter their API key for Klaviyo when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Klaviyo from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Klaviyo**.
2. Select **Connect** on the Klaviyo card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Klaviyo's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Catalog Category Item Relationships</td><td><code>addCatalogCategoryItemRelationships</code></td><td>Add items to a catalog category.</td></tr><tr><td>Add Catalog Item Category Relationships</td><td><code>addCatalogItemCategoryRelationships</code></td><td>Add category relationships to a catalog item.</td></tr><tr><td>Add Profiles to List</td><td><code>addProfilesToList</code></td><td>Add one or more profiles to a list (relationship create). Pass profile IDs.</td></tr><tr><td>Add Tag to Lists</td><td><code>tagAddToLists</code></td><td>Associate a tag with one or more lists (relationship create).</td></tr><tr><td>Assign Campaign Message Template</td><td><code>assignCampaignMessageTemplate</code></td><td>Assign a template to a campaign message. Klaviyo clones the template and assigns the clone to the message.</td></tr><tr><td>Bulk Create Coupon Codes</td><td><code>bulkCreateCouponCodes</code></td><td>Create a bulk coupon code creation job to generate many coupon codes at once.</td></tr><tr><td>Bulk Create Data Source Records</td><td><code>bulkCreateDataSourceRecords</code></td><td>Bulk create multiple data source records in a single job.</td></tr><tr><td>Bulk Create Events</td><td><code>bulkCreateEvents</code></td><td>Create multiple events for one profile in a single request.</td></tr><tr><td>Bulk Import Profiles</td><td><code>bulkImportProfiles</code></td><td>Asynchronously bulk create/update up to 10,000 profiles. Optionally associate them to a list via relationships.</td></tr><tr><td>Cancel Campaign Send Job</td><td><code>cancelCampaignSendJob</code></td><td>Cancel or revert a campaign send job by ID.</td></tr></tbody></table>

<details>

<summary>View 250 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Clone Template</td><td><code>cloneTemplate</code></td><td>Clone an existing template into a new template with a given name.</td></tr><tr><td>Create Back In Stock Subscription</td><td><code>createBackInStockSubscription</code></td><td>Subscribe a profile to back-in-stock notifications for a catalog variant.</td></tr><tr><td>Create Campaign</td><td><code>createCampaign</code></td><td>Create a campaign with name, audiences, send strategy and campaign-messages.</td></tr><tr><td>Create Campaign Send Job</td><td><code>createCampaignSendJob</code></td><td>Trigger sending of a campaign immediately by creating a send job.</td></tr><tr><td>Create Catalog Category</td><td><code>createCatalogCategory</code></td><td>Create a new catalog category.</td></tr><tr><td>Create Catalog Category Bulk Create Job</td><td><code>createCatalogCategoryBulkCreateJob</code></td><td>Bulk create catalog categories via a background job.</td></tr><tr><td>Create Catalog Category Bulk Delete Job</td><td><code>createCatalogCategoryBulkDeleteJob</code></td><td>Bulk delete catalog categories via a background job.</td></tr><tr><td>Create Catalog Category Bulk Update Job</td><td><code>createCatalogCategoryBulkUpdateJob</code></td><td>Bulk update catalog categories via a background job.</td></tr><tr><td>Create Catalog Item</td><td><code>createCatalogItem</code></td><td>Create a new catalog item. Provide attributes (external_id, title, description, url, price, etc.) and the catalog relationship.</td></tr><tr><td>Create Catalog Item Bulk Create Job</td><td><code>createCatalogItemBulkCreateJob</code></td><td>Bulk create catalog items via a background job.</td></tr><tr><td>Create Catalog Item Bulk Delete Job</td><td><code>createCatalogItemBulkDeleteJob</code></td><td>Bulk delete catalog items via a background job.</td></tr><tr><td>Create Catalog Item Bulk Update Job</td><td><code>createCatalogItemBulkUpdateJob</code></td><td>Bulk update catalog items via a background job.</td></tr><tr><td>Create Catalog Variant</td><td><code>createCatalogVariant</code></td><td>Create a new catalog variant linked to a catalog item.</td></tr><tr><td>Create Catalog Variant Bulk Create Job</td><td><code>createCatalogVariantBulkCreateJob</code></td><td>Bulk create catalog variants via a background job. Each variant must reference a parent catalog item.</td></tr><tr><td>Create Catalog Variant Bulk Delete Job</td><td><code>createCatalogVariantBulkDeleteJob</code></td><td>Bulk delete catalog variants via a background job.</td></tr><tr><td>Create Catalog Variant Bulk Update Job</td><td><code>createCatalogVariantBulkUpdateJob</code></td><td>Bulk update catalog variants via a background job.</td></tr><tr><td>Create Conversation Message</td><td><code>createConversationMessage</code></td><td>Send a message to an existing SMS conversation.</td></tr><tr><td>Create Coupon</td><td><code>createCoupon</code></td><td>Create a new coupon. Body must follow Klaviyo JSON:API format with data.type 'coupon'.</td></tr><tr><td>Create Coupon Code</td><td><code>createCouponCode</code></td><td>Create a unique coupon code associated with a coupon, optionally tied to a profile.</td></tr><tr><td>Create Data Source</td><td><code>createDataSource</code></td><td>Create a new data source.</td></tr><tr><td>Create Data Source Record</td><td><code>createDataSourceRecord</code></td><td>Create a single data source record (ingest a record into a data source).</td></tr><tr><td>Create Event</td><td><code>createEvent</code></td><td>Track an event for a profile against a metric. Provide the full event data object (properties, metric, profile, time, value).</td></tr><tr><td>Create Flow</td><td><code>createFlow</code></td><td>Create a new flow with triggers, actions, and optional profile filters.</td></tr><tr><td>Create Form</td><td><code>createForm</code></td><td>Create a new signup form in Klaviyo with the given definition, status, and name.</td></tr><tr><td>Create List</td><td><code>createList</code></td><td>Create a new list with a name.</td></tr><tr><td>Create or Update Profile</td><td><code>createOrUpdateProfile</code></td><td>Upsert a profile by identifier (email/phone_number/external_id). Creates if new, updates if existing.</td></tr><tr><td>Create Profile</td><td><code>createProfile</code></td><td>Create a new profile with attributes such as email, phone_number, first_name, last_name, and custom properties.</td></tr><tr><td>Create Profile Bulk Import Job</td><td><code>createProfileBulkImportJob</code></td><td>Create a new profile bulk import job to import or update profiles.</td></tr><tr><td>Create Profile Subscription Bulk Create Job</td><td><code>createProfileSubscriptionBulkCreateJob</code></td><td>Bulk subscribe profiles to email/SMS channels, optionally adding them to a list.</td></tr><tr><td>Create Profile Subscription Bulk Delete Job</td><td><code>createProfileSubscriptionBulkDeleteJob</code></td><td>Bulk unsubscribe profiles from email/SMS channels.</td></tr><tr><td>Create Push Token</td><td><code>createPushToken</code></td><td>Create or update a push token for a profile. Used to register a device push token from APNS (iOS) or FCM (Android).</td></tr><tr><td>Create Segment</td><td><code>createSegment</code></td><td>Create a new segment with a name and a segment definition (condition groups).</td></tr><tr><td>Create Tag</td><td><code>createTag</code></td><td>Create a new tag, optionally under a tag group.</td></tr><tr><td>Create Tag Group</td><td><code>createTagGroup</code></td><td>Create a new tag group.</td></tr><tr><td>Create Template</td><td><code>createTemplate</code></td><td>Create a new email template with name and HTML content.</td></tr><tr><td>Create Universal Content</td><td><code>createUniversalContent</code></td><td>Create a new template universal content block.</td></tr><tr><td>Create Web Feed</td><td><code>createWebFeed</code></td><td>Create a new web feed.</td></tr><tr><td>Create Webhook</td><td><code>createWebhook</code></td><td>Create a new webhook subscription for selected event topics Topics are subscribed via the relationships.webhook-topics.data array.</td></tr><tr><td>Delete Campaign</td><td><code>deleteCampaign</code></td><td>Delete a campaign by ID.</td></tr><tr><td>Delete Catalog Category</td><td><code>deleteCatalogCategory</code></td><td>Delete a catalog category by its compound ID.</td></tr><tr><td>Delete Catalog Item</td><td><code>deleteCatalogItem</code></td><td>Delete a catalog item by its compound ID.</td></tr><tr><td>Delete Catalog Variant</td><td><code>deleteCatalogVariant</code></td><td>Delete a catalog variant by its compound ID.</td></tr><tr><td>Delete Coupon</td><td><code>deleteCoupon</code></td><td>Delete a coupon by ID.</td></tr><tr><td>Delete Coupon Code</td><td><code>deleteCouponCode</code></td><td>Delete a coupon code by ID.</td></tr><tr><td>Delete Data Source</td><td><code>deleteDataSource</code></td><td>Delete a data source by ID.</td></tr><tr><td>Delete Flow</td><td><code>deleteFlow</code></td><td>Delete a flow by ID.</td></tr><tr><td>Delete Form</td><td><code>deleteForm</code></td><td>Delete a form by ID.</td></tr><tr><td>Delete List</td><td><code>deleteList</code></td><td>Delete a list by ID.</td></tr><tr><td>Delete Push Token</td><td><code>deletePushToken</code></td><td>Delete a push token by ID.</td></tr><tr><td>Delete Segment</td><td><code>deleteSegment</code></td><td>Delete a segment by ID.</td></tr><tr><td>Delete Tag</td><td><code>deleteTag</code></td><td>Delete a tag by ID.</td></tr><tr><td>Delete Tag Group</td><td><code>deleteTagGroup</code></td><td>Delete a tag group by ID.</td></tr><tr><td>Delete Template</td><td><code>deleteTemplate</code></td><td>Delete a template by ID.</td></tr><tr><td>Delete Universal Content</td><td><code>deleteUniversalContent</code></td><td>Delete a template universal content block by ID.</td></tr><tr><td>Delete Web Feed</td><td><code>deleteWebFeed</code></td><td>Delete a web feed by ID.</td></tr><tr><td>Delete Webhook</td><td><code>deleteWebhook</code></td><td>Delete a webhook subscription by ID.</td></tr><tr><td>Get Account</td><td><code>getAccount</code></td><td>Get a single account by ID.</td></tr><tr><td>Get Accounts</td><td><code>getAccounts</code></td><td>Get details for the account(s) associated with the API key, including contact info, timezone, and currency.</td></tr><tr><td>Get All Universal Content</td><td><code>getUniversalContents</code></td><td>List all template universal content blocks in the account. Supports filtering, sorting, and cursor-based pagination.</td></tr><tr><td>Get Bulk Create Coupon Code Jobs</td><td><code>getBulkCreateCouponCodeJobs</code></td><td>List all bulk coupon code creation jobs.</td></tr><tr><td>Get Bulk Create Coupon Codes Job</td><td><code>getBulkCreateCouponCodesJob</code></td><td>Get the status of a specific bulk coupon code creation job.</td></tr><tr><td>Get Campaign</td><td><code>getCampaign</code></td><td>Get a single campaign by ID.</td></tr><tr><td>Get Campaign Message</td><td><code>getCampaignMessage</code></td><td>Get a single campaign message by ID.</td></tr><tr><td>Get Campaigns</td><td><code>getCampaigns</code></td><td>List campaigns. Requires a messages.channel filter (e.g. equals(messages.channel,'email')). Supports sort, include, page[cursor].</td></tr><tr><td>Get Catalog Categories</td><td><code>getCatalogCategories</code></td><td>List catalog categories.</td></tr><tr><td>Get Catalog Category</td><td><code>getCatalogCategory</code></td><td>Get a single catalog category by ID.</td></tr><tr><td>Get Catalog Category Bulk Create Job</td><td><code>getCatalogCategoryBulkCreateJob</code></td><td>Get the status of a catalog category bulk create job.</td></tr><tr><td>Get Catalog Category Bulk Delete Job</td><td><code>getCatalogCategoryBulkDeleteJob</code></td><td>Get the status of a catalog category bulk delete job.</td></tr><tr><td>Get Catalog Category Bulk Update Job</td><td><code>getCatalogCategoryBulkUpdateJob</code></td><td>Get the status of a catalog category bulk update job.</td></tr><tr><td>Get Catalog Category Item Relationships</td><td><code>getCatalogCategoryItemRelationships</code></td><td>Get IDs of all items in a catalog category.</td></tr><tr><td>Get Catalog Category Items</td><td><code>getCatalogCategoryItems</code></td><td>Get all catalog items in a category.</td></tr><tr><td>Get Catalog Item</td><td><code>getCatalogItem</code></td><td>Get a single catalog item by ID.</td></tr><tr><td>Get Catalog Item Bulk Create Job</td><td><code>getCatalogItemBulkCreateJob</code></td><td>Get the status of a catalog item bulk create job.</td></tr><tr><td>Get Catalog Item Bulk Delete Job</td><td><code>getCatalogItemBulkDeleteJob</code></td><td>Get the status of a catalog item bulk delete job.</td></tr><tr><td>Get Catalog Item Bulk Update Job</td><td><code>getCatalogItemBulkUpdateJob</code></td><td>Get the status of a catalog item bulk update job.</td></tr><tr><td>Get Catalog Item Categories</td><td><code>getCatalogItemCategories</code></td><td>Get all categories linked to a catalog item.</td></tr><tr><td>Get Catalog Item Category Relationships</td><td><code>getCatalogItemCategoryRelationships</code></td><td>Get IDs of all categories linked to a catalog item.</td></tr><tr><td>Get Catalog Item Variant Relationships</td><td><code>getCatalogItemVariantRelationships</code></td><td>Get IDs of all variants linked to a catalog item.</td></tr><tr><td>Get Catalog Item Variants</td><td><code>getCatalogItemVariants</code></td><td>Get all variants linked to a catalog item.</td></tr><tr><td>Get Catalog Items</td><td><code>getCatalogItems</code></td><td>List catalog items. Supports filter, sort, fields, include, page[cursor].</td></tr><tr><td>Get Catalog Variant</td><td><code>getCatalogVariant</code></td><td>Get a single catalog variant by compound ID.</td></tr><tr><td>Get Catalog Variant Bulk Create Job</td><td><code>getCatalogVariantBulkCreateJob</code></td><td>Get the status of a catalog variant bulk create job.</td></tr><tr><td>Get Catalog Variant Bulk Delete Job</td><td><code>getCatalogVariantBulkDeleteJob</code></td><td>Get the status of a catalog variant bulk delete job.</td></tr><tr><td>Get Catalog Variant Bulk Update Job</td><td><code>getCatalogVariantBulkUpdateJob</code></td><td>Get the status of a catalog variant bulk update job.</td></tr><tr><td>Get Catalog Variants</td><td><code>getCatalogVariants</code></td><td>List catalog item variants.</td></tr><tr><td>Get Coupon</td><td><code>getCoupon</code></td><td>Get a single coupon by ID.</td></tr><tr><td>Get Coupon Code</td><td><code>getCouponCode</code></td><td>Get a specific coupon code by ID.</td></tr><tr><td>Get Coupon Code IDs For Coupon</td><td><code>getCouponCodeIdsForCoupon</code></td><td>Get the relationship references (coupon code IDs) for a given coupon.</td></tr><tr><td>Get Coupon Codes</td><td><code>getCouponCodes</code></td><td>Get all coupon codes, with optional filtering by coupon or profile.</td></tr><tr><td>Get Coupon Codes For Coupon</td><td><code>getCouponCodesForCoupon</code></td><td>Get all coupon codes associated with a specific coupon.</td></tr><tr><td>Get Coupon For Coupon Code</td><td><code>getCouponForCouponCode</code></td><td>Get the coupon associated with a specific coupon code.</td></tr><tr><td>Get Coupon ID For Coupon Code</td><td><code>getCouponIdForCouponCode</code></td><td>Get the relationship reference (coupon ID) for a given coupon code.</td></tr><tr><td>Get Coupons</td><td><code>getCoupons</code></td><td>Get all coupons in the account.</td></tr><tr><td>Get Data Source</td><td><code>getDataSource</code></td><td>Get a data source by ID.</td></tr><tr><td>Get Data Sources</td><td><code>getDataSources</code></td><td>Get all data sources.</td></tr><tr><td>Get Event</td><td><code>getEvent</code></td><td>Get a single event by ID.</td></tr><tr><td>Get Events</td><td><code>getEvents</code></td><td>List/query events. Supports filter, sort, fields, include, page[cursor].</td></tr><tr><td>Get Flow</td><td><code>getFlow</code></td><td>Get a specific flow by ID. Supports sparse fieldsets and includes.</td></tr><tr><td>Get Flow Action</td><td><code>getFlowAction</code></td><td>Get a specific flow action by ID, including its encoded definition.</td></tr><tr><td>Get Flow Action For Flow Message</td><td><code>getFlowActionForFlowMessage</code></td><td>Get the parent flow action for a specific flow message.</td></tr><tr><td>Get Flow Action ID For Flow Message</td><td><code>getFlowActionIdForFlowMessage</code></td><td>Get the relationship data (ID only) for the parent flow action of a flow message.</td></tr><tr><td>Get Flow Action Messages</td><td><code>getFlowActionMessages</code></td><td>Get all flow messages for a specific flow action, with filtering, sorting, and pagination.</td></tr><tr><td>Get Flow Action Relationships</td><td><code>getFlowActionRelationships</code></td><td>Get the relationship data (IDs only) for all flow actions of a flow.</td></tr><tr><td>Get Flow Actions</td><td><code>getFlowActions</code></td><td>Get all flow actions for a specific flow, with filtering, sorting, and pagination.</td></tr><tr><td>Get Flow For Flow Action</td><td><code>getFlowForFlowAction</code></td><td>Get the parent flow for a specific flow action.</td></tr><tr><td>Get Flow ID For Flow Action</td><td><code>getFlowIdForFlowAction</code></td><td>Get the relationship data (ID only) for the parent flow of a flow action.</td></tr><tr><td>Get Flow Message</td><td><code>getFlowMessage</code></td><td>Get a specific flow message by ID, including its encoded definition.</td></tr><tr><td>Get Flow Message IDs For Flow Action</td><td><code>getFlowMessageIdsForFlowAction</code></td><td>Get the relationship data (IDs only) for all flow messages of a flow action.</td></tr><tr><td>Get Flow Tag Relationships</td><td><code>getFlowTagRelationships</code></td><td>Get the relationship data (IDs only) for all tags of a flow.</td></tr><tr><td>Get Flow Tags</td><td><code>getFlowTags</code></td><td>Get all tags associated with a specific flow.</td></tr><tr><td>Get Flows Triggered by List</td><td><code>getListFlowTriggers</code></td><td>Get all flows where the given list ID is being used as the trigger.</td></tr><tr><td>Get Flows Triggered by Segment</td><td><code>getSegmentFlowTriggers</code></td><td>Get all flows where the given segment ID is being used as the trigger.</td></tr><tr><td>Get Form</td><td><code>getForm</code></td><td>Get a single form by ID.</td></tr><tr><td>Get Form for Form Version</td><td><code>getFormForFormVersion</code></td><td>Get the full parent form resource for a given form version ID.</td></tr><tr><td>Get Form ID for Form Version</td><td><code>getFormIdForFormVersion</code></td><td>Get the relationship data (parent form ID + type) for a form version via the relationships endpoint.</td></tr><tr><td>Get Form Version</td><td><code>getFormVersion</code></td><td>Get a single form version by ID.</td></tr><tr><td>Get Form Versions</td><td><code>getFormVersions</code></td><td>Get all versions for a given form.</td></tr><tr><td>Get Forms</td><td><code>getForms</code></td><td>Get all forms in the account, with optional filtering and pagination.</td></tr><tr><td>Get IDs for Flows Triggered by List</td><td><code>getListRelationshipsFlowTriggers</code></td><td>Get the IDs of all flows where the given list is being used as the trigger.</td></tr><tr><td>Get IDs for Flows Triggered by Segment</td><td><code>getSegmentRelationshipsFlowTriggers</code></td><td>Get the IDs of all flows where the given segment is being used as the trigger.</td></tr><tr><td>Get Image</td><td><code>getImage</code></td><td>Get a single image by ID</td></tr><tr><td>Get Images</td><td><code>getImages</code></td><td>Get all images in an account Supports cursor pagination, filtering, sorting, and sparse fieldsets.</td></tr><tr><td>Get List</td><td><code>getList</code></td><td>Get a single list by ID.</td></tr><tr><td>Get Lists</td><td><code>getLists</code></td><td>List all lists. Supports filter, sort, fields[list], include, page[cursor].</td></tr><tr><td>Get Metric</td><td><code>getMetric</code></td><td>Get a single metric by ID.</td></tr><tr><td>Get Metric for Event</td><td><code>getEventMetric</code></td><td>Get the metric associated with a given event.</td></tr><tr><td>Get Metrics</td><td><code>getMetrics</code></td><td>List all metrics on the account. Supports filter, fields[metric], page[cursor].</td></tr><tr><td>Get Profile</td><td><code>getProfile</code></td><td>Get a single profile by ID.</td></tr><tr><td>Get Profile Bulk Import Job</td><td><code>getProfileBulkImportJob</code></td><td>Get a specific profile bulk import job by ID.</td></tr><tr><td>Get Profile Bulk Import Job Errors</td><td><code>getProfileBulkImportJobErrors</code></td><td>Get import errors for a profile bulk import job.</td></tr><tr><td>Get Profile Bulk Import Job Lists</td><td><code>getProfileBulkImportJobLists</code></td><td>Get the lists associated with a profile bulk import job.</td></tr><tr><td>Get Profile Bulk Import Job Profiles</td><td><code>getProfileBulkImportJobProfiles</code></td><td>Get the profiles associated with a profile bulk import job.</td></tr><tr><td>Get Profile Bulk Import Job Relationships Lists</td><td><code>getProfileBulkImportJobRelationshipsLists</code></td><td>Get list IDs related to a profile bulk import job.</td></tr><tr><td>Get Profile Bulk Import Job Relationships Profiles</td><td><code>getProfileBulkImportJobRelationshipsProfiles</code></td><td>Get profile IDs related to a profile bulk import job.</td></tr><tr><td>Get Profile Bulk Import Jobs</td><td><code>getProfileBulkImportJobs</code></td><td>Get all profile bulk import jobs.</td></tr><tr><td>Get Profile Conversation</td><td><code>getProfileConversation</code></td><td>Get the conversation associated with a profile.</td></tr><tr><td>Get Profile for Event</td><td><code>getEventProfile</code></td><td>Get the profile associated with a given event.</td></tr><tr><td>Get Profile IDs for List</td><td><code>getListRelationshipsProfiles</code></td><td>Get the profile relationship IDs for a list.</td></tr><tr><td>Get Profile IDs for Segment</td><td><code>getSegmentRelationshipsProfiles</code></td><td>Get all profile membership relationship IDs for the given segment ID.</td></tr><tr><td>Get Profile Lists</td><td><code>getProfileLists</code></td><td>Get all lists that a profile is in.</td></tr><tr><td>Get Profile Push Tokens</td><td><code>getProfilePushTokens</code></td><td>Get push tokens associated with a specific profile.</td></tr><tr><td>Get Profile Relationships Lists</td><td><code>getProfileRelationshipsLists</code></td><td>Get list IDs that a profile belongs to (relationships endpoint).</td></tr><tr><td>Get Profile Relationships Push Tokens</td><td><code>getProfileRelationshipsPushTokens</code></td><td>Get push token IDs associated with a profile (relationships endpoint).</td></tr><tr><td>Get Profile Relationships Segments</td><td><code>getProfileRelationshipsSegments</code></td><td>Get segment IDs that a profile belongs to (relationships endpoint).</td></tr><tr><td>Get Profile Segments</td><td><code>getProfileSegments</code></td><td>Get all segments that a profile is in.</td></tr><tr><td>Get Profile Suppression Bulk Create Job</td><td><code>getProfileSuppressionBulkCreateJob</code></td><td>Get a specific profile suppression bulk create job by ID.</td></tr><tr><td>Get Profile Suppression Bulk Create Jobs</td><td><code>getProfileSuppressionBulkCreateJobs</code></td><td>Get all profile suppression bulk create jobs.</td></tr><tr><td>Get Profile Suppression Bulk Delete Job</td><td><code>getProfileSuppressionBulkDeleteJob</code></td><td>Get a specific profile suppression bulk delete (unsuppress) job by ID.</td></tr><tr><td>Get Profile Suppression Bulk Delete Jobs</td><td><code>getProfileSuppressionBulkDeleteJobs</code></td><td>Get all profile suppression bulk delete (unsuppress) jobs.</td></tr><tr><td>Get Profiles</td><td><code>getProfiles</code></td><td>List/query profiles. Supports JSON:API filter, sort, fields, include, additional-fields[profile], and page[cursor]/page[size].</td></tr><tr><td>Get Profiles for List</td><td><code>getListProfiles</code></td><td>Get all profiles that are members of a given list.</td></tr><tr><td>Get Profiles for Segment</td><td><code>getSegmentProfiles</code></td><td>Get all profiles in a given segment.</td></tr><tr><td>Get Push Token</td><td><code>getPushToken</code></td><td>Get a specific push token by ID.</td></tr><tr><td>Get Push Token Profile</td><td><code>getPushTokenProfile</code></td><td>Get the profile associated with a push token.</td></tr><tr><td>Get Push Token Relationships Profile</td><td><code>getPushTokenRelationshipsProfile</code></td><td>Get the profile ID associated with a push token (relationships endpoint).</td></tr><tr><td>Get Push Tokens</td><td><code>getPushTokens</code></td><td>Get all push notification tokens registered in the account.</td></tr><tr><td>Get Review</td><td><code>getReview</code></td><td>Get a single product review by its ID.</td></tr><tr><td>Get Reviews</td><td><code>getReviews</code></td><td>Get all product reviews. Supports filtering, sorting, and pagination via JSON:API query params.</td></tr><tr><td>Get Segment</td><td><code>getSegment</code></td><td>Get a single segment by ID.</td></tr><tr><td>Get Segments</td><td><code>getSegments</code></td><td>List all segments. Supports filter, sort, fields[segment], include, page[cursor].</td></tr><tr><td>Get Tag</td><td><code>getTag</code></td><td>Get a single tag by ID.</td></tr><tr><td>Get Tag Group</td><td><code>getTagGroup</code></td><td>Get a tag group by ID.</td></tr><tr><td>Get Tag Group for Tag</td><td><code>getTagTagGroup</code></td><td>Get the tag group resource associated with a given tag.</td></tr><tr><td>Get Tag Groups</td><td><code>getTagGroups</code></td><td>List all tag groups.</td></tr><tr><td>Get Tag IDs for List</td><td><code>getListRelationshipsTags</code></td><td>Return all tag relationship IDs associated with the given list ID.</td></tr><tr><td>Get Tag IDs for Segment</td><td><code>getSegmentRelationshipsTags</code></td><td>Return all tag relationship IDs associated with the given segment ID.</td></tr><tr><td>Get Tag IDs for Tag Group</td><td><code>getTagGroupRelationshipsTags</code></td><td>Get the IDs of all tags associated with a tag group.</td></tr><tr><td>Get Tag Relationships Campaigns</td><td><code>getTagRelationshipsCampaigns</code></td><td>Get the IDs of all campaigns associated with a given tag.</td></tr><tr><td>Get Tag Relationships Flows</td><td><code>getTagRelationshipsFlows</code></td><td>Get the IDs of all flows associated with a given tag.</td></tr><tr><td>Get Tag Relationships Lists</td><td><code>getTagRelationshipsLists</code></td><td>Get the IDs of all lists associated with a given tag.</td></tr><tr><td>Get Tag Relationships Segments</td><td><code>getTagRelationshipsSegments</code></td><td>Get the IDs of all segments associated with a given tag.</td></tr><tr><td>Get Tag Relationships Tag Group</td><td><code>getTagRelationshipsTagGroup</code></td><td>Get the ID of the tag group associated with a given tag.</td></tr><tr><td>Get Tags</td><td><code>getTags</code></td><td>List all tags. Supports filter, sort, fields[tag], include, page[cursor].</td></tr><tr><td>Get Tags for List</td><td><code>getListTags</code></td><td>Get tags associated with a list.</td></tr><tr><td>Get Tags for Segment</td><td><code>getSegmentTags</code></td><td>Get tags associated with a segment.</td></tr><tr><td>Get Tags for Tag Group</td><td><code>getTagGroupTags</code></td><td>Get all tags associated with a tag group.</td></tr><tr><td>Get Template</td><td><code>getTemplate</code></td><td>Get a single template by ID.</td></tr><tr><td>Get Template For Flow Message</td><td><code>getTemplateForFlowMessage</code></td><td>Get the template associated with a specific flow message.</td></tr><tr><td>Get Template ID For Flow Message</td><td><code>getTemplateIdForFlowMessage</code></td><td>Get the relationship data (ID only) for the template of a flow message.</td></tr><tr><td>Get Templates</td><td><code>getTemplates</code></td><td>List all email templates. Supports filter, sort, fields[template], page[cursor].</td></tr><tr><td>Get Tracking Setting</td><td><code>getTrackingSetting</code></td><td>Get a tracking setting by ID (account ID).</td></tr><tr><td>Get Tracking Settings</td><td><code>getTrackingSettings</code></td><td>Get all tracking settings for the account.</td></tr><tr><td>Get Universal Content</td><td><code>getUniversalContent</code></td><td>Get a single template universal content block by ID.</td></tr><tr><td>Get Version IDs for Form</td><td><code>getFormVersionIds</code></td><td>Get the relationship IDs (id + type only) of all versions for a given form via the relationships endpoint.</td></tr><tr><td>Get Web Feed</td><td><code>getWebFeed</code></td><td>Get a web feed by ID.</td></tr><tr><td>Get Web Feeds</td><td><code>getWebFeeds</code></td><td>Get all web feeds for the account.</td></tr><tr><td>Get Webhook</td><td><code>getWebhook</code></td><td>Get a single webhook subscription by ID.</td></tr><tr><td>Get Webhook Topic</td><td><code>getWebhookTopic</code></td><td>Get a single webhook topic by ID.</td></tr><tr><td>Get Webhook Topics</td><td><code>getWebhookTopics</code></td><td>List all available webhook topics (event types) that can be subscribed to.</td></tr><tr><td>Get Webhooks</td><td><code>getWebhooks</code></td><td>List all system webhook subscriptions Supports include=webhook-topics for topic details.</td></tr><tr><td>Import Profile (Upsert)</td><td><code>importProfile</code></td><td>Create or update a profile. Identifies profiles by email, phone_number, or external_id.</td></tr><tr><td>List Catalog Category Bulk Create Jobs</td><td><code>listCatalogCategoryBulkCreateJobs</code></td><td>List all catalog category bulk create jobs.</td></tr><tr><td>List Catalog Category Bulk Delete Jobs</td><td><code>listCatalogCategoryBulkDeleteJobs</code></td><td>List all catalog category bulk delete jobs.</td></tr><tr><td>List Catalog Category Bulk Update Jobs</td><td><code>listCatalogCategoryBulkUpdateJobs</code></td><td>List all catalog category bulk update jobs.</td></tr><tr><td>List Catalog Item Bulk Create Jobs</td><td><code>listCatalogItemBulkCreateJobs</code></td><td>List all catalog item bulk create jobs.</td></tr><tr><td>List Catalog Item Bulk Delete Jobs</td><td><code>listCatalogItemBulkDeleteJobs</code></td><td>List all catalog item bulk delete jobs.</td></tr><tr><td>List Catalog Item Bulk Update Jobs</td><td><code>listCatalogItemBulkUpdateJobs</code></td><td>List all catalog item bulk update jobs.</td></tr><tr><td>List Catalog Variant Bulk Create Jobs</td><td><code>listCatalogVariantBulkCreateJobs</code></td><td>List all catalog variant bulk create jobs.</td></tr><tr><td>List Catalog Variant Bulk Delete Jobs</td><td><code>listCatalogVariantBulkDeleteJobs</code></td><td>List all catalog variant bulk delete jobs.</td></tr><tr><td>List Catalog Variant Bulk Update Jobs</td><td><code>listCatalogVariantBulkUpdateJobs</code></td><td>List all catalog variant bulk update jobs.</td></tr><tr><td>List Flows</td><td><code>getFlows</code></td><td>Get all flows in the account. Supports pagination, filtering, sorting, and sparse fieldsets.</td></tr><tr><td>Merge Profiles</td><td><code>mergeProfiles</code></td><td>Merge a source profile into a destination profile.</td></tr><tr><td>Query Flow Series Report</td><td><code>queryFlowSeriesReport</code></td><td>Query time-series flow metrics (daily/hourly/weekly/monthly) for opens, clicks, conversions, etc.</td></tr><tr><td>Query Flow Values Report</td><td><code>queryFlowValuesReport</code></td><td>Query aggregated flow metric values (opens, clicks, conversions, revenue, etc.) for a given timeframe.</td></tr><tr><td>Query Form Series Report</td><td><code>queryFormSeriesReport</code></td><td>Query form analytics as a time series. Returns statistics aggregated by the chosen interval (daily/weekly/monthly/hourly) within the given timeframe.</td></tr><tr><td>Query Form Values Report</td><td><code>queryFormValuesReport</code></td><td>Query form analytics as aggregate totals for a given timeframe, optionally grouped by dimensions.</td></tr><tr><td>Query Metric Aggregates</td><td><code>queryMetricAggregates</code></td><td>Query aggregated metric data (counts, sums) grouped/filtered over time.</td></tr><tr><td>Query Segment Series</td><td><code>querySegmentSeries</code></td><td>Returns the requested segment analytics series data over time intervals.</td></tr><tr><td>Query Segment Values</td><td><code>querySegmentValues</code></td><td>Returns the requested segment analytics values data (total_members, members_added, members_removed, net_members_changed).</td></tr><tr><td>Remove Catalog Category Item Relationships</td><td><code>removeCatalogCategoryItemRelationships</code></td><td>Remove specific items from a catalog category.</td></tr><tr><td>Remove Catalog Item Category Relationships</td><td><code>removeCatalogItemCategoryRelationships</code></td><td>Remove specific category relationships from a catalog item.</td></tr><tr><td>Remove Profiles from List</td><td><code>removeProfilesFromList</code></td><td>Remove one or more profiles from a list (relationship delete).</td></tr><tr><td>Remove Tag from Campaigns</td><td><code>removeTagFromCampaigns</code></td><td>Disassociate a tag from one or more campaigns.</td></tr><tr><td>Remove Tag from Flows</td><td><code>removeTagFromFlows</code></td><td>Disassociate a tag from one or more flows.</td></tr><tr><td>Remove Tag from Lists</td><td><code>removeTagFromLists</code></td><td>Disassociate a tag from one or more lists.</td></tr><tr><td>Remove Tag from Segments</td><td><code>removeTagFromSegments</code></td><td>Disassociate a tag from one or more segments.</td></tr><tr><td>Render Template</td><td><code>renderTemplate</code></td><td>Render a template with example context data to preview the output HTML/text.</td></tr><tr><td>Request Profile Deletion</td><td><code>requestProfileDeletion</code></td><td>Submit a data privacy deletion request for a profile by email, phone number, or profile ID (GDPR/CCPA).</td></tr><tr><td>Subscribe Profiles</td><td><code>subscribeProfiles</code></td><td>Bulk subscribe profiles to email and/or SMS marketing for a given list (creates a subscription job).</td></tr><tr><td>Suppress Profiles</td><td><code>suppressProfiles</code></td><td>Bulk suppress profiles from receiving email marketing for a given list (or globally).</td></tr><tr><td>Tag Campaigns</td><td><code>tagCampaigns</code></td><td>Associate a tag with one or more campaigns. Pass an array of campaign data objects.</td></tr><tr><td>Tag Flows</td><td><code>tagFlows</code></td><td>Associate a tag with one or more flows. Pass an array of flow data objects.</td></tr><tr><td>Tag Segments</td><td><code>tagSegments</code></td><td>Associate a tag with one or more segments. Pass an array of segment data objects.</td></tr><tr><td>Unsubscribe Profiles</td><td><code>unsubscribeProfiles</code></td><td>Bulk unsubscribe profiles from email and/or SMS marketing for a given list.</td></tr><tr><td>Unsuppress Profiles</td><td><code>unsuppressProfiles</code></td><td>Bulk remove email marketing suppressions for profiles.</td></tr><tr><td>Update Campaign</td><td><code>updateCampaign</code></td><td>Update a campaign by ID (name, audiences, send strategy).</td></tr><tr><td>Update Campaign Message</td><td><code>updateCampaignMessage</code></td><td>Update a campaign message's content/label by ID.</td></tr><tr><td>Update Catalog Category</td><td><code>updateCatalogCategory</code></td><td>Update a catalog category's attributes by ID.</td></tr><tr><td>Update Catalog Category Item Relationships</td><td><code>updateCatalogCategoryItemRelationships</code></td><td>Replace all item relationships of a catalog category.</td></tr><tr><td>Update Catalog Item</td><td><code>updateCatalogItem</code></td><td>Update a catalog item by ID.</td></tr><tr><td>Update Catalog Item Category Relationships</td><td><code>updateCatalogItemCategoryRelationships</code></td><td>Replace all category relationships of a catalog item.</td></tr><tr><td>Update Catalog Variant</td><td><code>updateCatalogVariant</code></td><td>Update an existing catalog variant.</td></tr><tr><td>Update Coupon</td><td><code>updateCoupon</code></td><td>Update an existing coupon's attributes by ID.</td></tr><tr><td>Update Coupon Code</td><td><code>updateCouponCode</code></td><td>Update the status or expiry of a coupon code.</td></tr><tr><td>Update Flow</td><td><code>updateFlowStatus</code></td><td>Update the status of a flow (draft, manual, or live).</td></tr><tr><td>Update Flow Action</td><td><code>updateFlowAction</code></td><td>Update a flow action definition by ID.</td></tr><tr><td>Update Image</td><td><code>updateImage</code></td><td>Update an image's name or hidden flag by ID Provide the fields to update.</td></tr><tr><td>Update List</td><td><code>updateList</code></td><td>Update a list's name by ID.</td></tr><tr><td>Update Profile</td><td><code>updateProfile</code></td><td>Update an existing profile by ID (PATCH). Pass the attributes to change.</td></tr><tr><td>Update Review</td><td><code>updateReview</code></td><td>Update the status of a review (publish, reject, feature, unpublish, or mark pending).</td></tr><tr><td>Update Segment</td><td><code>updateSegment</code></td><td>Update a segment's name and/or definition by ID.</td></tr><tr><td>Update Tag</td><td><code>updateTag</code></td><td>Update a tag's name by ID.</td></tr><tr><td>Update Tag Group</td><td><code>updateTagGroup</code></td><td>Update a tag group's name.</td></tr><tr><td>Update Template</td><td><code>updateTemplate</code></td><td>Update a template's name and/or HTML by ID.</td></tr><tr><td>Update Tracking Setting</td><td><code>updateTrackingSetting</code></td><td>Update tracking settings for the account. Patch auto_add_parameters and/or UTM parameter configs.</td></tr><tr><td>Update Universal Content</td><td><code>updateUniversalContent</code></td><td>Update an existing template universal content block by ID.</td></tr><tr><td>Update Web Feed</td><td><code>updateWebFeed</code></td><td>Update a web feed. All attributes are optional.</td></tr><tr><td>Update Webhook</td><td><code>updateWebhook</code></td><td>Update a webhook subscription by ID All attribute fields and topics are optional.</td></tr><tr><td>Upload Image From File</td><td><code>uploadImageFromFile</code></td><td>Upload an image from a binary file, multipart/form-data). NOTE: blocked - Fastn does not support multipart/form-data uploads. Use uploadImageFromUrl to import from a URL instead.</td></tr><tr><td>Upload Image From URL</td><td><code>uploadImageFromUrl</code></td><td>Import an image into Klaviyo from a URL or data URI Supported formats: jpeg, png, gif. Max 5MB.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Profile Added To List</td><td><code>profile.added_to_list</code></td><td>A profile is added to a list.</td></tr><tr><td>Profile Removed From List</td><td><code>profile.removed_from_list</code></td><td>A profile is removed from a list.</td></tr><tr><td>Profile Subscribed To Email Marketing</td><td><code>profile.subscribed_to_email_marketing</code></td><td>A profile opts in / is subscribed to email marketing.</td></tr><tr><td>Profile Subscribed To SMS Marketing</td><td><code>profile.subscribed_to_sms_marketing</code></td><td>A profile opts in / is subscribed to SMS marketing.</td></tr><tr><td>Profile Suppressed</td><td><code>profile.suppressed</code></td><td>A profile is suppressed (bounce, spam complaint, manual suppression).</td></tr><tr><td>Profile Unsubscribed From Email Marketing</td><td><code>profile.unsubscribed_from_email_marketing</code></td><td>A profile opts out / is unsubscribed from email marketing.</td></tr><tr><td>Profile Unsubscribed From SMS Marketing</td><td><code>profile.unsubscribed_from_sms_marketing</code></td><td>A profile opts out / is unsubscribed from SMS marketing.</td></tr><tr><td>Profile Unsuppressed</td><td><code>profile.unsuppressed</code></td><td>A previously suppressed profile is unsuppressed and can receive email again.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/marketing/klaviyo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
