klaviyo
v1.0.3Create and manage email campaigns, lists, and marketing automation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_accounts Get Accounts
Retrieve account information associated with your private API key, including contact details, timezone, currency, and public API key. Use this to access account-specific data or verify API key ownership before performing other operations.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldsaccount | array | Specify which account fields to include in the response using sparse fieldsets for optimized data retrieval. See API documentation for available field names. |
get_account Get Account
Retrieve a single account object by its ID. You can only access the account associated with the private API key used for authentication.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the account to retrieve (e.g., AbC123). |
revision * | string | API endpoint revision in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldsaccount | array | Optional list of specific account fields to include in the response. Use sparse fieldsets to reduce payload size and improve performance. Refer to the API documentation for available field names. |
list_campaigns List Campaigns
Retrieve campaigns filtered by channel (email, SMS, or mobile push) and optional criteria like name, status, or date range. A channel filter is required to list campaigns.
| Parameter | Type | Description |
|---|---|---|
filter * | string | Filter expression to narrow campaign results. A channel filter is required—use equals(messages.channel,'email'), equals(messages.channel,'sms'), or equals(messages.channel,'mobile_push'). You can co… |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
get_campaign Get Campaign
Retrieve a specific campaign by its ID. Returns detailed campaign information for the requested resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign to retrieve. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
update_campaign Update Campaign
Update an existing campaign's configuration including name, audience targeting, send options, tracking, and delivery strategy. Requires the campaign ID and current revision for optimistic concurrency control.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the campaign being updated; must match the path ID parameter. |
id * | string | The unique identifier of the campaign to update. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v2). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier; must be set to 'campaign'. |
excluded | array | A list of audience IDs to exclude from the campaign. Providing this list will replace any previously excluded audiences. Order and format follow the audience ID system. |
included | array | A list of audience IDs to include in the campaign. Providing this list will replace any previously included audiences. Order and format follow the audience ID system. |
name | string | The display name for the campaign (e.g., 'My new campaign'). |
send_options | Configuration options that control how the campaign will be sent, including delivery timing and method preferences. | |
send_strategy | The delivery strategy that determines how the campaign will be distributed to recipients (e.g., immediate, scheduled, or progressive send). | |
tracking_options | Tracking configuration for the campaign, including metrics collection and event monitoring settings. |
delete_campaign Delete Campaign
Permanently delete a campaign by its ID. This action cannot be undone and will remove all associated campaign data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign to delete. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
get_campaign_message Get Campaign Message
Retrieves a specific campaign message by its ID. Returns the message details for the specified revision of the API.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message to retrieve. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v2). Defaults to 2026-01-15 if not specified. |
update_campaign_message Update Campaign Message
Update an existing campaign message with new content and settings. Supports modifying message definition, associated images for mobile push notifications, and other campaign message properties.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the campaign message being updated. Must match the message ID in the URL path. |
dataRelationshipsImageDataId * | string | The unique identifier of the image to associate with this campaign message. Required for mobile_push message types. |
id * | string | The unique identifier of the campaign message to update. |
imageDataType * | string | The resource type identifier for the associated image. Must be set to 'image'. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier for the campaign message. Must be set to 'campaign-message'. |
definition | The campaign message contents and configuration settings, including template variables, targeting rules, and delivery preferences. |
get_campaign_send_job Get Campaign Send Job
Retrieve details about a specific campaign send job by its ID. Use this to check the status and metadata of a campaign send operation.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign send job to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
update_campaign_send_job Update Campaign Send Job
Cancel an in-progress campaign send or revert it back to draft status. Use 'cancel' to permanently stop the send, or 'revert' to return the campaign to draft for further editing.
| Parameter | Type | Description |
|---|---|---|
action * | string | The action to perform: 'cancel' to permanently stop the send, or 'revert' to return the campaign to draft status. |
dataId * | string | The unique identifier of the campaign send job being modified; must match the path ID. |
id * | string | The unique identifier of the campaign send job to modify. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15. |
type * | string | The resource type identifier; must be 'campaign-send-job'. |
get_campaign_recipient_estimation_job Get Campaign Recipient Estimation Job
Retrieve the current status and results of a recipient estimation job for a campaign. Use this to poll the asynchronous job triggered by the Create Campaign Recipient Estimation Job endpoint.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign recipient estimation job whose status you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_campaign_recipient_estimation Get Campaign Recipient Estimation
Retrieve the estimated recipient count for a campaign. Use the Create Campaign Recipient Estimation Job endpoint to refresh this estimate.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign for which to retrieve the estimated recipient count. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
clone_campaign Clone Campaign
Creates a duplicate of an existing campaign with a new ID and optional custom name. The cloned campaign inherits all settings and configuration from the original.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign to clone. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.beta). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type being cloned. Must be set to 'campaign' for this operation. |
new_name | string | Optional custom name for the newly cloned campaign. If not provided, a default name will be generated based on the original campaign. |
assign_template_to_campaign_message Assign Template to Campaign Message
Assigns a template to a campaign message by creating a non-reusable copy of the template linked to that specific message. This operation requires campaigns:write scope and is subject to rate limits of 10 requests per second (burst) and 150 requests per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message that will receive the template assignment. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15). Defaults to 2026-01-15 if not specified. |
templateDataId * | string | The unique identifier of the template to assign to the campaign message. |
templateDataType * | string | Resource type identifier for the template relationship. Must be set to 'template'. |
type * | string | Resource type identifier for the campaign message. Must be set to 'campaign-message'. |
send_campaign Send Campaign
Trigger an asynchronous campaign send job to deliver messages to recipients. The operation queues the campaign for processing and returns immediately.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign to send. This campaign must exist and be in a valid state for sending. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier for this operation, which must be 'campaign-send-job'. |
trigger_campaign_recipient_estimation Trigger Campaign Recipient Estimation
Initiate an asynchronous job to recalculate the estimated recipient count for a campaign. Poll the job status endpoint or retrieve the final estimation once processing completes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign for which to estimate recipient count. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
type * | string | Resource type identifier; must be set to 'campaign-recipient-estimation-job' to specify the job type being created. |
get_campaign_for_campaign_message Get Campaign for Campaign Message
Retrieve the campaign associated with a specific campaign message. This operation returns the parent campaign details for the given message.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message for which to retrieve the associated campaign. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_campaign_id_for_campaign_message Get Campaign ID for Campaign Message
Retrieve the ID of the campaign associated with a specific campaign message. This operation returns the relationship data linking a message to its parent campaign.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message for which to retrieve the associated campaign ID. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_template_for_campaign_message Get Template for Campaign Message
Retrieve the template associated with a specific campaign message. Returns the template configuration used by the campaign message.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message whose template you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_template_id_for_campaign_message Get Template ID for Campaign Message
Retrieve the ID of the template associated with a specific campaign message. This operation returns only the template relationship identifier, useful for determining which template is used by a campaign message.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message for which to retrieve the related template ID. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_image_for_campaign_message Get Image for Campaign Message
Retrieve the image associated with a specific campaign message. Returns the image resource linked to the campaign message identified by the provided ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message for which to retrieve the associated image. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_image_id_for_campaign_message Get Image ID for Campaign Message
Retrieve the ID of the image associated with a specific campaign message. This operation returns only the image relationship identifier, not the full image resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign message whose related image ID you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_image_for_campaign_message Update Image for Campaign Message
Replace the image associated with a campaign message. Requires both the campaign message ID and the image ID to establish the relationship.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the image to associate with the campaign message. |
id * | string | The unique identifier of the campaign message whose image should be updated. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
type * | string | The resource type identifier, which must be 'image' to specify the relationship type being updated. |
list_tags_for_campaign List Tags for Campaign
Retrieve all tags associated with a specific campaign. Returns a collection of tags that have been assigned to the campaign.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign for which to retrieve tags. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use for this request. |
list_tag_ids_for_campaign List Tag IDs for Campaign
Retrieves all tag IDs associated with a specific campaign. Returns a collection of tag identifiers linked to the campaign.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign for which to retrieve associated tag IDs. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_messages_for_campaign List Messages for Campaign
Retrieve all messages associated with a specific campaign. Returns a collection of messages that have been created or assigned to the campaign.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign for which to retrieve messages. |
revision * | string | The API endpoint revision in YYYY-MM-DD format (optionally with a suffix). Defaults to 2026-01-15 if not specified. |
list_message_ids_for_campaign List Message IDs for Campaign
Retrieves all message IDs associated with a specific campaign. Use this to discover which messages are linked to a campaign for further operations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the campaign whose associated message IDs you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_catalog_items List Catalog Items
Retrieve all catalog items in your account with optional filtering and sorting. Returns up to 100 items per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter catalog items by specific criteria. Supports filtering by item IDs (using `any` operator), category ID (exact match), item title (partial match), or published status (exact match). Provide filt… |
create_catalog_item Create Catalog Item
Create a new catalog item in your product catalog. The item will be assigned a unique identifier and can include pricing, images, and custom metadata for use in email campaigns and integrations.
| Parameter | Type | Description |
|---|---|---|
description * | string | A detailed description of the catalog item, including key features and characteristics. This text is used in email content and product displays. |
external_id * | string | A unique identifier for this catalog item in your external system or inventory management platform (e.g., SKU or product ID). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15). Defaults to 2026-01-15 if not specified. |
title * | string | The display name of the catalog item. This title appears in email campaigns and customer-facing content. |
type * | string | The resource type identifier. Must be set to 'catalog-item' to indicate this is a catalog item resource. |
url * | string | The full URL to the catalog item's product page on your website. This link is used in emails and integrations to direct customers to the item. |
custom_metadata | object | A flat JSON object containing custom metadata about the item (e.g., {'Top Pick': true, 'Season': 'Summer'}). Total size must not exceed 100KB. |
data | array | Additional data payload for the catalog item. Structure and usage depend on your integration requirements. |
images | array | An array of URLs pointing to product images. Include multiple images to provide different views or angles of the item. |
integration_type | string | The integration type for this catalog item. Currently only '$custom' is supported for custom integrations. |
price | number | The price of the catalog item displayed in emails and campaigns. If you have variants with different prices, update their prices separately using the variant endpoint. |
published | boolean | Boolean flag indicating whether the catalog item is published and visible. Defaults to true if not specified. |
get_catalog_item Get Catalog Item
Retrieve a specific catalog item by its compound ID. The item ID combines integration type, catalog name, and external identifier in a structured format.
| Parameter | Type | Description |
|---|---|---|
id * | string | The compound identifier for the catalog item, formatted as `{integration}:::{catalog}:::{external_id}`. Use `$custom` for the integration type and `$default` for the catalog name, followed by your ite… |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_catalog_item Update Catalog Item
Update an existing catalog item with new metadata, pricing, images, or publication status. Use the compound ID format to identify the item, and include the required revision date for API versioning.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The catalog item's compound ID in format `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your unique external item identifier. |
id * | string | The catalog item's compound ID in format `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your unique external item identifier. |
revision * | string | API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to `catalog-item`. |
custom_metadata | object | A flat JSON object containing custom metadata about the item. Total size must not exceed 100 kilobytes. |
data | array | Reserved parameter for internal use. |
description | string | A text description of the catalog item's features, details, or other relevant information. |
images | array | An array of image URLs for the catalog item. Order may be significant for display purposes. Each URL should point to a valid image resource. |
price | number | The item's price as a decimal number. This price is displayed in emails and should typically be updated alongside variant prices using the Update Catalog Variant endpoint. |
published | boolean | Boolean flag indicating whether the catalog item is currently published and visible. |
title | string | The display name of the catalog item. |
url | string | A fully qualified URL pointing to the item's product page on your website. |
delete_catalog_item Delete Catalog Item
Permanently delete a catalog item from the default catalog. Requires the item's compound ID and the API revision date to ensure consistency.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for the catalog item in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for the integration and `$default` for the catalog, followed by your item's ex… |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (optionally with a suffix). Defaults to 2026-01-15 if not specified. |
list_catalog_variants List Catalog Variants
Retrieve all catalog variants in your account with optional filtering and sorting. Returns up to 100 variants per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter variants by specific criteria using supported fields and operators. You can filter by variant IDs (using `any` operator), item ID, SKU, title (partial match), or publication status. Provide fil… |
create_catalog_variant Create Catalog Variant
Create a new variant for a catalog item, such as a specific size, color, or SKU. Variants inherit from their parent catalog item and can have distinct pricing, inventory, and product URLs.
| Parameter | Type | Description |
|---|---|---|
description * | string | Detailed description of the variant's characteristics, materials, fit, or other distinguishing features. |
external_id * | string | Unique identifier for this variant in your external system (e.g., your inventory management or e-commerce platform). |
id * | string | The ID of the parent catalog item for which this variant is being created. |
inventory_quantity * | number | Current stock quantity for this variant. Use a numeric value representing available units. |
itemDataType * | string | Resource type for the parent catalog item relationship. Must be set to 'catalog-item'. |
price * | number | Price displayed for this variant in emails and product blocks. Update the parent item's price separately if needed for consistency across your catalog. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15. |
sku * | string | Stock keeping unit (SKU) code for inventory tracking and order fulfillment. |
title * | string | Display name for the variant (e.g., 'Ocean Blue Shirt (Sample) Variant Medium'). Should be descriptive enough to distinguish this variant from others. |
type * | string | Resource type identifier. Must be set to 'catalog-variant'. |
url * | string | Direct URL to this variant's product page on your website. |
custom_metadata | object | Custom metadata as a flat JSON object (max 100KB). Use for storing additional variant attributes not covered by standard fields. |
images | array | Array of image URLs for the variant. Order matters—the first image is typically used as the primary product image. |
integration_type | string | Integration type for the variant source. Currently only '$custom' is supported for custom integrations. |
inventory_policy | integer | Controls variant visibility in dynamic product recommendation feeds. Use 1 to hide out-of-stock variants, or 0/2 to show regardless of inventory level. Defaults to 0. |
published | boolean | Whether the variant is published and visible in your catalog. Defaults to true. |
get_catalog_variant Get Catalog Variant
Retrieve a specific catalog item variant by its compound ID. The variant ID combines integration type, catalog name, and external identifier in a structured format.
| Parameter | Type | Description |
|---|---|---|
id * | string | The compound identifier for the catalog variant, formatted as {integration}:::{catalog}:::{external_id}. Use $custom for the integration type and $default for the catalog name, followed by your extern… |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_catalog_variant Update Catalog Variant
Update a catalog item variant by its compound ID. Modify variant details such as title, description, pricing, inventory, images, and custom metadata to keep your product catalog current.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The catalog variant's compound ID in format `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your unique external identifier. |
id * | string | The catalog variant's compound ID in format `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your unique external identifier. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15). Defaults to 2026-01-15. |
type * | string | Resource type identifier. Must be set to `catalog-variant`. |
custom_metadata | object | A flat JSON object for storing custom metadata about the variant (e.g., `{'Top Pick': true}`). Must not exceed 100KB. |
description | string | A detailed description of the variant's features, materials, and characteristics. |
images | array | An array of image URLs for this variant. Order matters—the first image is typically used as the primary product image. |
inventory_policy | integer | Controls variant visibility in dynamic product feeds. Use `1` to hide out-of-stock items, or `0`/`2` to show regardless of inventory status. |
inventory_quantity | number | The current quantity of this variant in stock. |
price | number | The price displayed for this variant in emails and product blocks. Consider also updating the parent item's price for consistency. |
published | boolean | Set to `true` to make this variant visible in your catalog, or `false` to hide it. |
sku | string | The stock keeping unit (SKU) code for inventory and ordering purposes. |
title | string | The display name for this variant (e.g., 'Ocean Blue Shirt (Sample) Variant Medium'). |
url | string | A direct URL to this variant's product page on your website. |
delete_catalog_variant Delete Catalog Variant
Permanently delete a catalog item variant by its compound ID. The variant ID must follow the format {integration}:::{catalog}:::{external_id}, where integration is $custom and catalog is $default.
| Parameter | Type | Description |
|---|---|---|
id * | string | The compound identifier for the catalog variant in the format {integration}:::{catalog}:::{external_id}. Use $custom as the integration type and $default as the catalog name, followed by your external… |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_catalog_categories List Catalog Categories
Retrieve all catalog categories in your account. Returns up to 100 categories per request, supporting filtering by IDs, item IDs, or category names.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter results using supported fields and operators. You can filter by category IDs using the `any` operator, item IDs using `equals`, or category names using `contains` for partial matching. |
create_catalog_category Create Catalog Category
Create a new catalog category in your product catalog. The category will be identified by an external system ID and can include custom metadata.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | A unique identifier for this category in your external system. Use this to reference the category across integrations. |
name * | string | The display name for the catalog category. This is the human-readable label shown in your catalog. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'catalog-category' for this operation. |
data | array | Optional array of custom data fields to attach to this category. Item format and order significance depend on your integration requirements. |
integration_type | string | The integration type for this category. Currently only '$custom' is supported for custom integrations. |
get_catalog_category Get Catalog Category
Retrieve a specific catalog category by its compound ID. The category ID combines integration type, catalog name, and external identifier to uniquely identify the category.
| Parameter | Type | Description |
|---|---|---|
id * | string | The compound identifier for the catalog category, formatted as `{integration}:::{catalog}:::{external_id}`. Currently supports only the `$custom` integration type and `$default` catalog. The external… |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
update_catalog_category Update Catalog Category
Update an existing catalog category by ID. Modifies category metadata such as name while maintaining the compound ID structure.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The catalog category identifier in compound format: {integration}:::{catalog}:::{external_id}. Must match the path ID and use $custom for integration and $default for catalog (e.g., $custom:::$default… |
id * | string | The catalog category identifier in compound format: {integration}:::{catalog}:::{external_id}. Use $custom for integration and $default for catalog, followed by your category's external ID (e.g., $cus… |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'catalog-category' for this operation. |
data | array | Additional structured data for the catalog category. Format and contents depend on the specific catalog structure requirements. |
name | string | The display name for the catalog category (e.g., 'Sample Data Category Apparel'). Optional field for updating category metadata. |
delete_catalog_category Delete Catalog Category
Permanently delete a catalog category by its compound ID. The category ID must follow the format {integration}:::{catalog}:::{external_id}, where integration is $custom and catalog is $default.
| Parameter | Type | Description |
|---|---|---|
id * | string | The compound identifier for the catalog category, formatted as {integration}:::{catalog}:::{external_id}. Use $custom as the integration and $default as the catalog name. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_bulk_create_catalog_items_jobs List Bulk Create Catalog Items Jobs
Retrieve all catalog item bulk create jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to show only processing jobs). Supports the status field only. |
create_catalog_items_bulk_job Create Catalog Items Bulk Job
Initiate a bulk job to create up to 100 catalog items in a single request. The operation queues the job for asynchronous processing with a maximum payload size of 5MB and a limit of 500 concurrent jobs.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog item objects to create. Accepts up to 100 items per request. Each item must conform to the catalog item schema. Order is preserved in processing. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The job type identifier. Must be set to 'catalog-item-bulk-create-job' to specify this operation creates catalog items in bulk. |
get_bulk_create_catalog_items_job Get Bulk Create Catalog Items Job
Retrieve the status and details of a catalog item bulk create job by its ID. Optionally include related catalog items in the response.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk create job to retrieve (e.g., 01GSQPBF74KQ5YTDEPP41T1BZH). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
list_catalog_item_bulk_update_jobs List Catalog Item Bulk Update Jobs
Retrieve all catalog item bulk update jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Supports the status field only. |
create_catalog_item_bulk_update_job Create Catalog Item Bulk Update Job
Create a bulk update job to modify up to 100 catalog items in a single request. The job processes asynchronously and you can have up to 500 jobs in progress simultaneously.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog items to update. Each item should contain the fields to be modified. Maximum 100 items per request; total payload cannot exceed 5MB. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The type of bulk operation job being created. Must be set to 'catalog-item-bulk-update-job' to indicate this is a catalog item update operation. |
get_bulk_update_catalog_items_job Get Bulk Update Catalog Items Job
Retrieve the status and details of a catalog item bulk update job by its ID. Optionally include related catalog items in the response.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk update job to retrieve (e.g., 01GSQPBF74KQ5YTDEPP41T1BZH). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
list_bulk_delete_catalog_items_jobs List Bulk Delete Catalog Items Jobs
Retrieve all catalog item bulk delete jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to show only processing jobs). Omit to retrieve jobs in all statuses. |
create_catalog_item_bulk_delete_job Create Catalog Item Bulk Delete Job
Create a bulk delete job to remove a batch of catalog items. Submit up to 100 items per request with a maximum payload of 5MB, and maintain no more than 500 concurrent jobs.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog items to delete. Submit up to 100 items per request. Each item should contain the necessary identifiers for deletion. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this operation. |
type * | string | The job type identifier. Must be set to 'catalog-item-bulk-delete-job' to indicate this is a bulk delete operation. |
get_bulk_delete_catalog_items_job Get Bulk Delete Catalog Items Job
Retrieve the status and details of a catalog item bulk delete job by its ID. Use this to monitor the progress of an in-progress or completed bulk deletion operation.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk delete job to retrieve. This ID is returned when the bulk delete operation is initiated. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_bulk_create_variants_jobs List Bulk Create Variants Jobs
Retrieve all catalog variant bulk create jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Omit to return jobs of all statuses. |
create_catalog_variants_bulk Create Catalog Variants in Bulk
Initiate a bulk job to create up to 100 catalog variants in a single request. The job processes asynchronously and allows up to 500 concurrent jobs per account.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog variant objects to create. Accepts up to 100 variants per request with a maximum payload size of 5MB. Each item represents a single catalog variant to be created. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.beta). Defaults to 2026-01-15 if not specified. |
type * | string | The job type identifier. Must be set to 'catalog-variant-bulk-create-job' to specify this operation. |
get_bulk_create_variants_job Get Bulk Create Variants Job
Retrieve the status and details of a catalog variant bulk create job by its ID. Optionally include related variant data in the response.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk create job to retrieve (format: alphanumeric string). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_bulk_update_variants_jobs List Bulk Update Variants Jobs
Retrieve all catalog variant bulk update jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Supports filtering on the status field only. |
create_catalog_variant_bulk_update_job Create Catalog Variant Bulk Update Job
Create a bulk update job to modify up to 100 catalog variants in a single request. The job processes asynchronously with a maximum of 500 concurrent jobs allowed per account.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog variant objects to update. Accepts up to 100 variants per request with a maximum payload size of 5MB. Order is preserved for processing. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.beta). Defaults to 2026-01-15 if not specified. |
type * | string | The job type identifier. Must be set to 'catalog-variant-bulk-update-job' to indicate this is a bulk variant update operation. |
get_bulk_update_variants_job Get Bulk Update Variants Job
Retrieve the status and details of a catalog variant bulk update job by its ID. Optionally include related variant data in the response.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk update job to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
list_bulk_delete_variants_jobs List Bulk Delete Variants Jobs
Retrieve all catalog variant bulk delete jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to show only processing jobs). Omit to retrieve jobs in all statuses. |
create_catalog_variant_bulk_delete_job Create Catalog Variant Bulk Delete Job
Create a bulk delete job to remove up to 100 catalog variants in a single request. The job is processed asynchronously, with a maximum of 500 jobs allowed in progress simultaneously.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog variant identifiers to delete. Accepts up to 100 variants per request with a maximum payload size of 5MB. Order is not significant. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this operation. |
type * | string | The type of bulk job being created. Must be set to 'catalog-variant-bulk-delete-job' to indicate this is a variant deletion operation. |
get_bulk_delete_variants_job Get Bulk Delete Variants Job
Retrieve the status and details of a catalog variant bulk delete job by its ID. Use this to monitor the progress and outcome of asynchronous variant deletion operations.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk delete job to retrieve. This ID is returned when the job is initially created. |
revision * | string | The API endpoint revision in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_bulk_create_categories_jobs List Bulk Create Categories Jobs
Retrieve all catalog category bulk create jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Supports the status field only. |
create_catalog_categories_bulk_job Create Catalog Categories Bulk Job
Initiate a bulk job to create up to 100 catalog categories in a single request. The job processes asynchronously and allows up to 500 concurrent jobs per account.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog category objects to create. Accepts up to 100 items per request with a maximum payload size of 5MB. Order is preserved for processing. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.beta). Defaults to 2026-01-15 if not specified. |
type * | string | The job type identifier. Must be set to 'catalog-category-bulk-create-job' to specify this operation creates catalog categories. |
get_bulk_create_categories_job Get Bulk Create Categories Job
Retrieve the status and details of a catalog category bulk create job by its ID. Optionally include related category resources in the response.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk create job to retrieve (format: alphanumeric string). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_bulk_update_categories_jobs List Bulk Update Categories Jobs
Retrieve all catalog category bulk update jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Supports filtering on the status field only. |
create_catalog_category_bulk_update_job Create Catalog Category Bulk Update Job
Create a bulk update job to modify up to 100 catalog categories in a single request. The job processes asynchronously with a maximum of 500 concurrent jobs allowed per account.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog category objects to update. Supports up to 100 categories per request with a maximum payload size of 5MB. Order is preserved for processing. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.beta). Defaults to 2026-01-15 if not specified. |
type * | string | The job type identifier. Must be set to 'catalog-category-bulk-update-job' to indicate this is a bulk category update operation. |
get_bulk_update_categories_job Get Bulk Update Categories Job
Retrieve the status and details of a catalog category bulk update job by its ID. Optionally include related category data in the response.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk update job to retrieve (e.g., 01GSQPBF74KQ5YTDEPP41T1BZH). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_bulk_delete_categories_jobs List Bulk Delete Categories Jobs
Retrieve all catalog category bulk delete jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Omit to return jobs in all statuses. |
create_catalog_category_bulk_delete_job Create Catalog Category Bulk Delete Job
Create a bulk delete job to remove up to 100 catalog categories in a single request. The job is processed asynchronously and you can have up to 500 jobs in progress simultaneously.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of catalog category identifiers to delete. Accepts up to 100 categories per request. The total payload size must not exceed 5MB. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The type of bulk job being created. Must be set to 'catalog-category-bulk-delete-job' to indicate this is a catalog category deletion operation. |
get_bulk_delete_categories_job Get Bulk Delete Categories Job
Retrieve the status and details of a catalog category bulk delete job by its ID. Use this to monitor the progress of an asynchronous bulk deletion operation.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk delete job to retrieve. This ID is returned when the bulk delete operation is initiated. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
create_back_in_stock_subscription Create Back in Stock Subscription
Subscribe a profile to receive notifications when a catalog variant is back in stock. The profile can be identified by ID, email, phone number, or external ID, and will receive notifications through their preferred channels (email, SMS, or both).
| Parameter | Type | Description |
|---|---|---|
channels * | array | One or more notification channels through which the profile will receive back in stock alerts. Valid channels are EMAIL and SMS. Multiple channels can be specified as a comma-separated list or array. |
profileDataType * | string | Profile resource type identifier. Must be set to 'profile'. |
revision * | string | API endpoint revision date in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | Resource type identifier. Must be set to 'back-in-stock-subscription'. |
variantDataId * | string | The catalog variant ID for which to create the subscription. Format is integrationType:::catalogId:::externalId (e.g., $custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM or $shopify:::$default:::3… |
variantDataType * | string | Catalog variant resource type identifier. Must be set to 'catalog-variant'. |
email | string | The email address of the profile. Used to identify or create the profile if no profile ID is provided. |
external_id | string | An external identifier that links this Klaviyo profile to a profile in another system (such as a point-of-sale system). Format varies based on the external system. |
phone_number | string | The phone number of the profile in E.164 format (e.g., +15005550006). Used to identify or create the profile if no profile ID is provided. |
profileDataId | string | The unique identifier of the profile to subscribe. This is a Klaviyo-generated ID that uniquely identifies the profile in the system. |
list_items_for_catalog_category List Items for Catalog Category
Retrieve all items in a specific catalog category. Results can be sorted by creation date and filtered by item IDs, category, title, or publication status, with a maximum of 100 items returned per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format (e.g., 2026-01-15). Defaults to the latest stable revision if not specified. |
filter | string | Optional filter expression to narrow results. Supports filtering by item IDs (any match), category ID (exact match), item title (contains), or publication status (exact match). Use the format specifie… |
id | string | The catalog category identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your category's external ID (e.g.… |
list_item_ids_for_catalog_category List Item IDs for Catalog Category
Retrieve all item IDs belonging to a specific catalog category. Returns up to 100 items per request and supports filtering by item IDs, category, title, or publication status.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Optional filter expression to narrow results. Supports filtering by item IDs (any match), category ID (exact match), item title (contains), or published status (exact match). Use the format specified… |
id | string | The catalog category identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your external category ID (e.g.,… |
add_items_to_catalog_category Add Items to Catalog Category
Associate one or more items with a catalog category by creating item relationships. This operation links items to the specified category within your catalog.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of item objects to associate with the category. Each item in the array will be linked to the specified catalog category. |
id * | string | The catalog category identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for the integration and `$default` for the catalog, followed by your category's external… |
revision * | string | The API revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
update_items_for_catalog_category Update Items for Catalog Category
Update the item relationships associated with a catalog category. This operation modifies which items are linked to the specified category.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of item relationship objects to associate with the category. Order and structure follow the JSON:API relationships specification. |
id * | string | The catalog category identifier in compound format: {integration}:::{catalog}:::{external_id}. Use integration type `$custom` and catalog `$default` with your external category ID (e.g., `$custom:::$d… |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
remove_items_from_catalog_category Remove Items from Catalog Category
Remove item relationships from a catalog category. Deletes the specified items from the given category, identified by its compound ID.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of item identifiers to remove from the category. Each item in the array will be unlinked from the specified category. |
id * | string | The catalog category identifier in compound format: {integration}:::{catalog}:::{external_id}. Use $custom as the integration and $default as the catalog, followed by your external category ID (e.g.,… |
revision * | string | The API revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
list_variants_for_catalog_item List Variants for Catalog Item
Retrieve all variants associated with a catalog item. Results can be sorted by creation date and are limited to 100 variants per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API revision date in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
filter | string | Optional filter expression to narrow results. Supports filtering by variant IDs (any match), item ID (exact match), SKU (exact match), title (partial match), and published status (exact match). Use th… |
id | string | The catalog item identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Currently only `$custom` integration and `$default` catalog are supported (e.g., `$custom:::$default:::SAMP… |
list_variant_ids_for_catalog_item List Variant IDs for Catalog Item
Retrieve all variant IDs associated with a specific catalog item. Results can be filtered and sorted by creation date, with a maximum of 100 variants returned per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API revision date in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Optional filter expression to narrow results. Supports filtering by variant IDs (any match), item ID (exact match), SKU (exact match), title (partial match), and published status (exact match). Use th… |
id | string | The catalog item identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your external item ID (e.g., `$custom… |
list_categories_for_catalog_item List Categories for Catalog Item
Retrieve all catalog categories that contain a specific catalog item. Results can be sorted by creation date and are limited to 100 categories per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API revision date in YYYY-MM-DD format (or with optional suffix). Defaults to the latest stable revision if not specified. |
filter | string | Optional filter expression to narrow results by category IDs, item ID, or category name. Supports `ids` (any match), `item.id` (exact match), and `name` (partial match) operators. |
id | string | The catalog item identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your item's external ID. |
list_category_ids_for_catalog_item List Category IDs for Catalog Item
Retrieve all catalog categories assigned to a specific catalog item. Returns up to 100 categories per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to the latest stable version. |
filter | string | Optional filter to narrow results by category IDs, item ID, or category name. Supports `ids` (any match), `item.id` (exact match), and `name` (partial match) operators. |
id | string | The catalog item identifier in compound format: `{integration}:::{catalog}:::{external_id}`. Use `$custom` for integration and `$default` for catalog, followed by your item's external ID. |
add_categories_to_catalog_item Add Categories to Catalog Item
Associate one or more categories with a catalog item by creating category relationships. This operation links existing categories to the specified item in your catalog.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of category objects to associate with the catalog item. Each entry represents a category relationship to create. |
id * | string | The unique identifier for the catalog item, formatted as a compound ID with three colon-separated segments: integration type, catalog name, and external ID (e.g., $custom:::$default:::SAMPLE-DATA-ITEM… |
revision * | string | The API revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_categories_for_catalog_item Update Categories for Catalog Item
Update the category relationships for a specific catalog item. This operation allows you to modify which categories are associated with an item in your catalog.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of category objects to associate with the catalog item. Each element defines a category relationship to be added or updated. |
id * | string | The unique identifier for the catalog item, formatted as a compound ID with three colon-separated segments: integration type, catalog name, and external ID. Use the format `$custom:::$default:::` foll… |
revision * | string | The API revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
remove_categories_from_catalog_item Remove Categories from Catalog Item
Remove category relationships from a catalog item. Specify which categories to unlink from the item using a compound ID that identifies the integration, catalog, and external item reference.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of category relationship objects to remove from the catalog item. Each entry specifies a category to unlink. |
id * | string | The catalog item identifier in compound format: {integration}:::{catalog}:::{external_id}. Use $custom for integration and $default for catalog, followed by your item's external ID (e.g., $custom:::$d… |
revision * | string | The API revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
list_coupons List Coupons
Retrieve all coupons in your Klaviyo account. Use this to view your complete coupon inventory and their details.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15 if not specified. |
create_coupon Create Coupon
Creates a new coupon for use in promotions and discounts. Requires a unique external identifier that maps to your integrated systems like Shopify or Magento.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | A unique identifier for this coupon in your external systems (such as Shopify or Magento). This ID is used to sync and reference the coupon across integrations. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v2). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'coupon' to indicate this operation creates a coupon resource. |
description | string | A human-readable description of the coupon's purpose and terms (e.g., discount percentage, minimum purchase requirements, or promotional details). |
monitor_configuration | object | Configuration settings for monitoring coupon health and usage. Specify thresholds such as low_balance_threshold to trigger alerts when coupon balance falls below a specified amount. |
get_coupon Get Coupon
Retrieve a specific coupon by its ID. The coupon ID matches both the internal identifier and the external ID stored in integrated systems.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the coupon to retrieve (e.g., '10OFF'). This ID is consistent across internal and external integration systems. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use for this request. |
update_coupon Update Coupon
Update an existing coupon's properties such as description and monitoring configuration. Requires the coupon ID and current revision for optimistic concurrency control.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the coupon being updated (e.g., '10OFF'). Must match the ID in the path parameter. |
id * | string | The unique identifier of the coupon to update (e.g., '10OFF'). This ID is consistent between the internal system and external integrations. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API contract version to use for this request. |
type * | string | The resource type, which must be 'coupon' to identify this as a coupon update operation. |
description | string | A human-readable description of the coupon's purpose or offer (e.g., '10% off for purchases over $50'). Optional field for documentation purposes. |
monitor_configuration | object | Configuration settings for monitoring the coupon's usage and health, such as balance thresholds. Accepts an object with monitoring parameters like low_balance_threshold. |
delete_coupon Delete Coupon
Permanently delete a coupon by its ID. This operation requires the coupons:write scope and is subject to rate limits of 3 requests per second (burst) and 60 requests per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the coupon to delete. This ID matches both the internal system ID and the external ID used in integrations (e.g., '10OFF'). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use for this request. |
list_coupon_codes List Coupon Codes
Retrieve coupon codes filtered by coupon ID(s) and/or profile ID(s). Use filter parameters to specify which coupons or customer profiles to retrieve codes for, and optionally filter by expiration date or status.
| Parameter | Type | Description |
|---|---|---|
filter * | string | Filter expression to narrow results by coupon ID(s), profile ID(s), expiration date range, or status. At least one coupon or profile filter is required. Use 'any' operator to match multiple IDs, 'equa… |
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
create_coupon_code Create Coupon Code
Creates a unique coupon code linked to a specific coupon, enabling per-customer or per-profile discount distribution. The code will automatically expire after 1 year unless a custom expiration date is provided.
| Parameter | Type | Description |
|---|---|---|
couponDataType * | string | Related resource type identifier; must be set to 'coupon' to indicate the relationship points to a coupon resource. |
id * | string | Unique identifier for the coupon code (e.g., '10OFF'). Used as a reference key for this coupon code resource. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
type * | string | Resource type identifier; must be set to 'coupon-code' to indicate this is a coupon code resource. |
unique_code * | string | A unique alphanumeric string assigned to each customer or profile to identify and track this specific coupon code instance. |
expires_at | string | Optional expiration date and time in ISO 8601 format (e.g., 2022-11-08T00:00:00+00:00). If omitted or null, the code automatically expires 1 year from creation. |
get_coupon_code Get Coupon Code
Retrieve a specific coupon code by its combined identifier (code + coupon ID). Returns the full coupon code details including associated metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The combined identifier for the coupon code, consisting of the unique code and its associated coupon ID (e.g., '10OFF-ASD325FHK324UJDOI2M3JNES99'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
update_coupon_code Update Coupon Code
Update the status or expiration date of a coupon code. This operation allows you to modify coupon code lifecycle properties such as assignment status and expiration timing.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier for the coupon code being updated, formatted as the coupon code combined with its associated coupon ID (e.g., '10OFF-ASD325FHK324UJDOI2M3JNES99'). Must match the path ID. |
id * | string | The unique identifier for the coupon code, formatted as the coupon code combined with its associated coupon ID (e.g., '10OFF-ASD325FHK324UJDOI2M3JNES99'). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'coupon-code'. |
expires_at | string | The date and time when this coupon code expires, specified in ISO 8601 format with timezone (e.g., '2022-11-08T00:00:00+00:00'). If omitted or set to null, the expiration will automatically default to… |
status | string | The current status of the coupon code in the system. Valid statuses include: ASSIGNED_TO_PROFILE (linked to a customer), UNASSIGNED (available for use), USED (already redeemed), PROCESSING (being crea… |
delete_coupon_code Delete Coupon Code
Permanently deletes a coupon code by its identifier. The operation will fail if the coupon code has an assigned profile.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier combining the coupon code and its associated coupon ID (e.g., '10OFF-ASD325FHK324UJDOI2M3JNES99'). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_coupon_code_bulk_create_jobs List Coupon Code Bulk Create Jobs
Retrieve all coupon code bulk create jobs with optional filtering by status. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status using the equals operator (e.g., to retrieve only processing jobs). Supports filtering on the status field only. |
create_coupon_code_bulk_job Create Coupon Code Bulk Job
Initiate a bulk job to create up to 1,000 coupon codes at once. You can queue up to 100 jobs simultaneously, with rate limits of 75 requests per second (burst) or 700 per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of coupon code definitions to create in this bulk job. Maximum 1,000 items per job. Each item should contain the coupon code configuration details. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v2). Defaults to 2026-01-15 if not specified. |
type * | string | The job type identifier. Must be set to 'coupon-code-bulk-create-job' to specify this operation. |
get_coupon_code_bulk_create_job Get Coupon Code Bulk Create Job
Retrieve the status and details of a coupon code bulk create job by its ID. Use this to monitor the progress and results of asynchronous bulk coupon code creation operations.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk create job to retrieve (e.g., 01GSQPBF74KQ5YTDEPP41T1BZH). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
get_coupon_for_coupon_code Get Coupon for Coupon Code
Retrieve the coupon associated with a specific coupon code ID. This operation allows you to look up the relationship between a coupon code and its corresponding coupon details.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the coupon code to retrieve the associated coupon for (e.g., '10OFF'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
get_coupon_relationship_for_coupon_code Get Coupon Relationship for Coupon Code
Retrieves the coupon relationship associated with a specific coupon code. Use this to find which coupon is linked to a given coupon code ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The coupon code ID to look up (e.g., '10OFF'). This is the identifier of the coupon code whose associated coupon you want to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use for this request. |
list_coupon_codes_for_coupon List Coupon Codes for Coupon
Retrieve all coupon codes associated with a specific coupon. Supports filtering by expiration date, status, and related coupon or profile IDs.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the coupon to retrieve associated codes for (e.g., '10OFF'). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
filter | string | Optional filter expression to narrow results by expiration date (using comparison operators), status, or related coupon/profile identifiers. Supports multiple filter conditions. |
list_coupon_code_ids_for_coupon List Coupon Code IDs for Coupon
Retrieves the list of coupon code IDs associated with a specific coupon. Use optional filters to narrow results by expiration date, status, or related coupon/profile IDs.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the coupon to retrieve associated coupon codes for (e.g., '10OFF'). |
revision * | string | API endpoint revision in YYYY-MM-DD format (defaults to 2026-01-15). Specify a different revision date if needed for API version compatibility. |
filter | string | Optional filter expression to narrow results. Supports filtering by expiration date (using comparison operators like less-than or greater-than), status (exact match), coupon ID, or profile ID. See API… |
list_data_sources List Data Sources
Retrieve all data sources configured in your account. Supports pagination and sparse fieldset selection to optimize response payload.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (optionally with a suffix). Defaults to 2026-01-15 if not specified. |
fieldsdata-source | array | Specify which data source fields to include in the response for sparse fieldset optimization. Omit to return all available fields. |
pagesize | integer | Number of data sources to return per page. Defaults to 20 results; valid range is 1 to 100 items per page. |
create_data_source Create Data Source
Create a new data source within an account namespace. Data sources serve as containers for custom object definitions and can be configured with different visibility levels.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
title * | string | A unique display name for the data source within its namespace. Must be between 1 and 255 characters long. |
type * | string | The resource type identifier. Must be set to 'data-source' to indicate this operation creates a data source. |
description | string | Optional descriptive text providing additional context about the data source's purpose or contents. |
namespace | string | The organizational container for this data source. Defaults to 'custom-objects' if not specified, which is the standard namespace for custom object definitions. |
visibility | string | Controls who can access this data source. Choose 'private' for account-only access or 'shared' for broader visibility. Defaults to 'private'. |
get_data_source Get Data Source
Retrieve a specific data source by ID from your account. Use this to fetch detailed information about a configured data source.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the data source to retrieve. |
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldsdata-source | array | Optional list of specific data source fields to include in the response. Omit to retrieve all available fields. See API documentation for valid field names. |
delete_data_source Delete Data Source
Permanently delete a data source from your account. This operation requires the data source ID and the current API revision to ensure consistency.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the data source to delete. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
create_data_source_records_bulk Create Data Source Records in Bulk
Initiate a bulk import job to create up to 500 data source records in a single request. The operation accepts a batch of records with a maximum payload size of 4MB total and 512KB per individual record.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of record objects to import. Supports up to 500 records per request, with each record not exceeding 512KB in size. |
data_sourceDataType * | string | The resource type identifier for the data source relationship, which must be 'data-source'. |
id * | string | The unique identifier of the data source to which these records belong (e.g., '01J7C23V8XWMRG13FMD7VZN6GW'). |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | The type identifier for this operation, which must be 'data-source-record-bulk-create-job'. |
create_data_source_record Create Data Source Record
Create a single data source record import job. The record payload must not exceed 512KB. Requires custom-objects:write scope.
| Parameter | Type | Description |
|---|---|---|
data_sourceDataType * | string | The type identifier for the data source relationship. Must be 'data-source'. |
data_source_recordDataType * | string | The type identifier for the data source record. Must be 'data-source-record'. |
id * | string | The unique identifier of the data source to which this record belongs (e.g., 01J7C23V8XWMRG13FMD7VZN6GW). |
record * | object | The record object containing the data to be imported. Must not exceed 512KB in size. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | The type of job being created. Must be 'data-source-record-create-job'. |
create_profile_deletion_job Create Profile Deletion Job
Request asynchronous deletion of all profiles matching a specified identifier (email, phone number, or profile ID). Only one identifier type may be provided per request. Deleted profiles will appear on the Deleted Profiles page once processing completes.
| Parameter | Type | Description |
|---|---|---|
profileDataType * | string | Resource type identifier for the profile being deleted. Must be set to 'profile'. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15. |
type * | string | Resource type identifier for the deletion job request. Must be set to 'data-privacy-deletion-job'. |
email | string | Email address of the individual whose profile(s) should be deleted. Provide this, phone_number, or neither—but not multiple identifier types together. |
phone_number | string | Phone number in E.164 format (e.g., +1 country code and number) of the individual whose profile(s) should be deleted. Provide this, email, or neither—but not multiple identifier types together. |
list_events List Events
Retrieve all events from an account with optional filtering by metric, profile, or datetime range. Returns up to 200 events per page.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter events by specific criteria using comparison operators. Supports filtering by metric_id, profile_id, profile relationship, or datetime/timestamp ranges (e.g., events after a specific date). Cus… |
pagesize | integer | Number of events to return per page. Defaults to 200 if not specified; must be between 1 and 1000. |
create_event Create Event
Track a profile's activity by creating a new event. This operation also allows you to create a new profile or update an existing profile's properties in a single request. The event is validated and queued for processing immediately, though processing may not complete instantly.
| Parameter | Type | Description |
|---|---|---|
metricDataType * | string | Metric resource type identifier. Must be set to 'metric'. |
name * | string | Name of the event. Must be less than 128 characters. |
properties * | object | Custom properties for this event. Supports up to 400 properties with a maximum payload size of 5 MB total and 100 KB per string value. Top-level non-object properties can be used to create segments; u… |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | Resource type identifier. Must be set to 'event'. |
profile | object | Profile associated with the event: email, phone, name, location, and custom properties. |
time | string | ISO 8601 timestamp indicating when the event occurred. If omitted, the server's current time is used. Timestamps are truncated to the second and must be after 2000 and no more than 1 year in the futur… |
unique_id | string | Unique identifier for deduplication. If the same unique_id is submitted for the same profile and metric, only the first processed event is recorded. Defaults to timestamp precision of one second, limi… |
value | number | Numeric monetary value associated with the event, such as purchase amount or revenue. |
value_currency | string | ISO 4217 currency code for the event value (e.g., USD, EUR). Should be provided if a value is specified. |
get_event Get Event
Retrieve a specific event by its ID. Returns the complete event details for the requested event.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event to retrieve. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
create_events_bulk Create Events in Bulk
Create a batch of up to 1,000 events for one or more profiles in a single request. This operation supports creating new profiles or updating existing profile properties alongside event creation.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of event objects to create, with a maximum of 1,000 events per request and 5MB total payload size. Each event must include at least one profile identifier (id, email, or phone_number) and a metr… |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The type of bulk job being created. Must be set to 'event-bulk-create-job' to indicate this is an event creation operation. |
get_metric_for_event Get Metric for Event
Retrieve the metric associated with a specific event. This operation returns metric data linked to the event identified by the provided event ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event for which to retrieve the associated metric. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
list_metrics_for_event List Metrics for Event
Retrieve all metrics associated with a specific event. Returns a list of related metric identifiers linked to the event.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event for which to retrieve associated metrics. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
get_profile_for_event Get Profile for Event
Retrieve the profile associated with a specific event. Returns the profile data linked to the event identified by the provided event ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event whose associated profile you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
get_profile_id_for_event Get Profile ID for Event
Retrieve the profile relationship for a specific event, returning the associated profile ID. This operation allows you to identify which profile is linked to a given event.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event for which you want to retrieve the associated profile relationship. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_flows List Flows
Retrieve all flows in an account with cursor-based pagination. Returns up to 50 flows per request, filterable by multiple criteria including name, status, and timestamps.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter flows using comparison operators on specific fields. Supports filtering by id (any match), name (contains, starts-with, ends-with, equals), status (equals), archived status (equals), creation/u… |
pagesize | integer | Number of flows to return per page. Must be between 1 and 50, defaults to 50. |
get_flow Get Flow
Retrieve a specific flow by its ID. Returns the complete flow definition and configuration for the given flow identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_flow_status Update Flow Status
Update the status of a flow and all its associated actions. The flow can be transitioned to draft, manual, or live status.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the flow being updated; must match the flow ID in the path parameter. |
id * | string | The unique identifier of the flow to update (e.g., XVTP5Q). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
status * | string | The target status for the flow: 'draft' for unpublished changes, 'manual' for manual execution mode, or 'live' for active production status. |
type * | string | The resource type identifier; must be set to 'flow'. |
delete_flow Delete Flow
Permanently delete a flow by its ID. This operation requires the flow's current revision to ensure safe deletion and prevent accidental overwrites in concurrent scenarios.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow to delete (e.g., XVTP5Q). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specify the revision to ensure compatibility with the intended API version. |
get_flow_action Get Flow Action
Retrieve a specific flow action by its ID. Returns the complete flow action details including configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow action to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
get_flow_message Get Flow Message
Retrieve a specific flow message by its ID. Returns the complete message details from the associated flow.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow message to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
list_actions_for_flow List Actions for Flow
Retrieve all flow actions associated with a specific flow. Results are paginated with a maximum of 50 actions per request using cursor-based pagination.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow for which to retrieve associated actions. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter results by action properties. Supports filtering on: id (any operator), action_type (any/equals), status (equals), and created/updated timestamps (equals, greater-or-equal, greater-than, less-o… |
pagesize | integer | Number of actions to return per page. Must be between 1 and 50, defaults to 50. |
list_action_ids_for_flow List Action IDs for Flow
Retrieve all action IDs associated with a specific flow. Returns up to 100 results per request with cursor-based pagination support.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow for which to retrieve associated actions. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter results by action properties. Supports filtering on: id (any match), action_type (any or exact match), status (exact match), and created/updated timestamps (exact match or comparison operators)… |
pagesize | integer | Number of results to return per page. Must be between 1 and 50, defaults to 50. |
get_tags_for_flow Get Tags for Flow
Retrieve all tags associated with a specific flow. Returns a collection of tags linked to the flow identified by the provided ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow for which to retrieve associated tags. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_tag_ids_for_flow List Tag IDs for Flow
Retrieve all tag IDs associated with a specific flow. Returns a collection of tag identifiers linked to the given flow resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow whose associated tags you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_flow_for_flow_action Get Flow for Flow Action
Retrieves the flow associated with a specific flow action by its ID. This operation requires the flows:read scope and is subject to rate limits of 3 requests per second (burst) and 60 requests per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow action for which to retrieve the associated flow. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). This parameter controls which version of the API contract is used for the request. |
get_flow_relationship_for_flow_action Get Flow Relationship for Flow Action
Retrieve the flow associated with a specific flow action by its ID. Returns the flow relationship data for the given action.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow action for which to retrieve the associated flow. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_flow_action_messages List Flow Action Messages
Retrieve all flow messages associated with a specific flow action. Returns up to 50 messages per request with cursor-based pagination support.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow action for which to retrieve associated messages. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter results by message properties. Supports filtering on id (any operator), name (contains, ends-with, equals, starts-with), created timestamp, and updated timestamp (all timestamp filters support… |
pagesize | integer | Number of messages to return per page. Must be between 1 and 50, defaults to 50. |
list_message_ids_for_flow_action List Message IDs for Flow Action
Retrieve all flow message IDs associated with a specific flow action. Results are paginated with a maximum of 50 relationships per request using cursor-based pagination.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow action for which to retrieve associated message relationships. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter results by message properties. Supports filtering on `name` (contains, ends-with, equals, starts-with), `created` (equals, greater-or-equal, greater-than, less-or-equal, less-than), and `update… |
pagesize | integer | Number of message relationships to return per page. Must be between 1 and 50, defaults to 50. |
get_flow_action_for_message Get Flow Action for Message
Retrieve the flow action associated with a specific flow message. This operation returns the action configuration that should be executed for the given message within a flow.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow message for which to retrieve the associated flow action. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_flow_action_for_flow_message Get Flow Action for Flow Message
Retrieve the flow action relationship associated with a specific flow message. This returns the relationship link to the flow action that governs the behavior of the given flow message.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow message for which to retrieve the associated flow action relationship. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_template_for_flow_message Get Template for Flow Message
Retrieve the template associated with a specific flow message. Returns the template configuration used by the flow message.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow message for which to retrieve the associated template. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_template_id_for_flow_message Get Template ID for Flow Message
Retrieves the ID of the template associated with a specific flow message. This operation returns the relationship between a flow message and its related template.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the flow message for which to retrieve the associated template ID. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use for this request. |
list_forms List Forms
Retrieve all forms in an account with optional filtering, field selection, and pagination. Supports filtering by form properties like name, status, and timestamps.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Required for version compatibility. |
fieldsform | array | Specify which form fields to include in the response using sparse fieldsets for optimized data retrieval. |
filter | string | Filter forms by id, name, ab_test status, creation/update timestamps, or status. Supports operators like equals, contains, any, and temporal comparisons (greater-than, less-than, etc.). |
pagesize | integer | Number of forms to return per page. Must be between 1 and 100 items; defaults to 20. |
create_form Create Form
Create a new form with specified configuration, including versioning, status, and optional A/B testing setup. The form will be created in the specified status (draft or live) and can be configured for A/B testing.
get_form Get Form
Retrieve a specific form by its ID. Use optional field filtering to customize the response payload.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the form to retrieve (e.g., 'Y6nRLr'). |
revision * | string | API endpoint revision in YYYY-MM-DD format, with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
fieldsform | array | Optional sparse fieldset to limit returned form fields. See API documentation for supported field names and filtering syntax. |
delete_form Delete Form
Permanently delete a form by its ID. This operation requires the form ID and API revision to be specified.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the form to delete (e.g., 'Y6nRLr') |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified) |
get_form_version Get Form Version
Retrieve a specific form version by its ID. Use optional field filtering to customize the response payload.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the form version to retrieve (e.g., '1234567'). |
revision * | string | API revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldsform-version | array | Optional sparse fieldset to limit returned fields for the form-version resource. Reduces response payload by selecting only needed fields. |
list_versions_for_form List Form Versions
Retrieve all versions of a specific form, with optional filtering by form type, status, or date range, and support for sparse fieldsets and pagination.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15. |
fieldsform-version | array | Specify which form-version fields to include in the response to reduce payload size. Omit to return all fields. |
filter | string | Filter results by form type (popup, embedded, etc.), status, or creation/update timestamps. Supports equality checks and date range comparisons (greater than, less than, etc.). |
id | string | The unique identifier of the form whose versions you want to retrieve. |
pagesize | integer | Number of results per page for pagination. Defaults to 20, with a range of 1 to 100 results. |
list_version_ids_for_form List Form Version IDs
Retrieve the version IDs for a specific form. Supports filtering by form type, status, and creation/update timestamps, with pagination support.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter results by form type (any or equals), status (equals), or timestamps (created_at/updated_at with greater-than, greater-or-equal, less-than, less-or-equal operators). See API documentation for f… |
id | string | The unique identifier of the form to retrieve versions for. |
pagesize | integer | Number of results per page. Must be between 1 and 100, defaults to 20. |
get_form_for_form_version Get Form for Form Version
Retrieve the form associated with a specific form version. Use this to access the complete form definition linked to a particular version.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the form version you want to retrieve the form for (e.g., '1234567'). |
revision * | string | The API revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldsform | array | Optional sparse fieldset to limit which form fields are returned in the response. Specify an array of field names to include only those fields in the result. |
get_form_id_for_form_version Get Form ID for Form Version
Retrieve the ID of the form associated with a specific form version. This operation returns the relationship between a form version and its parent form.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the form version for which you want to retrieve the associated form ID. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_images List Images
Retrieve all images in your account with optional filtering and pagination. Supports filtering by ID, update date, format, name, size, and visibility status.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter results using field-specific operators. Supports filtering by ID (any/equals), updated_at (comparison operators), format (any/equals), name (text matching), size (numeric comparison), and hidde… |
pagesize | integer | Number of images to return per page. Defaults to 20 results; minimum is 1, maximum is 100. |
import_image_from_url Import Image from URL
Import an image into your asset library from a publicly accessible URL or base64-encoded data URI. Supports JPEG, PNG, and GIF formats up to 5MB in size.
| Parameter | Type | Description |
|---|---|---|
import_from_url * | string | The source URL or base64-encoded data URI for the image to import. Accepts standard HTTP/HTTPS URLs or data URIs in the format data:image/[format];base64,[encoded_data]. Supported formats are JPEG, PN… |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | Resource type identifier. Must be set to 'image' for this operation. |
hidden | boolean | Optional flag to exclude this image from the asset library UI. When true, the image is stored but not displayed in browsable asset lists. Defaults to false (image is visible). |
name | string | Optional display name for the imported image. If omitted, the filename from the URL will be used. If the name matches an existing image, a numeric suffix will be automatically appended to ensure uniqu… |
get_image Get Image
Retrieve a specific image by its ID. Returns the image metadata and content for the requested image resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the image to retrieve (e.g., '7'). This ID must correspond to an existing image in the system. |
revision * | string | The API endpoint revision to use for this request, specified in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). This ensures compatibility with specific API versions. |
update_image Update Image
Update an image's metadata, including its name and visibility settings. Requires the image ID and API revision to be specified.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the image being updated; must match the ID in the path parameter (e.g., '7') |
id * | string | The unique identifier of the image to update (e.g., '7') |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15) |
type * | string | The resource type; must be set to 'image' |
hidden | boolean | Controls image visibility in the asset library; when true, the image is hidden from the library view |
name | string | A display name for the image; optional and can be any string value |
create_image_from_file Create Image From File
Upload an image file to create a new image asset. Supports JPEG, PNG, and GIF formats up to 5MB. For importing images from URLs or data URIs, use the Upload Image From URL endpoint instead.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The image file to upload as binary data. Supported formats: JPEG, PNG, GIF. Maximum file size is 5MB. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
hidden | boolean | If true, the image will be hidden from the asset library. Defaults to false. |
name | string | Optional name for the image. If not provided, defaults to the original filename. If the name matches an existing image, a numeric suffix will be automatically added. |
list_lists List Lists
Retrieve all lists in your account with optional filtering and field selection. Results are paginated with a maximum of 10 lists per page.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API version in YYYY-MM-DD format (e.g., 2026-01-15). Defaults to 2026-01-15 if not specified. |
fieldslist | array | Specify which list fields to include in the response for sparse fieldset optimization. Reduces payload size by returning only requested fields. |
filter | string | Filter lists by name, id, creation date, or last update date. Supports exact matching for name and id, or date range queries using greater-than operators. Use the format: operator(field,[values]). |
create_list Create List
Create a new mailing list for managing subscribers. The list will be configured with your specified name and opt-in process preference.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for the list to help identify it in your account (e.g., 'Newsletter', 'Product Updates'). Used for display and organization purposes. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this operation. |
type * | string | The resource type being created. Must be set to 'list' for this operation. |
opt_in_process | string | The subscriber opt-in verification method for this list: 'double_opt_in' requires confirmation via email, while 'single_opt_in' adds subscribers immediately. If not specified, your account's default o… |
get_list Get List
Retrieve a specific list by its ID. Use optional field selection to customize the response payload and control rate limit impact.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for the list, generated by Klaviyo (e.g., 'Y6nRLr'). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
fieldslist | array | Optional array of field names to include in the response for sparse fieldsets. Omit to return all default fields. See API documentation for available fields. |
update_list Update List
Update a list's name and opt-in process settings. Requires the list ID in both the URL path and request body, along with the API revision date.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the list being updated in the request body. Must match the ID in the URL path. |
id * | string | The unique identifier of the list to update, generated by Klaviyo (e.g., 'Y6nRLr'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type, which must be 'list' for this operation. |
name | string | A descriptive name for the list to help identify it (e.g., 'Newsletter'). Optional field. |
opt_in_process | string | The opt-in process type for this list: 'double_opt_in' requires confirmation, while 'single_opt_in' adds subscribers immediately. Optional field. |
delete_list Delete List
Permanently delete a list by its ID. This action cannot be undone and will remove the list and all associated data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the list to delete, generated by Klaviyo (e.g., 'Y6nRLr'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15 if not specified. |
list_tags_for_list List Tags for List
Retrieve all tags associated with a specific list. Returns a collection of tags linked to the given list ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for the list, generated by Klaviyo (e.g., 'Y6nRLr'). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_tag_ids_for_list List Tag IDs for List
Retrieve all tags associated with a specific list. Returns tag IDs that are linked to the given list.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for the list, generated by Klaviyo (e.g., 'Y6nRLr'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_profiles_for_list List Profiles for List
Retrieve all profiles within a specific list. Optionally filter by email, phone number, push token, or group join date, and sort results by join date in ascending or descending order.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the list (generated by Klaviyo). Example format: 'Y6nRLr'. |
revision * | string | API endpoint revision in YYYY-MM-DD format (e.g., 2026-01-15). Defaults to the latest version if not specified. |
filter | string | Filter profiles by email, phone number, push token, or join date. Supports exact matching and range operators (greater-than, less-than, etc.) for dates. Use the format specified in the API filtering g… |
pagesize | integer | Number of profiles to return per page. Must be between 1 and 100. Defaults to 20 if not specified. |
list_profile_ids_for_list List Profile IDs for List
Retrieve the profile IDs that are members of a specific list. Use filtering to narrow results by email, phone number, push token, or other profile attributes, and pagination to manage large result sets.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the list. This is a Klaviyo-generated ID (e.g., 'Y6nRLr'). |
revision * | string | API endpoint revision in YYYY-MM-DD format (e.g., '2026-01-15'). Defaults to the latest version if not specified. |
filter | string | Optional filter to narrow results by profile attributes. Supports filtering by email, phone number, push token, Klaviyo ID (_kx), or group join date. Use operators like 'equals', 'any', 'greater-than'… |
pagesize | integer | Number of results per page. Must be between 1 and 100. Defaults to 20 if not specified. |
add_profiles_to_list Add Profiles to List
Add one or more profiles to a list. Accepts up to 1000 profiles per request. For granting email or SMS marketing consent, use the Subscribe Profiles endpoint instead.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of profile objects to add to the list. Maximum 1000 profiles per request. Order is not significant. |
id * | string | The unique identifier of the list to which profiles will be added. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
remove_profiles_from_list Remove Profiles From List
Remove one or more profiles from a marketing list. Removed profiles will no longer receive marketing communications from that list, but their overall consent and subscription status remain unchanged.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of profiles to remove from the list. Supports up to 1000 profiles per request. Each item should contain the profile identifier in the format expected by the API. |
id * | string | The unique identifier of the list from which profiles will be removed. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15 if not specified. |
list_flows_triggered_by_list List Flows Triggered by List
Retrieve all automation flows that are configured to trigger when the specified list is used as a trigger source. This helps identify which workflows depend on a particular list.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the list (generated by Klaviyo) for which you want to find associated flow triggers. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15 if not specified. |
list_flow_trigger_ids_for_list List Flow Trigger IDs for List
Retrieve the IDs of all flows that are triggered by a specific list. This helps identify which automation workflows depend on a given list as their trigger source.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the list, generated by Klaviyo (e.g., 'Y6nRLr'). This ID specifies which list's flow triggers you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_metrics List Metrics
Retrieve all metrics in your account with optional filtering by integration name or category. Returns up to 200 results per page.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter metrics by integration name or category using equality operators. Specify as a filter expression (e.g., equals(integration.name,'value') or equals(integration.category,'value')). |
get_metric Get Metric
Retrieve a specific metric by its ID. Returns the metric details for the specified metric identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric to retrieve. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
get_metric_property Get Metric Property
Retrieve a specific metric property by its ID. Use this to fetch detailed information about a metric property for inspection or integration purposes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric property to retrieve (UUID format). |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldsmetric-property | array | Optional sparse fieldset to limit the response to specific metric property fields. Specify which fields to include in the response to optimize payload size. |
list_custom_metrics List Custom Metrics
Retrieve all custom metrics configured in your account. This operation requires the metrics:read scope and is subject to rate limits of 3 requests per second (burst) and 60 requests per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
create_custom_metric Create Custom Metric
Create a new custom metric for tracking account-specific measurements. Custom metrics require a unique name and aggregation method to define how measurements are combined.
| Parameter | Type | Description |
|---|---|---|
aggregation_method * | string | Aggregation method determining how metric measurements are combined. Use 'value' for revenue-based metrics (like Placed Order) or 'count' for conversion-based metrics (like Active on Site). |
metric_groups * | array | Array of metric groups to associate with this custom metric. Specifies the grouping categories for organizing metric data. |
name * | string | Unique name for the custom metric within your account. Duplicate names will be rejected with a 400 error. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
type * | string | Resource type identifier; must be set to 'custom-metric' for this operation. |
get_custom_metric Get Custom Metric
Retrieve a custom metric by its unique identifier. Returns the metric definition and configuration for the specified custom metric ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the custom metric to retrieve, formatted as a hexadecimal string. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
update_custom_metric Update Custom Metric
Update an existing custom metric by ID. Modify the metric's name, aggregation method, and metric groups while maintaining the metric's identity and revision.
| Parameter | Type | Description |
|---|---|---|
aggregation_method * | string | The aggregation method determines how metric measurements are combined. Use 'value' for revenue-based metrics (e.g., Placed Order) or 'count' for conversion-based metrics (e.g., Active on Site). |
dataId * | string | The unique identifier of the custom metric being updated; must match the path ID parameter. |
id * | string | The unique identifier of the custom metric to update, formatted as a 32-character hexadecimal string. |
metric_groups * | array | An array of metric group configurations associated with this custom metric. Specify the order and structure of each group as required by your metric definition. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier; must be set to 'custom-metric' to indicate this is a custom metric resource. |
name | string | The display name for the custom metric. Names must be unique within your account; attempting to use a duplicate name will result in a 400 error. |
delete_custom_metric Delete Custom Metric
Permanently delete a custom metric by its ID. This operation requires the metrics:write scope and is subject to rate limits of 3 requests per second (burst) or 60 per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the custom metric to delete, formatted as a 32-character hexadecimal string. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_mapped_metrics List Mapped Metrics
Retrieve all mapped metrics configured in your account. This operation returns the complete set of metrics that have been mapped for use in your system.
| Parameter | Type | Description |
|---|---|---|
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with an optional suffix. Defaults to 2026-01-15 if not specified. |
get_mapped_metric Get Mapped Metric
Retrieve a mapped metric by its identifier. Mapped metrics represent conversion events tracked across your analytics platform, such as revenue, product views, or checkout initiations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The metric type identifier. Must be one of the supported conversion event types: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_product. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_mapped_metric Update Mapped Metric
Update a mapped metric to change its associations with standard or custom metrics. Use null values to unset metric mappings.
| Parameter | Type | Description |
|---|---|---|
custom_metricDataType * | string | The resource type identifier for the custom metric relationship. Must be set to 'custom-metric'. |
dataId * | string | The mapped metric type identifier in the request body. Must match the path ID and be one of: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_produ… |
dataRelationshipsCustom_metricDataId * | string | The ID of the custom metric to associate with this mapping. Pass null to remove the custom metric association. |
dataRelationshipsMetricDataId * | string | The ID of the standard metric to associate with this mapping. Pass null to remove the metric association. |
id * | string | The mapped metric type identifier being updated. Must be one of: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_product. |
metricDataType * | string | The resource type identifier for the metric relationship. Must be set to 'metric'. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
type * | string | The resource type identifier. Must be set to 'mapped-metric'. |
query_metric_aggregates Query Metric Aggregates
Query and aggregate event data for a metric across native Klaviyo metrics, integrations, and custom events. Results can be filtered by time range and grouped by time intervals, event properties, or profile dimensions.
| Parameter | Type | Description |
|---|---|---|
filter * | array | Required list of filter conditions to constrain results. Must include a time range using ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) with 'greater-or-equal' and 'less-than' operators on the 'datetime… |
measurements * | array | One or more measurement types to calculate, such as 'count', 'unique', or 'sum_value'. Order is preserved in results. |
metric_id * | string | The unique identifier of the metric to aggregate. Example: '0rG4eQ'. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15. |
type * | string | Resource type identifier. Must be set to 'metric-aggregate'. |
by | array | Optional attributes to partition results by, such as '$message' for message type. Enables multi-dimensional analysis of aggregated data. |
interval | string | Time interval for grouping aggregation results. Supported intervals are hour, day, week, or month. Defaults to day. |
page_size | integer | Maximum number of result rows returned per page. Defaults to 500. |
return_fields | array | Optional list of fields to include in the response. If omitted, all available fields are returned. |
timezone | string | IANA timezone for query processing, such as 'America/New_York'. Defaults to UTC. Case-sensitive. Most timezones are supported except Factory, Europe/Kyiv, and Pacific/Kanton. |
list_flows_triggered_by_metric List Flows Triggered by Metric
Retrieve all workflows that use the specified metric as a trigger condition. This helps identify which flows depend on a particular metric for activation.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric to query for associated flow triggers. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_flow_ids_triggered_by_metric List Flow IDs Triggered by Metric
Retrieve the IDs of all flows that use the specified metric as their trigger condition. This allows you to identify which flows are dependent on a particular metric.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric for which to retrieve triggered flows. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_metric_properties Get Metric Properties
Retrieve all properties associated with a specific metric by its ID. Use optional field filtering to request only specific metric property attributes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric to retrieve properties for (e.g., '925e38'). |
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldsmetric-property | array | Optional list of specific metric-property fields to include in the response. When omitted, all available fields are returned. See API documentation for available field names. |
list_property_ids_for_metric List Property IDs for Metric
Retrieve the IDs of all metric properties associated with a specific metric. Use this to discover which properties are linked to a metric.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric (e.g., '925e38'). This ID specifies which metric's properties you want to retrieve. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specify a revision to ensure consistent API behavior across requests. |
get_metric_for_metric_property Get Metric for Metric Property
Retrieve the metric associated with a specific metric property. This operation fetches the metric data linked to the given metric property ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric property. Use the metric property ID to look up its associated metric. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
get_metric_id_for_metric_property Get Metric ID for Metric Property
Retrieve the metric ID associated with a specific metric property. This operation resolves the relationship between a metric property and its parent metric.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the metric property. Use the metric property ID (a 32-character hexadecimal string) to specify which property's metric relationship you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_metrics_for_custom_metric Get Metrics for Custom Metric
Retrieve all metrics associated with a specific custom metric by its ID. This operation allows you to fetch the complete set of metric data points for a given custom metric configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the custom metric. Use the custom metric ID returned when the metric was created or retrieved from a list operation. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified, allowing you to control which API version behavior is used. |
list_metrics_for_custom_metric List Metrics for Custom Metric
Retrieve all metric IDs associated with a specific custom metric. Use this to discover which metrics are linked to a custom metric configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the custom metric. This is a 32-character hexadecimal string that uniquely identifies the custom metric resource. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified, allowing you to target specific API versions. |
get_metric_for_mapped_metric Get Metric for Mapped Metric
Retrieve the metric associated with a specific mapped metric. This operation returns the underlying metric data for a given mapped metric ID, if one exists.
| Parameter | Type | Description |
|---|---|---|
id * | string | The mapped metric type identifier. Must be one of the predefined metric mapping types: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_product. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_metric_id_for_mapped_metric Get Metric ID for Mapped Metric
Retrieve the metric ID associated with a specific mapped metric. This operation resolves the relationship between a mapped metric and its underlying metric.
| Parameter | Type | Description |
|---|---|---|
id * | string | The type of mapped metric to query. Must be one of the predefined mapping types: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_product. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_custom_metric_for_mapped_metric Get Custom Metric for Mapped Metric
Retrieve the custom metric associated with a specific mapped metric. Returns the custom metric details if one exists for the given mapped metric ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The mapped metric type identifier. Must be one of the predefined event types: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_product. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_custom_metric_id_for_mapped_metric Get Custom Metric ID for Mapped Metric
Retrieve the custom metric ID associated with a specific mapped metric. This operation returns the relationship between a mapped metric and its underlying custom metric.
| Parameter | Type | Description |
|---|---|---|
id * | string | The type of metric mapping to query. Must be one of the predefined mapping types: added_to_cart, cancelled_sales, ordered_product, refunded_sales, revenue, started_checkout, or viewed_product. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_profiles List Profiles
Retrieve all profiles in an account with optional filtering, sorting, and enrichment. Supports subscriptions and predictive analytics data via the additional-fields parameter, with different rate limits depending on which enrichments are requested.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (required; defaults to 2026-01-15). |
fieldspush-token | array | Specify which push token fields to include in the response using sparse fieldsets for optimized data retrieval. |
filter | string | Filter profiles by id, email, phone_number, external_id, _kx identifier, creation/update timestamps, or email subscription and suppression details. Use operators like equals, any, greater-than, and le… |
pagesize | integer | Number of profiles to return per page, between 1 and 100 (default: 20). |
create_profile Create Profile
Create a new customer profile with contact information, location data, and custom properties. Use the `additional-fields` parameter to include subscriptions and predictive analytics in the response.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
type * | string | Profile resource type; must be set to 'profile'. |
address1 | string | First line of the street address. |
address2 | string | Second line of the street address (e.g., apartment or suite number). |
city | string | City name. |
country | string | Country name. |
email | string | Individual's email address (e.g., sarah.mason@klaviyo-demo.com). |
external_id | string | Unique identifier to link this Klaviyo profile with an external system such as a point-of-sale platform; format varies by external system. |
first_name | string | Individual's first name. |
image | string | URL pointing to the profile's image. |
ip | string | IP address of the individual. |
last_name | string | Individual's last name. |
latitude | string | Latitude coordinate; provide at least four decimal places for precision. Accepts string or number format. |
locale | string | Profile locale in IETF BCP 47 format (e.g., en-US for English-United States). |
longitude | string | Longitude coordinate; provide at least four decimal places for precision. Accepts string or number format. |
organization | string | Name of the company or organization where the individual works. |
phone_number | string | Individual's phone number in E.164 format (e.g., +15005550006). |
properties | object | Custom key-value properties to attach to the profile (e.g., {'pseudonym': 'Dr. Octopus'}). |
region | string | Region within a country, such as state or province (e.g., NY). |
timezone | string | Time zone name using the IANA Time Zone Database (e.g., America/New_York). |
title | string | Individual's job title. |
zip | string | Zip or postal code. |
get_profile Get Profile
Retrieve a profile by ID with optional support for subscriptions and predictive analytics data. Be aware of rate limits that vary based on the `fields` parameters used.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldslist | array | Optional sparse fieldset for list-related profile fields. Specify which fields to include in the response to optimize data transfer. |
fieldspush-token | array | Optional sparse fieldset for push-token-related profile fields. Specify which fields to include in the response to optimize data transfer. |
fieldssegment | array | Optional sparse fieldset for segment-related profile fields. Specify which fields to include in the response to optimize data transfer. Note: Using this parameter reduces rate limits to 1 request per… |
update_profile Update Profile
Update an existing customer profile with new or modified information. Use the `additional-fields` parameter to include subscriptions and predictive analytics data in the response. Setting a field to `null` clears it; omitting a field leaves it unchanged.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique profile identifier in the request body; must match the path ID. |
id * | string | The unique profile identifier (Klaviyo-generated) that specifies which profile to update. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15. |
type * | string | The resource type; must be 'profile'. |
address1 | string | The first line of the street address. |
address2 | string | The second line of the street address (e.g., apartment or suite number). |
append | object | Append one or more simple values to an existing property array (e.g., add SKUs to a list). |
city | string | The city name. |
country | string | The country name. |
email | string | The individual's email address. |
external_id | string | A unique identifier from an external system (such as a point-of-sale system) to link this Klaviyo profile with external records. |
first_name | string | The individual's first name. |
image | string | A URL pointing to the profile's image. |
ip | string | The IP address associated with the profile. |
last_name | string | The individual's last name. |
latitude | string | The latitude coordinate; provide at least four decimal places for precision. |
locale | string | The profile's locale in IETF BCP 47 format (e.g., en-US for English-United States). |
longitude | string | The longitude coordinate; provide at least four decimal places for precision. |
organization | string | The name of the company or organization where the individual works. |
phone_number | string | The individual's phone number in E.164 format (e.g., +1 followed by country and number). |
properties | object | A key-value object containing custom properties assigned to this profile. |
region | string | The region within the country, such as a state or province. |
timezone | string | The time zone name using the IANA Time Zone Database (e.g., America/New_York). |
title | string | The individual's job title. |
unappend | object | Remove one or more simple values from an existing property array (e.g., remove SKUs from a list). |
unset | Remove one or more keys (and their values) completely from the properties object. | |
zip | string | The postal or zip code. |
list_bulk_import_profiles_jobs List Bulk Import Profile Jobs
Retrieve all bulk profile import jobs with optional filtering and pagination. Returns up to 100 jobs per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
fieldsprofile-bulk-import-job | array | Specify which fields to include in the response for each bulk import job. Supports sparse fieldsets to optimize payload size. |
filter | string | Filter results by job status using equality or any-match operators. Supported field: `status` with operators `equals` and `any`. |
pagesize | integer | Number of jobs to return per page. Must be between 1 and 100, with a default of 20. |
create_profile_bulk_import_job Create Profile Bulk Import Job
Create a bulk import job to efficiently create or update up to 10,000 profiles in a single request. The job processes profiles asynchronously and supports payloads up to 5MB total (100KB per profile).
| Parameter | Type | Description |
|---|---|---|
profilesData * | array | Array of profile objects to import. Each profile can be up to 100KB. The array can contain up to 10,000 profiles per request. Order is preserved during processing. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | Resource type identifier for this operation. Must be set to 'profile-bulk-import-job'. |
listsData | array | Optional array of list identifiers to associate the imported profiles with. Profiles will be added to these lists upon successful import. |
get_bulk_import_profiles_job Get Bulk Import Profiles Job
Retrieve the status and details of a bulk profile import job by its ID. Use this to monitor the progress and results of profile import operations.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk import job to retrieve (format: alphanumeric string). |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldslist | array | Optional list of top-level resource types to include in the response. Specify resource types to retrieve only those fields across all included resources. |
fieldsprofile-bulk-import-job | array | Optional list of fields specific to the profile bulk import job resource. Specify field names to retrieve only those attributes for the job. |
list_bulk_suppress_profiles_jobs List Bulk Suppress Profiles Jobs
Retrieve the status of all bulk profile suppression jobs. Use filtering to narrow results by job status, list ID, or segment ID.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status, list ID, or segment ID using equality operators. Specify filters in the format `field_name=value` (e.g., `status=processing`). |
create_profile_suppression_bulk_job Create Profile Suppression Bulk Job
Create a bulk job to suppress profiles from receiving email marketing. Suppress profiles by providing individual email addresses (up to 100 per request) or by specifying a segment or list ID to suppress all current members.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of email addresses to suppress. Maximum 100 email addresses per request. Specify this to suppress individual profiles, or use list/segment ID instead to suppress all members of a group. |
listDataId * | string | ID of the list whose current members should be suppressed. Provide this to suppress all profiles in a specific list, or use the email addresses array for individual suppressions. |
listDataType * | string | Resource type identifier for list-based suppression. Must be set to 'list' when suppressing by list membership. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15. |
segmentDataId * | string | ID of the segment whose current members should be suppressed. Provide this to suppress all profiles in a specific segment, or use the email addresses array for individual suppressions. |
segmentDataType * | string | Resource type identifier for segment-based suppression. Must be set to 'segment' when suppressing by segment membership. |
type * | string | Resource type identifier for the bulk suppression job. Must be set to 'profile-suppression-bulk-create-job'. |
get_bulk_suppress_profiles_job Get Bulk Suppress Profiles Job
Retrieve the status and details of a bulk suppress profiles job by its ID. Use this to monitor the progress and results of profile suppression operations.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk suppress profiles job to retrieve (e.g., 01GSQPBF74KQ5YTDEPP41T1BZH). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
list_bulk_unsuppress_profiles_jobs List Bulk Unsuppress Profiles Jobs
Retrieve all bulk unsuppress profiles jobs with optional filtering by status, list ID, or segment ID. Use this to monitor the progress and status of profile unsuppression operations.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter results by job status, list ID, or segment ID using equality operators. Specify filters in the format `field_name=value` (e.g., `status=processing` to show only processing jobs). |
remove_profile_suppressions_bulk Remove Profile Suppressions in Bulk
Bulk remove USER_SUPPRESSED suppressions from profiles by email address or by unsuppressing all members of a specified segment or list. Other suppression reasons (unsubscribed, invalid email, hard bounce) are not affected.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of email addresses to unsuppress. Maximum 100 email addresses per request. |
listDataId * | string | The ID of the list whose current members should have suppressions removed. Provide either this or segment.data.id, not both. |
listDataType * | string | Resource type identifier for list relationships. Must be 'list'. |
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15. |
segmentDataId * | string | The ID of the segment whose current members should have suppressions removed. Provide either this or list.data.id, not both. |
segmentDataType * | string | Resource type identifier for segment relationships. Must be 'segment'. |
type * | string | Resource type identifier for the bulk suppression deletion job. Must be 'profile-suppression-bulk-delete-job'. |
get_bulk_unsuppress_profiles_job Get Bulk Unsuppress Profiles Job
Retrieve the status and details of a bulk unsuppress profiles job by its ID. Use this to monitor the progress of profile unsuppression operations.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the bulk unsuppress job to retrieve (e.g., 01GSQPBF74KQ5YTDEPP41T1BZH). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
list_push_tokens List Push Tokens
Retrieve push tokens associated with your company account. Supports filtering by token ID, profile ID, enablement status, and platform, with optional sparse fieldset selection.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldspush-token | array | Specify which push token fields to include in the response using sparse fieldsets for optimized payload size. |
filter | string | Filter results by push token properties. Supported filters: token ID, associated profile ID, enablement status, or platform. Use equals operator with the format: field_name equals('value'). |
pagesize | integer | Number of results per page. Must be between 1 and 100 items. Defaults to 20 if not specified. |
create_or_update_push_token Create or Update Push Token
Create or update a push token for a user's device, enabling push notification delivery. This endpoint supports migrating push tokens from other platforms and accepts device metadata to enhance targeting and analytics.
| Parameter | Type | Description |
|---|---|---|
platform * | string | The mobile platform where the push token was generated. Must be either 'ios' or 'android'. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15. |
token * | string | The push token string from APNS (Apple) or FCM (Google). This is the credential needed to send push notifications to the device. |
type * | string | Resource type identifier. Must be 'push-token'. |
vendor * | string | The push service provider. Must be 'apns' for Apple devices or 'fcm' for Android devices. |
background | string | Whether the device can receive background push notifications. Defaults to 'AVAILABLE'. Use 'DENIED' or 'RESTRICTED' if background delivery is not permitted. |
device_metadata | object | Device metadata: device_id, model, OS, app info, SDK version, and environment. |
enablement_status | string | Authorization status for this push token. Indicates whether the user has granted, denied, or not yet determined push notification permissions. Defaults to 'AUTHORIZED'. |
profile | object | Profile to associate with the push token: email, phone, name, location, and custom properties. |
get_push_token Get Push Token
Retrieve a specific push token by its ID. Returns detailed information about the push token configuration and status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the push token to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldspush-token | array | Specify which fields to include in the push token response using sparse fieldsets. Omit to receive all available fields. |
delete_push_token Delete Push Token
Permanently delete a push token by its ID. This operation requires write access to push tokens and is subject to rate limits (3 requests per second burst, 60 per minute steady).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the push token to delete, typically a 32-character hexadecimal string. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
create_or_update_profile Create or Update Profile
Create a new profile or update an existing one with the provided attributes. Returns 201 for newly created profiles and 200 for updates. Use the `additional-fields` parameter to include subscriptions and predictive analytics in the response.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
type * | string | Resource type identifier; must be set to 'profile'. |
address1 | string | First line of the street address. |
address2 | string | Second line of the street address (e.g., apartment or floor number). |
append | object | Object specifying simple values to append to property arrays (e.g., add SKUs to an existing list). |
city | string | City name. |
country | string | Country name. |
email | string | Individual's email address (e.g., sarah.mason@klaviyo-demo.com). |
external_id | string | Unique external identifier to associate this Klaviyo profile with a profile in an external system such as a point-of-sale system. Format varies by external system. |
first_name | string | Individual's first name. |
image | string | URL pointing to the profile's image. |
ip | string | IP address associated with the profile. |
kx | string | Encrypted exchange identifier used by Klaviyo's web tracking to identify profiles. Can be used as a filter when retrieving profiles. |
last_name | string | Individual's last name. |
latitude | string | Latitude coordinate; recommend precision of four decimal places. Accepts string or number format. |
locale | string | Profile locale in IETF BCP 47 format (e.g., en-US for English-United States). |
longitude | string | Longitude coordinate; recommend precision of four decimal places. Accepts string or number format. |
organization | string | Name of the company or organization where the individual works. |
phone_number | string | Individual's phone number in E.164 format (e.g., +15005550006). |
properties | object | Object containing custom key-value pairs for profile properties. Setting a field to null clears it; omitting a field leaves it unchanged. |
region | string | Region within a country, such as state or province (e.g., NY). |
timezone | string | Time zone name using the IANA Time Zone Database format (e.g., America/New_York). |
title | string | Individual's job title. |
unappend | object | Object specifying simple values to remove from property arrays (e.g., remove SKUs from an existing list). |
unset | Array or string specifying property keys to remove completely from the profile, including all their values. | |
zip | string | Zip or postal code. |
merge_profiles Merge Profiles
Merge a source profile into a destination profile by ID. This operation queues an asynchronous task that consolidates data from the source profile into the destination profile and deletes the source profile. Only one source profile can be merged per request.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the destination profile that will receive merged data from the source profile. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | The type of operation being performed. Must be set to 'profile-merge'. |
data | array | Array containing the source profile relationship to be merged into the destination profile. Only one source profile is accepted per request. |
subscribe_profiles_bulk Subscribe Profiles in Bulk
Subscribe up to 1,000 profiles to email, SMS, WhatsApp, or push marketing channels. Profiles will be immediately subscribed or sent a double opt-in confirmation based on list settings or account defaults. Removes any existing unsubscribe, spam report, or suppression flags from the profiles.
unsubscribe_profiles_bulk Bulk Unsubscribe Profiles
Bulk unsubscribe one or more profiles (up to 100 per request) from email marketing, SMS marketing, or both. ⚠️ Profiles not in the specified list will be globally unsubscribed—always verify list membership before calling to avoid unintended global unsubscribes.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of profile objects to unsubscribe. Maximum 100 profiles per request. Each profile should include the necessary identifiers for the unsubscribe operation. |
id * | string | The unique identifier of the list from which to unsubscribe the profiles. |
listDataType * | string | The type of resource being referenced. Must be 'list'. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
type * | string | The type of job being created. Must be 'profile-subscription-bulk-delete-job'. |
list_push_tokens_for_profile List Push Tokens for Profile
Retrieve all push tokens associated with a specific profile. Use sparse fieldsets to customize which push token attributes are returned in the response.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile whose push tokens should be retrieved. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldspush-token | array | Optional sparse fieldset to limit which push token attributes are included in the response. Specify as a comma-separated list of field names. |
list_push_token_ids_for_profile List Push Token IDs for Profile
Retrieve all push token IDs associated with a specific profile. Returns a collection of push token identifiers linked to the given profile.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile for which to retrieve associated push token IDs. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_lists_for_profile List Lists for Profile
Retrieve all list memberships for a specific profile. Returns the lists that a profile belongs to, with support for sparse fieldsets to customize the response.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile whose list memberships you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldslist | array | Specify which fields to include in the response using sparse fieldsets. Omit to return default fields. See API documentation for available field names. |
get_lists_for_profile_relationship Get Lists for Profile Relationship
Retrieve all list memberships for a specific profile. Returns the IDs of lists that the profile belongs to.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile to retrieve list memberships for. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
get_segments_for_profile Get Segments for Profile
Retrieve all segment memberships for a specific profile. Returns which segments the profile belongs to, with optional field filtering for sparse responses.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile to retrieve segments for. |
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldssegment | array | Optional list of specific segment fields to include in the response. Use sparse fieldsets to reduce payload size and improve performance by requesting only needed fields. |
list_segment_ids_for_profile List Segment IDs for Profile
Retrieve all segment IDs that a profile is a member of. Returns the segment membership relationships for the specified profile.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the profile whose segment memberships you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_lists_for_bulk_import_profiles_job Get Lists for Bulk Import Profiles Job
Retrieve the lists associated with a bulk profile import job. Use this to see which lists will receive the imported profiles.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the bulk import profiles job. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldslist | array | Specify which fields to include in the response using sparse fieldsets. Omit to receive all available fields. |
get_list_ids_for_bulk_import_profiles_job Get List IDs for Bulk Import Profiles Job
Retrieve the list IDs associated with a specific bulk profile import job. This operation returns the relationship between a bulk import job and its related lists.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the bulk profile import job for which to retrieve associated list IDs. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_profiles_for_bulk_import_job List Profiles for Bulk Import Job
Retrieve profiles associated with a bulk profile import job. Results are paginated and support customizable page sizes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the bulk import job whose profiles you want to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15. |
pagesize | integer | Number of profiles to return per page. Defaults to 20 profiles; must be between 1 and 100. |
list_profile_ids_for_bulk_import_job List Profile IDs for Bulk Import Job
Retrieve the profile IDs associated with a bulk import job. Returns paginated profile relationships for the specified bulk profile import job.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the bulk import profiles job. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15. |
pagesize | integer | Number of profile IDs to return per page. Defaults to 20, with a maximum of 100 results per page. |
list_import_errors_for_bulk_import_profiles_job List Import Errors for Bulk Import Profiles Job
Retrieve import errors for a bulk profile import job. Returns detailed error information for profiles that failed during the import process, with pagination support.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the bulk import job to retrieve errors for. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (default: 2026-01-15). Determines the response schema version. |
fieldsimport-error | array | Specify which fields to include in the import-error response using sparse fieldsets. Omit to return all available fields. |
pagesize | integer | Number of errors to return per page. Must be between 1 and 100 (default: 20). |
get_profile_for_push_token Get Profile for Push Token
Retrieve the user profile associated with a specific push token. This operation allows you to look up profile information linked to a push notification token.
| Parameter | Type | Description |
|---|---|---|
id * | string | The push token identifier whose associated profile you want to retrieve. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_profile_id_for_push_token Get Profile ID for Push Token
Retrieve the profile ID associated with a specific push token. This operation returns the relationship between a push token and its linked user profile.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the push token for which you want to retrieve the associated profile ID. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
query_campaign_values_report Query Campaign Values Report
Retrieve campaign analytics data for specified statistics across a given timeframe, with optional grouping and filtering capabilities. Results include conversion metrics and can be segmented by campaign, channel, tags, and other dimensions.
| Parameter | Type | Description |
|---|---|---|
conversion_metric_id * | string | Unique identifier of the conversion metric to use for calculating conversion-related statistics in the report. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
statistics * | array | Comma-separated list of metrics to retrieve (e.g., opens, open_rate, clicks, conversions). Rate-based statistics are returned as decimal values between 0.0 and 1.0. |
timeframe * | Time period for data retrieval in a supported timeframe format. Maximum span is 1 year. Refer to available timeframes documentation for valid formats. | |
type * | string | Report type identifier. Must be set to 'campaign-values-report' to query campaign analytics data. |
filter | string | Optional filter expression to narrow results using AND-combined conditions. Scalar attributes (send_channel, campaign_id, campaign_message_id, campaign_message_name, variation, variation_name, text_me… |
group_by | array | Optional list of dimensions to group results by. Supported dimensions include campaign_id, campaign_message_id, campaign_message_name, group, group_name, send_channel, tag_id, tag_name, text_message_f… |
query_flow_values_report Query Flow Values Report
Retrieve flow analytics data including performance metrics like opens, clicks, conversions, and engagement rates. Results can be filtered and grouped by flow, message, channel, tags, and other dimensions to analyze campaign performance over a specified time period.
| Parameter | Type | Description |
|---|---|---|
conversion_metric_id * | string | Metric ID used to calculate conversion-related statistics in the report. Provide the ID of the conversion metric you want to measure (e.g., 'RESQ6t'). |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.1). Defaults to 2026-01-15 if not specified. |
statistics * | array | List of metrics to retrieve for each result row. Rate-based statistics (like open_rate, click_rate) are returned as decimal values between 0.0 and 1.0. Examples include 'opens', 'clicks', 'open_rate',… |
timeframe * | Time period for the report, with a maximum span of 1 year. Refer to the available time frames documentation for supported formats (e.g., relative ranges like 'last_30_days' or absolute date ranges). | |
type * | string | Report type identifier. Must be set to 'flow-values-report' to query flow analytics data. |
filter | string | Optional filter expression to narrow results. Use operators like 'equals' and 'contains-any' for scalar attributes (flow_id, flow_name, send_channel, flow_message_id, flow_message_name, text_message_f… |
group_by | array | Optional list of attributes to group results by. Allowed values include flow_id, flow_message_id, flow_message_name, flow_name, send_channel, tag_id, tag_name, text_message_format, variation, and vari… |
get_flow_series_analytics Get Flow Series Analytics
Retrieve time-series analytics data for flows, including performance metrics like opens, clicks, and conversions aggregated at your specified interval over a given timeframe.
| Parameter | Type | Description |
|---|---|---|
conversion_metric_id * | string | The metric ID used to calculate conversion statistics. This determines which conversion event is tracked in the results. |
interval * | string | The time bucket size for aggregating data. Hourly intervals are limited to 7-day timeframes, daily to 60 days, and monthly to 52 weeks. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.beta). Defaults to 2026-01-15. |
statistics * | array | One or more statistics to retrieve for each data point. Rate statistics (like open_rate) are returned as decimals between 0.0 and 1.0. Examples: opens, open_rate, clicks, click_rate, conversions. |
timeframe * | The date range for the report, with a maximum span of 1 year. Refer to available time frames in the Klaviyo reporting API documentation for supported formats. | |
type * | string | The type of report being requested. Must be 'flow-series-report'. |
filter | string | Optional filter expression to narrow results by scalar attributes (flow_id, flow_name, send_channel, etc.) or list attributes (tag_id, tag_name). Use equals or contains-any for scalars, contains-any o… |
group_by | array | Optional list of attributes to group results by (e.g., flow_id, flow_name, send_channel, tag_name). Flow_message_id and flow_id are always required. If omitted, data defaults to grouping by flow_id, f… |
query_form_values_report Query Form Values Report
Retrieve form analytics data including submission rates, views, and other performance metrics. Results can be filtered by form and grouped by form or form version over a specified time period (up to 1 year).
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
statistics * | array | One or more statistics to retrieve for the specified time period. Rate statistics are returned as decimal values between 0.0 and 1.0. Examples include 'viewed_form' and 'submit_rate'. |
timeframe * | The time period for which to retrieve data, with a maximum span of 1 year. Use the available time frame formats documented in the reporting API overview. | |
type * | string | The type of report to query. Must be 'form-values-report' to retrieve form analytics data. |
filter | string | Optional filter expression to narrow results by form_id or form_version_id using equals or any operators. Combine multiple filters with AND. The 'any' operator supports up to 100 values per filter. |
group_by | array | Optional list of attributes to group results by. Supported values are 'form_id' and 'form_version_id'. Defaults to 'form_id' if not provided. When grouping by 'form_version_id', 'form_id' must also be… |
get_form_series_analytics Get Form Series Analytics
Retrieve time-series analytics data for forms, including metrics like view counts and submission rates aggregated over your specified timeframe and interval.
| Parameter | Type | Description |
|---|---|---|
interval * | string | Aggregation interval for the data series. Hourly intervals are limited to 7-day timeframes, daily to 60 days, and monthly to 52 weeks. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
statistics * | array | List of statistics to retrieve (e.g., 'viewed_form', 'submit_rate'). Rate statistics are returned as decimal values between 0.0 and 1.0. |
timeframe * | The time period for data retrieval, with a maximum span of 1 year. Refer to available time frames in the reporting API documentation. | |
type * | string | The type of report to query; must be 'form-series-report'. |
filter | string | Optional filter expression to narrow results by form_id or form_version_id using equals or any operators. Combine multiple filters with AND; any operator supports up to 100 values. |
group_by | array | Optional list of attributes to group results by (form_id or form_version_id). Defaults to form_id if not specified. When grouping by form_version_id, form_id must also be included. |
get_segment_values_report Get Segment Values Report
Retrieve analytics data for segment values across specified statistics and timeframe. Returns aggregated metrics like member counts and changes for one or more segments.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use. |
statistics * | array | Array of metric names to retrieve for each segment. Examples include 'total_members' and 'net_members_changed'. At least one statistic is required. |
timeframe * | Time period for the report query. Must span no more than 1 year and cannot include dates before June 1st, 2023. Use ISO 8601 format or refer to available timeframe options in the API documentation. | |
type * | string | Report type identifier. Must be set to 'segment-values-report' to query segment analytics data. |
filter | string | Optional filter to narrow results to specific segments. Use 'equals' operator for a single segment ID or 'any' operator to include up to 100 segment IDs. Only one filter per attribute is allowed. |
get_segment_series_report Get Segment Series Report
Retrieve time-series analytics data for one or more segments, aggregated at your specified interval. Supports filtering by segment ID and covers data from June 1st, 2023 onward, with a maximum lookback period of 1 year.
| Parameter | Type | Description |
|---|---|---|
interval * | string | Aggregation granularity for the time series. Hourly intervals are limited to 7-day windows, daily to 60 days, weekly to 1 year, and monthly to 52 weeks. Choose based on your timeframe and desired deta… |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Controls the API contract version used for this request. |
statistics * | array | Array of metric names to retrieve for each time period. Common metrics include total_members and net_members_changed. Order is preserved in results. |
timeframe * | Time range for the report. Must span no longer than 1 year and cannot include dates before June 1st, 2023. Use ISO 8601 date format or relative time frame identifiers as documented in the reporting AP… | |
type * | string | Report type identifier. Must be set to 'segment-series-report' to query segment analytics series data. |
filter | string | Optional filter to narrow results to specific segments. Use 'equals' for a single segment ID or 'any' to include up to 100 segment IDs. Format: any(segment_id,["id1","id2"]) or equals(segment_id,"id")… |
list_reviews List Reviews
Retrieve all reviews with optional filtering and pagination. Supports filtering by creation date, rating, ID, item ID, content, status, review type, and verification status.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15. |
filter | string | Filter reviews using comparison and matching operators. Supports filtering by creation date (date range), rating (any value, equals, or range), IDs, content keywords, status, review type, and verifica… |
pagesize | integer | Number of reviews to return per page. Defaults to 20 results; must be between 1 and 100. |
get_review Get Review
Retrieve a specific review by its ID. Returns the full review details including content, metadata, and associated information.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the review to retrieve (e.g., '2134228') |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this request. |
update_review Update Review
Update an existing review by its ID. Requires the review:write scope and respects rate limits of 10 requests per second (burst) and 150 requests per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the review being updated. Must match the path ID parameter. |
id * | string | The unique identifier of the review to update. Must match the review ID provided in the request body. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which API version to use for this operation. |
type * | string | The resource type identifier. Must be set to 'review' to indicate this operation targets a review resource. |
status | The new status to assign to the review. Valid status values depend on the review workflow configuration. |
list_segments List Segments
Retrieve all segments in an account with optional filtering and field selection. Returns up to 10 results per page.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldssegment | array | Specify which segment fields to include in the response using sparse fieldsets for optimized data retrieval. |
filter | string | Filter segments by name, ID, creation date, update date, active status, or starred status. Supports exact matching and partial matching operators depending on the field. |
create_segment Create Segment
Create a new audience segment defined by condition groups. Segments are used to target specific groups of users based on matching criteria.
get_segment Get Segment
Retrieve a segment by its ID. Optionally include additional fields like profile count, which has stricter rate limits.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format (e.g., 2026-01-15), optionally with a suffix. Defaults to 2026-01-15 if not specified. |
fieldssegment | array | Optional list of segment fields to include in the response. Use sparse fieldsets to optimize payload size and performance. Refer to the API overview documentation for available fields. |
update_segment Update Segment
Update an existing segment's configuration, including name, activation status, and condition groups. Note: deactivation must be performed as a standalone operation and cannot be combined with other updates.
delete_segment Delete Segment
Permanently delete a segment by its ID. Requires the segment's current revision to ensure safe deletion and prevent conflicts from concurrent modifications.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment to delete. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v2). Defaults to 2026-01-15 if not specified. |
list_tags_for_segment List Tags for Segment
Retrieve all tags associated with a specific segment. Returns a collection of tags linked to the given segment ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment for which to retrieve associated tags. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). Specifies which version of the API contract to use. |
list_tag_ids_for_segment List Tag IDs for Segment
Retrieve all tag IDs associated with a specific segment. Returns a collection of tag identifiers linked to the given segment.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment for which to retrieve associated tag IDs. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_profiles_for_segment List Profiles for Segment
Retrieve all profiles within a specific segment. Optionally filter and sort results to find profiles matching specific criteria like email, phone number, or join date.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique segment identifier generated by Klaviyo (e.g., 'Y6nRLr'). |
revision * | string | API endpoint revision in YYYY-MM-DD format (default: 2026-01-15). |
filter | string | Filter profiles by profile_id, email, phone_number, push_token, _kx, or joined_group_at. Use operators like 'equals', 'any', 'greater-than', 'less-than', etc. For details on filter syntax, see the API… |
pagesize | integer | Number of profiles to return per page. Must be between 1 and 100 (default: 20). |
list_profile_ids_for_segment List Profile IDs for Segment
Retrieve all profile IDs that are members of a specific segment. Use filtering and pagination to narrow results and manage large datasets.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment. This is a Klaviyo-generated ID (e.g., 'Y6nRLr'). |
revision * | string | API endpoint revision in YYYY-MM-DD format (e.g., '2026-01-15'). Defaults to the latest stable version. |
filter | string | Filter results by profile attributes or membership metadata. Supports filtering by profile_id, email, phone_number, push_token, _kx identifier, or joined_group_at timestamp. Use operators like 'equals… |
pagesize | integer | Number of results per page. Must be between 1 and 100, with a default of 20. |
list_flows_triggered_by_segment List Flows Triggered by Segment
Retrieve all automation flows that are triggered by a specific segment. This operation identifies which flows use the given segment as their entry point trigger.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment. This is a Klaviyo-generated primary key (e.g., 'Y6nRLr'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_flow_ids_triggered_by_segment List Flow IDs Triggered by Segment
Retrieve the IDs of all flows that use the specified segment as their trigger condition. This helps identify which automation workflows are activated by a particular audience segment.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the segment, generated by Klaviyo (e.g., 'Y6nRLr'). This segment will be checked to find all flows using it as a trigger. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format (or with an optional suffix). Defaults to 2026-01-15 if not specified. |
list_tags List Tags
Retrieve all tags in an account with optional filtering and sorting. Results are paginated with a maximum of 50 tags per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter tags by name using comparison operators (equals, contains, starts-with, ends-with). For example, filter by exact name match or partial name patterns. |
create_tag Create Tag
Create a new tag within your account. Tags are organized into tag groups; if no tag group is specified, the tag will be added to your account's default tag group. Note: accounts are limited to 500 unique tags.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the tag group to associate this tag with. If omitted, the tag will be assigned to your account's default tag group. Provide a UUID-formatted identifier. |
name * | string | The name of the tag being created. This is a user-facing label for organizing and categorizing items. |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
tag_groupDataType * | string | The resource type identifier for the tag group relationship. Must be set to 'tag-group'. |
type * | string | The resource type identifier. Must be set to 'tag'. |
get_tag Get Tag
Retrieve a specific tag by its ID. Requires the tags:read scope and is subject to rate limits of 3 requests per second (burst) and 60 requests per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for the tag to retrieve, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
update_tag Update Tag
Update a tag's name by its ID. Only the tag name can be modified; tags cannot be moved between tag groups.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the tag being updated, formatted as a UUID. Must match the tag ID in the path parameter. |
id * | string | The unique identifier of the tag to update, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
name * | string | The new name for the tag. Can be any string value (e.g., 'My Tag'). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'tag' for this operation. |
delete_tag Delete Tag
Permanently delete a tag by its ID. This operation removes the tag and all its associations with other resources.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag to delete, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
list_tag_groups List Tag Groups
Retrieve all tag groups in an account with optional filtering and sorting. Every account includes one default tag group, and results are paginated with a maximum of 25 tag groups per request.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter tag groups by name (using contains, ends-with, equals, or starts-with matching), exclusivity status, or default status. Provide filter expressions in the format: operator(field,'value'). |
create_tag_group Create Tag Group
Create a new tag group to organize and categorize tags within your account. Tag groups can be configured as exclusive (allowing only one tag per resource) or non-exclusive (allowing multiple tags per resource). Accounts are limited to 50 unique tag groups.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for the tag group. This is the human-readable identifier used to reference the tag group. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'tag-group' for this operation. |
exclusive | boolean | Controls whether resources can be linked to multiple tags within this group. When true, resources can only be linked to one tag; when false (default), resources can be linked to multiple tags from thi… |
get_tag_group Get Tag Group
Retrieve a specific tag group by its ID. Requires read access to tags and supports API versioning through the revision parameter.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag group to retrieve, formatted as a UUID (e.g., zyxw9876-vu54-ts32-rq10-zyxwvu654321). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
update_tag_group Update Tag Group
Update a tag group's name by ID. Only the name field can be modified; exclusive and default properties are immutable after creation.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The tag group ID being updated; must match the ID in the path parameter. |
id * | string | The unique identifier of the tag group to update, formatted as a UUID. |
name * | string | The new name for the tag group. This is the only updatable field. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15). |
type * | string | Resource type identifier; must be set to 'tag-group'. |
return_fields | array | Optional list of fields to include in the response. If not specified, default fields are returned. |
delete_tag_group Delete Tag Group
Permanently delete a tag group and all associated tags and their relationships with other resources. Note that the default tag group cannot be deleted.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag group to delete, formatted as a UUID (e.g., zyxw9876-vu54-ts32-rq10-zyxwvu654321). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_flows_for_tag List Flows for Tag
Retrieve all flow IDs associated with a specific tag. Returns a collection of flow identifiers linked to the given tag.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag. Must be a valid UUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
add_flows_to_tag Add Flows to Tag
Associate one or more flows with a tag. Each flow can be tagged with up to 100 tags maximum.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of flow IDs to associate with the tag. Each ID should be a valid flow identifier; order is not significant. |
id * | string | The unique identifier of the tag to associate with flows, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
remove_tag_from_flows Remove Tag From Flows
Remove a tag's association with one or more flows by specifying the flow IDs in the request body. This operation breaks the relationship between the tag and the specified flows.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of flow IDs to remove the tag association from. Each item should be a flow ID string. Order is not significant. |
id * | string | The unique identifier of the tag to remove from flows, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_campaign_ids_for_tag List Campaign IDs for Tag
Retrieve all campaign IDs associated with a specific tag. Use this to discover which campaigns are linked to a given tag.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag. Must be a valid UUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
add_campaigns_to_tag Add Campaigns to Tag
Associate one or more campaigns with a tag. Each campaign can be tagged with up to 100 tags maximum.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of campaign IDs to associate with the tag. Each ID should be a valid campaign identifier. Order is not significant. |
id * | string | The unique identifier of the tag to associate with campaigns. Use UUID format (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
remove_tag_from_campaigns Remove Tag From Campaigns
Remove a tag's association with one or more campaigns by specifying the campaign IDs in the request body.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of campaign IDs to remove from the tag's associations. Each item should be a campaign identifier. |
id * | string | The unique identifier of the tag to disassociate from campaigns, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_lists_for_tag List Lists for Tag
Retrieve all list IDs associated with a specific tag. Returns a collection of list identifiers linked to the given tag.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag. Must be a valid UUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
associate_lists_with_tag Associate Lists with Tag
Associate one or more lists with a tag. Each list can be associated with a maximum of 100 tags.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of list IDs to associate with the tag. Each ID should be a valid list identifier. |
id * | string | The unique identifier of the tag to associate with lists, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
remove_tag_from_lists Remove Tag From Lists
Remove a tag's association with one or more lists by specifying the list IDs in the request body.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of list IDs to disassociate from the tag. Each item should be a list identifier; order is not significant. |
id * | string | The unique identifier of the tag to remove from lists, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_segment_ids_for_tag List Segment IDs for Tag
Retrieve all segment IDs associated with a specific tag. Returns a collection of segment identifiers linked to the given tag.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag. Must be a valid UUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
add_segments_to_tag Add Segments to Tag
Associate one or more segments with a tag. Each segment can be tagged with a maximum of 100 tags total.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of segment IDs to associate with the tag. Each ID should be a valid segment identifier. Order is not significant. |
id * | string | The unique identifier of the tag to associate with segments. Use UUID format (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
remove_tag_from_segments Remove Tag From Segments
Remove a tag's association with one or more segments by specifying the segment IDs in the request body.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of segment IDs to remove from the tag's associations. Each item should be a segment identifier. |
id * | string | The unique identifier of the tag to disassociate from segments, formatted as a UUID (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_tag_group_for_tag Get Tag Group for Tag
Retrieves the tag group resource associated with a specific tag. Use this to find the parent group classification for a given tag ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag in UUID format (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
get_tag_group_id_for_tag Get Tag Group ID for Tag
Retrieves the ID of the tag group associated with a specific tag. Use this to determine which tag group a tag belongs to.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag in UUID format (e.g., abcd1234-ef56-gh78-ij90-abcdef123456). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
list_tags_for_tag_group List Tags for Tag Group
Retrieve all tags associated with a specific tag group. Returns a collection of tags organized under the given tag group ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag group. Use the tag group ID in UUID format (e.g., zyxw9876-vu54-ts32-rq10-zyxwvu654321). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
list_tag_ids_for_tag_group List Tag IDs for Tag Group
Retrieve all tag IDs contained within a specific tag group. This operation returns a collection of tag identifiers that belong to the given tag group.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the tag group. Use the tag group ID in UUID format (e.g., zyxw9876-vu54-ts32-rq10-zyxwvu654321). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
list_templates List Templates
Retrieve all templates in your account with optional filtering and sorting. Results are paginated with a maximum of 10 templates per page.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API revision date in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter templates by id, name, created date, or updated date. Supports exact matching, partial text search, and date range comparisons. See API documentation for filter syntax details. |
create_template Create Template
Create a new custom HTML email template. Note that accounts are limited to 1,000 templates via the API; creation will fail if this limit is reached.
| Parameter | Type | Description |
|---|---|---|
editor_type * | string | Template editor type. Must be either CODE (for custom HTML editing) or USER_DRAGGABLE (for visual drag-and-drop editor). |
name * | string | Human-readable name for the template (e.g., 'Monthly Newsletter Template'). |
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15. |
type * | string | Resource type identifier. Must be set to 'template'. |
amp | string | AMP (Accelerated Mobile Pages) version of the template for dynamic email content. Requires AMP Email to be enabled in your account; refer to the AMP Email setup guide for configuration details. |
html | string | The HTML markup content of the template. Provide a complete, valid HTML document structure. |
text | string | Plain text version of the template content, used as a fallback for email clients that don't support HTML. |
get_template Get Template
Retrieve a specific template by its ID. Returns the template configuration and metadata for the requested template.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the template to retrieve. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
update_template Update Template
Update an existing email template by ID. Allows modification of template name, HTML content, plaintext version, and AMP email format. Note: drag & drop templates are not currently supported for updates.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the template being updated. Must match the path ID parameter. |
id * | string | The unique identifier of the template to update. Must match the ID provided in the request body. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier. Must be set to 'template'. |
amp | string | The AMP for Email version of the template. Requires AMP Email to be enabled in your Klaviyo account to use. Refer to the AMP Email setup guide for implementation details. Optional field for updating d… |
html | string | The HTML markup content of the template. Provide complete, valid HTML structure. Optional field for updating template rendering. |
name | string | The display name for the template (e.g., 'Monthly Newsletter Template'). Optional field for updating template identification. |
text | string | The plaintext version of the template content. Used as fallback for email clients that don't support HTML. Optional field for updating template text representation. |
delete_template Delete Template
Permanently delete a template by its ID. This operation requires the template ID and API revision to ensure the correct version is targeted.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the template to delete. |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
list_universal_content List Universal Content
Retrieve all universal content items in your account. Supports filtering by ID, name, creation/update dates, and content type, with pagination for managing large result sets.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not provided. |
filter | string | Filter results using Klaviyo's filter syntax. Supports filtering by ID, name, creation/update timestamps (with comparison operators), content type, and definition type. See Klaviyo's filtering documen… |
pagesize | integer | Number of results to return per page. Must be between 1 and 100 items; defaults to 20 if not specified. |
create_universal_content Create Universal Content
Create a universal content block for use in templates. Supports multiple block types including buttons, images, text, HTML, spacing elements, and decorative components.
| Parameter | Type | Description |
|---|---|---|
definition * | The block configuration object defining the content structure and properties. Supported block types are: button, drop_shadow, horizontal_rule, html, image, spacer, and text | |
name * | string | A descriptive name for this universal content block |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified) |
type * | string | The resource type identifier, must be set to 'template-universal-content' |
get_universal_content Get Universal Content
Retrieve a specific universal content template by its ID. Returns the template configuration and content for the specified revision.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the universal content template to retrieve (e.g., 01HWWWKAW4RHXQJCMW4R2KRYR4). |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
update_template_universal_content Update Template Universal Content
Update universal content within a template. Only specific block types (button, drop_shadow, horizontal_rule, html, image, spacer, and text) support definition field updates.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the template universal content being updated; must match the path ID parameter. |
id * | string | The unique identifier of the template universal content to update, formatted as a ULID. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | The resource type identifier; must be set to 'template-universal-content'. |
definition | The block definition configuration. Only supported for button, drop_shadow, horizontal_rule, html, image, spacer, and text block types. | |
name | string | A human-readable name for this template universal content. |
delete_universal_content Delete Universal Content
Permanently delete a universal content template by its ID. This operation requires the templates:write scope and is subject to rate limits of 75 requests per second (burst) or 700 per minute (steady state).
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the template universal content to delete. Use the full ID string (e.g., 01HWWWKAW4RHXQJCMW4R2KRYR4). |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally followed by a suffix. Defaults to 2026-01-15 if not specified. |
render_template Render Template
Render an email template with provided context variables, returning AMP, HTML, and plain text versions. Template variables use dot notation for nested access and are treated as false when missing from context.
| Parameter | Type | Description |
|---|---|---|
context * | object | A JSON object containing template variable values. Use dot notation to reference nested properties (e.g., user.first_name). Variables without corresponding context values render as empty. See Klaviyo… |
id * | string | The unique identifier of the email template to render. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix. Defaults to 2026-01-15 if not specified. |
type * | string | Resource type identifier. Must be set to 'template' to specify this operation targets email templates. |
create_template_clone Create Template Clone
Create a duplicate of an existing template by its ID. Note that accounts are limited to 1,000 templates created via API; cloning will fail if this limit is reached.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the template to clone. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
type * | string | Resource type identifier; must be set to 'template' for this operation. |
name | string | Optional custom name for the cloned template. If not provided, the system will assign a default name. |
get_tracking_settings Get Tracking Settings
Retrieve all UTM tracking settings configured for your Klaviyo account. Returns an array containing the account's tracking setting configuration.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (optionally with a suffix). Defaults to the latest stable revision. |
fieldstracking-setting | array | Specify which fields to include in the response for each tracking setting. Use sparse fieldsets to optimize payload size by requesting only the fields you need. |
pagesize | integer | Number of results to return per page. This endpoint supports only a single result, so the maximum value is 1. |
get_tracking_setting Get Tracking Setting
Retrieve a UTM tracking setting by account ID. Returns the tracking configuration for the specified account, which controls how UTM parameters are captured and processed.
| Parameter | Type | Description |
|---|---|---|
id * | string | The account ID of the tracking setting to retrieve (e.g., 'abCdEf'). |
revision * | string | API endpoint revision in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
fieldstracking-setting | array | Specify which fields to include in the response for the tracking-setting resource. Use sparse fieldsets to optimize payload size by requesting only needed fields. |
list_web_feeds List Web Feeds
Retrieve all web feeds configured for your account. Supports filtering by name, creation date, or last update, with pagination to manage large result sets.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API version in YYYY-MM-DD format (optionally with a suffix). Defaults to 2026-01-15 if not provided. |
filter | string | Filter results using comparison operators on feed name, creation date, or last update date. Supports exact matching, partial text matching, and date range queries. See API documentation for detailed f… |
pagesize | integer | Number of results to return per page. Must be between 1 and 20 items; defaults to 5 if not specified. |
create_web_feed Create Web Feed
Create a new web feed to aggregate content from a specified URL. The feed will be polled using the specified HTTP method and parsed according to the declared content type.
| Parameter | Type | Description |
|---|---|---|
content_type * | string | The expected content format of the feed; either 'json' for JSON-formatted feeds or 'xml' for XML-formatted feeds. |
name * | string | A descriptive name for this web feed (e.g., 'Blog_posts'). Used for identification and display purposes. |
request_method * | string | The HTTP method to use when requesting the feed; either 'get' for standard retrieval or 'post' for feeds requiring POST requests. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified). |
type * | string | The resource type identifier; must be set to 'web-feed'. |
url * | string | The URL endpoint from which to fetch the web feed content (e.g., 'https://help.klaviyo.com/api/v2/help_center/en-us/articles.json'). |
get_web_feed Get Web Feed
Retrieve a specific web feed by its ID. Returns the complete feed configuration and metadata for the given feed identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the web feed to retrieve (e.g., '925e385b52fb') |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified) |
update_web_feed Update Web Feed
Update an existing web feed configuration, including its name, URL, request method, and content type. Requires the feed ID and current API revision for the request.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the web feed being updated; must match the ID in the URL path (e.g., '925e385b52fb') |
id * | string | The unique identifier of the web feed to update (e.g., '925e385b52fb') |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15) |
type * | string | The resource type identifier; must be set to 'web-feed' |
content_type | string | The expected content format of the web feed; either 'json' or 'xml' |
name | string | A descriptive name for the web feed (e.g., 'Blog_posts') |
request_method | string | The HTTP method to use when requesting the web feed; either 'get' or 'post' |
url | string | The URL endpoint from which to fetch the web feed content (e.g., 'https://help.klaviyo.com/api/v2/help_center/en-us/articles.json') |
delete_web_feed Delete Web Feed
Permanently delete a web feed by its ID. This operation requires the feed ID and API revision to ensure safe deletion.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the web feed to delete (e.g., '925e385b52fb') |
revision * | string | The API endpoint revision in YYYY-MM-DD format with optional suffix (defaults to 2026-01-15 if not specified) |
list_webhooks List Webhooks
Retrieve all webhooks configured in the account. Use optional field filtering to customize the response payload.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision in YYYY-MM-DD format (or with optional suffix). Defaults to 2026-01-15 if not specified. |
fieldswebhook | array | Specify which webhook fields to include in the response using sparse fieldsets for optimized payload size. Provide as an array of field names. |
get_webhook Get Webhook
Retrieve a specific webhook by its ID. Returns the webhook configuration and settings for the given identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the webhook to retrieve. |
revision * | string | API endpoint revision in YYYY-MM-DD format (optionally with a suffix). Defaults to 2026-01-15 if not specified. |
fieldswebhook | array | Optional array of specific webhook fields to include in the response. Use sparse fieldsets to reduce payload size and improve performance by requesting only needed fields. |
update_webhook Update Webhook
Update an existing webhook configuration by ID. Modify webhook properties such as name, description, endpoint URL, secret key, and enabled status.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the webhook being updated; must match the ID in the path parameter. |
id * | string | The unique identifier of the webhook to update. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15 or 2026-01-15.v1). Defaults to 2026-01-15 if not specified. |
type * | string | The resource type; must be set to 'webhook'. |
data | array | Additional structured data associated with the webhook. Order and format depend on the webhook configuration schema. |
description | string | A detailed description explaining what this webhook does or when it triggers. |
enabled | boolean | Whether the webhook is active and should send events. Set to true to enable or false to disable. |
endpoint_url | string | The HTTPS URL where webhook events will be sent. Must use the HTTPS protocol for security. |
name | string | A human-readable name for the webhook to help identify its purpose. |
secret_key | string | A secret key used to cryptographically sign webhook requests, allowing the receiver to verify authenticity. |
delete_webhook Delete Webhook
Permanently delete a webhook by its ID. This action cannot be undone and will stop all event deliveries to the webhook's configured endpoint.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the webhook to delete. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, optionally with a suffix. Defaults to 2026-01-15 if not specified. |
list_webhook_topics List Webhook Topics
Retrieve all available webhook topics in a Klaviyo account. Webhook topics define the events that can trigger webhooks for your integration.
| Parameter | Type | Description |
|---|---|---|
revision * | string | API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified. |
get_webhook_topic Get Webhook Topic
Retrieve a specific webhook topic by its ID to view its configuration and details. Useful for inspecting webhook topic settings before subscribing to events.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the webhook topic to retrieve (e.g., 'event:klaviyo.sent_sms'). Use this ID to fetch the specific topic's configuration. |
revision * | string | The API endpoint revision date in YYYY-MM-DD format, with optional suffix. Defaults to 2026-01-15 if not specified, ensuring compatibility with the desired API version. |
list_client_review_values_reports List Client Review Values Reports
Retrieve aggregated review metrics reports for your account, grouped by company or product with customizable statistics and timeframe filtering.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Your Klaviyo Public API Key / Site ID, used to identify your account. See Klaviyo documentation for details on locating this identifier. |
group_by * | string | Required grouping dimension for the report. Choose 'company_id' to aggregate across your entire account or 'product_id' to break down metrics by individual product. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to the latest stable version if not specified. |
statistics * | string | Required comma-separated list of statistics to calculate for each group, such as 'average_rating' or 'total_reviews'. Specify all metrics you need in a single value. |
timeframe * | string | Required timeframe window for the report. Choose from 'all_time', 'last_30_days', 'last_90_days', or 'last_365_days' to define the data collection period. |
fieldsreview-values-report | array | Optional sparse fieldset to limit which fields are returned in the review-values-report objects. Specify as a comma-separated list of field names. |
filter | string | Optional filter to narrow results by product external IDs. Supports 'equals' for exact match or 'any' to match multiple IDs. Use comma-separated format for multiple values with the 'any' operator. |
pagesize | integer | Optional page size for results, ranging from 1 to 100 items per page. Defaults to 20 if not specified. |
list_client_reviews List Client Reviews
Retrieve all product reviews for a client-side environment. Use this endpoint for client-side applications; for server-side implementations, refer to the server-side reviews endpoint.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Your Public API Key or Site ID, used to identify your account. See the Klaviyo help article for instructions on locating this value. |
revision * | string | API endpoint revision in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
filter | string | Filter reviews by specific criteria such as status, rating, review type, verification status, or content properties. Supports operators like equals, contains, has, and range comparisons (greater-or-eq… |
pagesize | integer | Number of reviews to return per page. Must be between 1 and 100; defaults to 20 if not specified. |
create_client_review Create Client Review
Submit a product review from a client-side environment. This endpoint creates a review or question for a product associated with an order, supporting ratings, custom questions, and image attachments.
| Parameter | Type | Description |
|---|---|---|
author * | string | Display name of the review author. This is shown publicly with the review. |
company_id * | string | Your Public API Key / Site ID used to identify your Klaviyo account. This is required for authentication. |
content * | string | Main text content of the review or question. Provide detailed feedback about the product or ask a specific question. |
email * | string | Email address of the review author. Used to identify and contact the reviewer. |
external_id * | string | Unique product identifier from your e-commerce platform (e.g., Shopify product ID). Used to link the review to the correct product. |
id * | string | Order ID that this review is associated with. Links the review to a specific customer purchase. |
integration_key * | string | Integration platform identifier in lowercase. Specifies whether the product comes from Shopify, WooCommerce, or another supported platform. |
orderDataType * | string | Fixed relationship type identifier for the associated order. Must be set to 'order'. |
review_type * | string | Classifies the submission type: 'review' for product reviews, 'rating' for ratings only, 'question' for customer questions, or 'store' for store-level reviews. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15). Defaults to 2026-01-15 if not specified. |
type * | string | Fixed resource type identifier. Must be set to 'review'. |
custom_questions | array | Optional array of custom question responses. Each item contains a question ID and an array of selected answers (e.g., size or color selections). |
images | array | Optional list of image URLs or base-64 encoded data URIs attached to the review. Supports multiple images; empty array if no images provided. |
incentive_type | string | Optional classification of how the reviewer was incentivized, if at all. Valid types include coupon/discount, free product, loyalty points, employee review, paid promotion, sweepstakes entry, or other… |
rating | integer | Numeric rating on a scale of 1 to 5, where 1 is lowest and 5 is highest. Only applicable for review and rating types; null for question types. |
title | string | Optional headline or summary for the review. Provides a brief overview of the reviewer's main point. |
create_client_subscription Create Client Subscription
Subscribe a contact to email and/or SMS marketing channels by creating a subscription and consent record. Must be called from client-side environments only using a public API key. Provide either an email address or phone number (or both) to identify the contact.
create_or_update_client_profile Create or Update Client Profile
Create or update a customer profile with identity and property information from client-side environments. This endpoint requires a public API key and is designed for browser-based implementations; use server-side endpoints for identifier updates or server applications.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Your public API key (also called Site ID), required to authenticate client-side requests. Obtain this from your Klaviyo account settings. |
revision * | string | API endpoint revision in YYYY-MM-DD format with optional suffix (e.g., 2026-01-15). Defaults to the latest stable version. |
type * | string | Resource type identifier. Must be set to 'profile' for this operation. |
address1 | string | First line of the street address. |
address2 | string | Second line of the street address (e.g., apartment, suite, or floor number). |
anonymous_id | string | An anonymous identifier used when profile identity is not yet known. Useful for tracking before email or phone collection. |
append | object | Append values to existing array properties. Specify property names with values to add. Useful for accumulating list-based attributes without replacing existing data. |
city | string | City name. |
country | string | Country name. |
email | string | Individual's email address. Use this as a primary identifier for profile matching and updates. |
external_id | string | A unique identifier from an external system (such as a point-of-sale or CRM system) to link Klaviyo profiles with your internal records. Format depends on your external system. |
first_name | string | Individual's first name. |
image | string | URL pointing to a profile image or avatar. |
ip | string | IP address of the profile (IPv4 or IPv6 format). Useful for geolocation and fraud detection. |
kx | string | Encrypted exchange identifier (kx) used by Klaviyo's web tracking to identify profiles. Can be used as a filter when retrieving profiles. |
last_name | string | Individual's last name. |
latitude | string | Latitude coordinate for geographic location. Provide with four decimal places precision for accuracy. Accepts string or numeric format. |
locale | string | Profile's locale in IETF BCP 47 format (e.g., en-US, fr-FR). Follows ISO 639-1/2 language codes and ISO 3166 country codes. |
longitude | string | Longitude coordinate for geographic location. Provide with four decimal places precision for accuracy. Accepts string or numeric format. |
organization | string | Name of the company or organization where the individual works. |
phone_number | string | Individual's phone number in E.164 format (e.g., +1 country code followed by number). Use this as an alternative or supplementary identifier. |
properties | object | Custom properties as key-value pairs. Use this to store additional profile attributes specific to your business (e.g., customer tier, preferences, or metadata). |
region | string | Region, state, or province within the country. |
timezone | string | Time zone name using the IANA Time Zone Database format (e.g., America/New_York, Europe/London). Used for scheduling and localization. |
title | string | Individual's job title or professional role. |
unappend | object | Remove specific values from existing array properties. Specify property names with values to remove. Useful for cleaning up list-based attributes. |
unset | Remove one or more properties entirely from the profile. Specify property names as a string or array to delete them and their values completely. | |
zip | string | Postal or zip code. |
subscribe_profile_to_back_in_stock_notifications Subscribe Profile to Back in Stock Notifications
Subscribe a customer profile to receive back-in-stock notifications for a specific product variant through their preferred channels (email, SMS, or both). This client-side endpoint requires a public API key and is designed for browser-based implementations.
| Parameter | Type | Description |
|---|---|---|
channels * | array | One or more notification channels the profile prefers to receive back-in-stock alerts through. Valid options are EMAIL, SMS, or both as an array. |
company_id * | string | Your public API key (also called Site ID), which identifies your Klaviyo account. Required for client-side authentication. |
profileDataType * | string | Fixed value that identifies the nested profile object type. |
revision * | string | API endpoint revision date in YYYY-MM-DD format (with optional suffix). Defaults to 2026-01-15 if not specified. |
type * | string | Fixed value that identifies this as a back-in-stock-subscription resource type. |
variantDataId * | string | The catalog variant ID in the format integrationType:::catalogId:::externalId (e.g., $custom:::$default:::VARIANT-ID or $shopify:::$default:::33001893429341). Identifies which product variant the prof… |
variantDataType * | string | Fixed value that identifies the catalog variant object type in the relationship. |
email | string | The profile's email address. Use this to identify or create a profile if profile ID is not provided. |
external_id | string | An external identifier from your system (such as a customer ID from your point-of-sale or CRM) to link this Klaviyo profile with your internal records. |
phone_number | string | The profile's phone number in E.164 format (e.g., +1 country code and number). Use this to identify or create a profile if profile ID is not provided. |
profileDataId | string | The unique Klaviyo profile ID (generated by Klaviyo) if subscribing an existing profile. Either this or email/phone_number must be provided to identify the profile. |