klaviyo_list_campaigns
Pack: klaviyo · Endpoint: https://gateway.pipeworx.io/klaviyo/mcp
Search campaigns by status (draft, scheduled, sent). Returns campaign IDs, names, status, send dates, and performance metrics.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Klaviyo private API key |
filter | string | no | Filter by status (e.g., “equals(messages.channel,\“email\”)“) |
Example call
Arguments
{
"_apiKey": "your-klaviyo-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/klaviyo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"klaviyo_list_campaigns","arguments":{"_apiKey":"your-klaviyo-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('klaviyo_list_campaigns', {
"_apiKey": "your-klaviyo-api-key"
});
More examples
{
"_apiKey": "your-klaviyo-api-key",
"filter": "equals(status,\"sent\")"
}
Response shape
| Field | Type | Description |
|---|---|---|
data | array | Array of campaign objects |
links | object | Pagination links |
Full JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of campaign objects",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Resource type (campaign)"
},
"id": {
"type": "string",
"description": "Campaign ID"
},
"attributes": {
"type": "object",
"description": "Campaign attributes",
"properties": {
"name": {
"type": "string",
"description": "Campaign name"
},
"status": {
"type": "string",
"description": "Campaign status (draft, scheduled, sent)"
},
"created_at": {
"type": "string",
"description": "Creation timestamp"
},
"scheduled_at": {
"type": "string",
"description": "Scheduled send time"
},
"sent_at": {
"type": "string",
"description": "Actual send time"
}
}
}
}
}
},
"links": {
"type": "object",
"description": "Pagination links",
"properties": {
"self": {
"type": "string",
"description": "Self link"
},
"next": {
"type": "string",
"description": "Next page link"
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"klaviyo": {
"url": "https://gateway.pipeworx.io/klaviyo/mcp"
}
}
}
See Getting Started for client-specific install steps.