ConvertFlow MCP Server
The ConvertFlow MCP server turns your funnel reports, campaign settings and launches into tools an AI agent can call.
It's a remote server: Streamable HTTP, stateless, and hosted at
https://mcp.convertflow.co/mcp. There's nothing to install and
nothing to run locally. Connect a client, sign in through your browser, and ask questions about
your campaigns in plain language.
Last updated December 3, 2026
Connect
Claude Code
claude mcp add --transport http convertflow https://mcp.convertflow.co/mcp
Run any ConvertFlow tool, and Claude Code opens a browser so you can authorize it.
Claude.ai and Claude Desktop
Go to Settings → Connectors → Add custom connector and paste
https://mcp.convertflow.co/mcp. As you add it, Claude prompts you
to sign in and pick the websites you want to share.
Cursor
Add the server to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"convertflow": {
"url": "https://mcp.convertflow.co/mcp"
}
}
}
Cursor opens the sign-in prompt the first time you use the server.
Any other Streamable HTTP client
{
"mcpServers": {
"convertflow": {
"type": "http",
"url": "https://mcp.convertflow.co/mcp"
}
}
}
Your client opens ConvertFlow in a browser. Sign in, choose which websites to share, and approve. The consent screen lists each permission the client asks for and lets you switch any of them off; the token carries only the permissions you left enabled and is bound to the websites you picked. Existing connections keep only the permissions you approved at the time. To pick up permissions added since, reconnect the ConvertFlow connector in your client and approve them on the consent screen.
How authorization works
The MCP server is a pure resource server, so it never issues or stores tokens. On an
unauthenticated request it returns 401 and points your client at
/.well-known/oauth-protected-resource, which names ConvertFlow as
the authorization server. Your client then registers itself dynamically, runs OAuth 2.1
authorization code + PKCE against ConvertFlow, and sends the resulting token as
Authorization: Bearer <token>. Tokens are website-bound.
If a token expires or is revoked, the next call returns 401 and
your client re-authorizes.
Available tools
Report tools map to the v1 Reports API and are read-only. Management tools map to the campaigns and
variants API: they read and change settings (format, live/archived state, traffic split, trigger
behavior, remix instructions) but never page content, and nothing can be deleted. Segment tools read
visitor segments, rename them and update the values of their conditions (free text, numbers, or one of the
options the website offers for selects); deleting a segment
or a condition is only possible through the API with a personal access token. Broadcast tools create, copy and
organize broadcasts (sets of campaigns that go live together, optionally rotated and scheduled), build them from
playbooks, add or remove their campaigns, set traffic percentages and targeting conditions, and launch or
deactivate them; launch_campaign and
get_campaign_targeting do the same for a single campaign. Start broad with
get_website_report, then drill into campaigns, variants, steps,
and elements using the ids that each response returns.
list_websites read-only
List the websites this token grants access to. Use the returned ids as website_id on the other tools to query or compare specific websites.
No parameters.
get_website_report read-only
Website-wide funnel performance (views, conversions, completions, subscribes, orders, revenue, bookings, custom goals) for the selected window. Returns one total per metric; add group_by=day (or week/month/quarter/year) for a per-bucket breakdown, over a window of up to 92 days. Start here, then drill into campaigns.
| Parameter | Type | Description |
|---|---|---|
group_by |
string |
Adds a timeseries block: one point per bucket across the selected window, each with date, views, conversions, completions, subscribes, submissions, orders and revenue for this report's subject. Buckets with no activity come back as zeroes, so the series is complete. Use group_by=day for a daily breakdown instead of calling the tool once per day. On get_website_report the window must cover at most 92 days (the other reports take any range up to 400 buckets); a wider one is rejected — shorten it, or pull the longer series from a campaign, variant, step or element report.
one of: day, week, month, quarter, year |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_website_insights read-only
Latest pre-generated weekly insights snapshot (one fixed week, written by a background job). Use it for the narrative summary only — for any specific window or trend use get_website_report, which reads live per-day data. Returns 404 if no snapshot has been generated yet.
| Parameter | Type | Description |
|---|---|---|
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
list_campaigns read-only
List campaigns (CTAs) with their funnel metrics for the selected window. Returns the campaign ids used by get_campaign_report and the management tools (get_campaign, update_campaign, ...). Supports pagination, sorting and filtering by type/status; status=archived lists archived campaigns (needed before unarchive_campaign).
| Parameter | Type | Description |
|---|---|---|
page |
integer | Page number (default 1). |
per_page |
integer | Results per page (default 25, max 50). |
sort |
string |
Sort field.
one of: created_at, published_at, views, conversions, completions, conversion_rate, completion_rate, revenue, bookings, custom_goals, aov |
cta_type |
string | Filter by campaign format. |
status |
string |
archived = archived campaigns (needed before unarchive_campaign). live = every non-archived campaign, including ones never launched — the real live state is get_campaign.live.
one of: live, archived |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_campaign_report read-only
Single campaign performance with per-variant breakdown for the selected window; add group_by=day for a daily breakdown. Campaign ids come from list_campaigns; the variant ids in the response feed get_variant_report. For the campaign's settings (format, live/archived state, traffic split) use get_campaign.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | The campaign id. |
group_by |
string |
Adds a timeseries block: one point per bucket across the selected window, each with date, views, conversions, completions, subscribes, submissions, orders and revenue for this report's subject. Buckets with no activity come back as zeroes, so the series is complete. Use group_by=day for a daily breakdown instead of calling the tool once per day. On get_website_report the window must cover at most 92 days (the other reports take any range up to 400 buckets); a wider one is rejected — shorten it, or pull the longer series from a campaign, variant, step or element report.
one of: day, week, month, quarter, year |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
list_broadcasts read-only
List broadcasts (sets of campaigns launched together) with their funnel metrics for the selected window. Returns the broadcast ids used by get_broadcast_report and get_broadcast. Quick broadcasts (campaign launches) are not listed. Supports pagination, sorting and filtering by status, name and folder.
| Parameter | Type | Description |
|---|---|---|
page |
integer | Page number (default 1). |
per_page |
integer | Results per page (default 25, max 50). |
sort |
string |
Sort field.
one of: created_at, views, conversions, completions, conversion_rate, completion_rate, revenue |
status |
string |
Filter by live state.
one of: live, inactive |
name |
string | Case-insensitive name search. |
folder_id |
integer | Only broadcasts in this folder — from list_broadcast_folders. |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_broadcast_report read-only
Single broadcast performance with a per-campaign breakdown for the selected window; add group_by=day for a daily breakdown. A rotate-mode broadcast also reports its holdout (visitors who saw none of its campaigns); other modes return holdout null. Broadcast ids come from list_broadcasts; the campaign ids in the response feed get_campaign_report. For the broadcast's settings use get_broadcast.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | The broadcast id. |
group_by |
string |
Adds a timeseries block: one point per bucket across the selected window, each with date, views, conversions, completions, subscribes, submissions, orders and revenue for this report's subject. Buckets with no activity come back as zeroes, so the series is complete. Use group_by=day for a daily breakdown instead of calling the tool once per day. On get_website_report the window must cover at most 92 days (the other reports take any range up to 400 buckets); a wider one is rejected — shorten it, or pull the longer series from a campaign, variant, step or element report.
one of: day, week, month, quarter, year |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
list_experiments read-only
Active A/B experiments — campaigns with live traffic-split variants and their metrics.
| Parameter | Type | Description |
|---|---|---|
limit |
integer | Max experiments returned (default 25, max 50). |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_variant_report read-only
Variant funnel performance with per-step breakdown. Variant ids come from get_campaign_report; the step ids in the response feed get_step_report.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | The variant id. |
group_by |
string |
Adds a timeseries block: one point per bucket across the selected window, each with date, views, conversions, completions, subscribes, submissions, orders and revenue for this report's subject. Buckets with no activity come back as zeroes, so the series is complete. Use group_by=day for a daily breakdown instead of calling the tool once per day. On get_website_report the window must cover at most 92 days (the other reports take any range up to 400 buckets); a wider one is rejected — shorten it, or pull the longer series from a campaign, variant, step or element report.
one of: day, week, month, quarter, year |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_step_report read-only
Step funnel performance with per-element breakdown. Step ids come from get_variant_report; the element ids in the response feed get_element_report.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | The step id. |
group_by |
string |
Adds a timeseries block: one point per bucket across the selected window, each with date, views, conversions, completions, subscribes, submissions, orders and revenue for this report's subject. Buckets with no activity come back as zeroes, so the series is complete. Use group_by=day for a daily breakdown instead of calling the tool once per day. On get_website_report the window must cover at most 92 days (the other reports take any range up to 400 buckets); a wider one is rejected — shorten it, or pull the longer series from a campaign, variant, step or element report.
one of: day, week, month, quarter, year |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_element_report read-only
Element performance with its field and product breakdown — form field values, quiz answer counts and per-product orders/revenue. Element ids come from get_step_report.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | The element id. |
group_by |
string |
Adds a timeseries block: one point per bucket across the selected window, each with date, views, conversions, completions, subscribes, submissions, orders and revenue for this report's subject. Buckets with no activity come back as zeroes, so the series is complete. Use group_by=day for a daily breakdown instead of calling the tool once per day. On get_website_report the window must cover at most 92 days (the other reports take any range up to 400 buckets); a wider one is rejected — shorten it, or pull the longer series from a campaign, variant, step or element report.
one of: day, week, month, quarter, year |
website_id |
integer | Website to query. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
count_type |
string |
distinct = unique visitors via HyperLogLog (default); total = raw event counts. Orders/revenue are always summed. Bookings and custom goals follow the same distinct/total semantics as other conversion metrics. Distinct counts deduplicate across the whole window, so they do not add up across sub-periods — use total when separate calls or timeseries points must reconcile with a longer range.
one of: distinct, total |
previous_period |
boolean | When true, each metrics block includes the previous period of equal length and percent changes. |
get_account_performance read-only
Cross-site funnel performance for every website bound to this token: per-site rows plus an aggregate. Omit website_id to include all bound sites; pass website_id or website_ids to zoom in. Does not require website_id on multi-website tokens.
| Parameter | Type | Description |
|---|---|---|
website_id |
integer | Optional. Zoom to one website bound to the token. Omit to aggregate every bound website. Unbound ids return 404. |
website_ids |
array<integer> | Optional subset of bound website ids. Any id outside the token binding returns 404. |
timeframe |
string |
Reporting window (default last_30_days). Use custom with range_start/range_end for any exact range, including a single day (same date on both). Windows are UTC.
one of: today, this_week, this_month, this_quarter, this_year, last_24_hours, last_7_days, last_30_days, last_90_days, last_365_days, all_time, insights_week, custom |
range_start |
string | ISO 8601 date (YYYY-MM-DD), inclusive from 00:00:00 UTC. Required when timeframe=custom. |
range_end |
string | ISO 8601 date (YYYY-MM-DD), inclusive through 23:59:59 UTC. Required when timeframe=custom. |
get_campaign read-only
Configuration of one campaign: name, format (cta_type + format_type), archived and live state, targeting_broadcast_id (the quick broadcast holding the campaign's own targeting — null until get_campaign_targeting or launch_campaign creates it), landing-page/SEO fields, experiment settings, remix instructions, published_at, and every variant with its traffic percentage. This is settings, not performance — for views, conversions and revenue call get_campaign_report. Requires campaigns:read. Use it to confirm the result of any write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
create_campaign writes
Creates a campaign. Popups, hooks, bars and embeds are not live on creation (launch it with launch_campaign); a landing page is live at its page_path as soon as it exists and is not archived. page_path defaults to page-<id>. Without template_id: a blank campaign with one "Champion" variant at 100% traffic and empty content, returned right away (name and cta_type required). With template_id: returns 202 with the campaign archived, building=true and no variants while a job copies the template content (and runs the AI remix when remix.remix_all_text="true"); name and cta_type default to the template's. Poll get_campaign until building is false — the campaign unarchives itself on success; build_failed=true means the job failed and it stays archived. While building, every other campaign write answers 422. Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
name |
string | |
cta_type |
string |
Campaign format: page (landing page), overlay (popup), hook (corner popup), bar (sticky bar), inline (embed). Changing it republishes the campaign script immediately, takes a landing page offline, and resets the format subtype (e.g. an overlay's fullscreen layout) to the default.
one of: page, overlay, hook, bar, inline |
test_type |
string | A/B split persistence, default "cookie". |
page_path |
string | Landing-page path. Unique per website and domain; conflicts return 409. |
domain_id |
integer | Custom domain id owned by the website (landing pages only). |
template_id |
integer | Template to build from — from list_templates. Makes the call asynchronous (202, building=true). |
remix |
object | AI remix instructions. On update_campaign they are only stored for future remixes (no AI rewrite, no publish). With template_id on create_campaign or create_variant, remix_all_text="true" makes the build job rewrite the template copy with AI (plan-gated, 403 plan_gated). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_campaign writes
Updates name, format, landing-page/SEO fields, experiment settings and remix instructions. Only the fields you pass change. Changing cta_type republishes the live script immediately (and takes a landing page offline); every other field is saved without publishing anything. Cannot edit page content (steps, sections, elements) — that is not available through MCP. Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
name |
string | |
cta_type |
string |
Campaign format: page (landing page), overlay (popup), hook (corner popup), bar (sticky bar), inline (embed). Changing it republishes the campaign script immediately, takes a landing page offline, and resets the format subtype (e.g. an overlay's fullscreen layout) to the default.
one of: page, overlay, hook, bar, inline |
test_type |
string | A/B split persistence, default "cookie". |
page_path |
string | Landing-page path. Unique per website and domain; conflicts return 409. |
domain_id |
integer | Custom domain id owned by the website (landing pages only). |
meta_title |
string | |
meta_description |
string | |
open_graph_title |
string | |
open_graph_description |
string | |
open_graph_image |
string | |
seo_index |
boolean | |
experiment_start_date |
string | |
experiment_end_date |
string | When set with experiment_metric, an hourly job promotes the best variant to 100% at this time. |
experiment_metric |
string |
Metric the hourly job ranks variants by. Requires experiment_start_date.
one of: views, conversions, conversion_rate, completions, completion_rate, subscribes, adds_to_cart, add_to_cart_rate, orders, order_rate, revenue, aov |
remix |
object | AI remix instructions. On update_campaign they are only stored for future remixes (no AI rewrite, no publish). With template_id on create_campaign or create_variant, remix_all_text="true" makes the build job rewrite the template copy with AI (plan-gated, 403 plan_gated). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
archive_campaign writes
Archives the campaign: it stops being served immediately (an empty script is published) and its live toggle is switched off. Nothing is deleted and unarchive_campaign reverses it. This is the closest thing to deletion — campaigns cannot be deleted through MCP. Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
unarchive_campaign writes
Restores an archived campaign and republishes its script. A landing page is live again right away; any other format stays inactive — launch it with launch_campaign. Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
publish_campaign writes
Rebuilds the campaign script on the CDN from its current state (traffic split, archived flag, format). It ships EVERY variant as currently saved, pending update_variant drafts included — to push one variant's draft use publish_variant instead. Queued, not immediate: returns a short acknowledgement; re-read get_campaign to see published_at move. Requires campaigns:publish.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
copy_campaign writes
Duplicates the campaign with all variants, content and targeting conditions. The copy is named "<name> (copy)", inactive, with its first variant at 100%; remix instructions are not carried over. Returns the copy. Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
set_traffic_split writes
Sets each variant's share of traffic. Pass a map of variant id to percentage; omitted variants keep their current value and the total must be exactly 100. A variant at 0% is not served (this is how a variant is disabled — variants cannot be deleted). A variant still building from a template can only be given 0% (422 otherwise). A republish is queued (the new split is live within seconds). Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
percentages * |
object | Variant id → percentage (0-100). Example: {"112": 60, "121": 40}. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
launch_campaign writes
Makes a popup, hook, bar or embed campaign live for every visitor matching its targeting (Everywhere unless you changed it with the targeting tools): creates its quick broadcast if needed and switches it on, republishing the website script within seconds. Landing pages are refused (they are live at page_path while not archived) as are archived campaigns (unarchive first); plans that do not include the format answer 403 plan_gated. Does not edit content or targeting — check get_campaign_targeting first and confirm with the user. An embed campaign shows only where its embed code is on the page or on an area placement set in the ConvertFlow app (placements cannot be set here). deactivate_campaign reverses it. Requires campaigns:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
deactivate_campaign writes
Takes a launched campaign offline: its quick broadcast is switched off and the website script republished, so it stops being served by its own launch within seconds. Not archived and nothing deleted; other live broadcasts containing the campaign keep serving it. Landing pages are refused (use archive_campaign). launch_campaign reverses it. Requires campaigns:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
get_campaign_targeting writes
Returns the quick broadcast that holds one campaign's own targeting (same shape as get_broadcast, with its conditions), creating it inactive with an "Everywhere" condition on first call. Nothing goes live (the first call queues a background website republish with no visible change). Pass the returned id as id to add_targeting_condition, update_targeting_condition and remove_targeting_condition; launch_campaign then makes it live. Landing pages are refused. Requires campaigns:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
create_variant writes
Adds a variant at 0% traffic (not served until set_traffic_split gives it a share). With template_id: returns 202 with the variant building=true while a job copies the template content (and runs the AI remix when remix.remix_all_text="true"); nothing is published and nothing is re-split. Poll get_variant until building is false; build_failed=true means the job failed. Without template_id: adds an empty variant and queues a republish of the campaign script. Existing traffic percentages are left alone when they already total exactly 100. When they do not — a legacy three-way 33/33/33 totals 99, or every variant sits at 0% — the active variants are re-split evenly (or, if none are active, the first variant jumps to 100%) and the campaign publishes a second time. Read get_campaign before and after: only call set_traffic_split if the percentages actually changed, because that call republishes too. Content must be built in the dashboard or come from a template. Requires variants:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Campaign id — from list_campaigns, get_campaign_report or create_campaign. |
name |
string | |
template_id |
integer | Template to build from — from list_templates. Makes the call asynchronous (202, building=true). |
remix |
object | AI remix instructions. On update_campaign they are only stored for future remixes (no AI rewrite, no publish). With template_id on create_campaign or create_variant, remix_all_text="true" makes the build job rewrite the template copy with AI (plan-gated, 403 plan_gated). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
get_variant read-only
Configuration of one variant: traffic percentage, trigger behavior, whether it has unpublished draft changes (unpublished=true), whether it carries custom code, and its step ids (feed get_step_report). Styling settings and page content are not exposed. For performance call get_variant_report. Requires variants:read.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Variant id — from get_campaign (variants list), get_campaign_report or create_variant. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_variant writes
Renames the variant and/or changes how it triggers (trigger_type, delay, scroll, exit_delay, aggressive, hide, minutes_hide). Behavior changes are saved as an unpublished draft — nothing changes for visitors until publish_variant. Set a behavior key to null to clear it. Traffic is set with set_traffic_split, not here. Requires variants:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Variant id — from get_campaign (variants list), get_campaign_report or create_variant. |
name |
string | |
behavior |
object | How the variant triggers. Saved as an unpublished draft — call publish_variant to push it live. Pass null for a key to clear it. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
copy_variant writes
Copies the variant (all steps, sections and elements) into the same campaign at 0% traffic with the next variation letter. The copy is not served and nothing is published. Give it traffic with set_traffic_split (which republishes). Requires variants:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Variant id — from get_campaign (variants list), get_campaign_report or create_variant. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
publish_variant writes
Pushes the variant's unpublished draft changes to the live campaign script (a backup is taken first). Queued, not immediate: returns a short acknowledgement, not the variant. The draft goes live when the job runs (seconds) — re-read with get_variant to see unpublished flip to false. Requires variants:publish.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Variant id — from get_campaign (variants list), get_campaign_report or create_variant. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
list_templates read-only
Templates this account can build campaigns and variants from: its own saved templates plus the public library, 25 per page, newest first. Pass a template id as template_id to create_campaign or create_variant. Requires templates:read.
| Parameter | Type | Description |
|---|---|---|
name |
string | Case-insensitive name search. |
cta_type |
string |
Campaign format of the template.
one of: page, overlay, hook, bar, inline |
page |
integer | Page number, 1-based. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
get_template read-only
One template visible to this account: name, description, format (cta_type), screenshot, official/public/premium flags, times used and tags. Requires templates:read.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Template id — from list_templates. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
list_segments read-only
The website's visitor segments (reusable targeting audiences), sorted by name, each with its conditions: id, condition_type, operator (how it combines with the others: and/or), and its values: keyword, url, count, country, condition_cta (campaign id), tag_id and data (device, conditions_group_id, attribute, slug) — which one a condition type uses is listed by list_segment_condition_types. Pass name to filter by a case-insensitive substring of the segment name. Requires segments:read.
| Parameter | Type | Description |
|---|---|---|
name |
string | Case-insensitive substring of the segment name. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
get_segment read-only
One visitor segment with all its conditions (same shape as list_segments). Use it to confirm the result of update_segment_condition. Requires segments:read.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Segment id — from list_segments. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_segment writes
Renames a visitor segment. Only the name changes: conditions and targeting stay as they are and nothing is republished (the name is a label, never part of targeting). Segments cannot be created or deleted here, and conditions cannot be added or removed. Requires segments:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Segment id — from list_segments. |
name * |
string | New segment name. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
list_segment_condition_types read-only
Every condition type a segment can hold and the settings update_segment_condition accepts for it: attribute (the argument name), input (text, number or select), multi (comma-separated values allowed) and, for selects, the options available on this website as value/label pairs (campaign ids, tag ids, segment ids, custom field slugs, contact field names, device types) or the value format (countries: ISO alpha-2 codes). Call it before changing a select setting so you send an available value, and to learn which argument a condition type takes. Requires segments:read.
| Parameter | Type | Description |
|---|---|---|
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_segment_condition writes
Replaces one or more values of one condition in a segment. The condition type decides which arguments apply (list_segment_condition_types lists them per type): keyword for region, city, URL, referral and keyword conditions, url for page URL, cookie and global variable names, count for numbers, country for country conditions, condition_cta for campaign ids, tag_id for tags, device for device type, conditions_group_id for nested segments, attribute for contact field names, slug for custom field slugs; operator (and/or, how the condition combines with the others) applies to every type. Free-text settings take any value; number settings a whole number; select settings only an available option (422 lists them). Region and city keywords are the COMPLETE comma-separated list, not a delta: read the segment first and resend every name you keep, as full names ("New Jersey", not "NJ"; two-letter values answer 422) that match anywhere in the visitor's region name, case-insensitively, so "Virginia" also matches "West Virginia". Country values are ISO alpha-2 codes ("US, CA"). The condition type itself cannot change, conditions cannot be added, and integration conditions cannot be edited. The website script republishes immediately: every live campaign targeting this segment changes for visitors within seconds — confirm with the user before calling unless they asked for exactly this change. Requires segments:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Segment id — from list_segments. |
condition_id * |
integer | Condition id — from the segment's conditions in list_segments or get_segment. |
keyword |
string | Text setting: region or city names (comma-separated full names), URL fragment, referral source, cookie/variable value, custom field value. |
url |
string | Page URL, cookie name or global variable name. |
count |
integer | Number setting (sessions, minutes, page views, views). |
country |
string | Comma-separated ISO alpha-2 codes, e.g. "US, CA". |
condition_cta |
integer | Campaign id (from list_campaigns or list_segment_condition_types). |
tag_id |
integer | Tag id (from list_segment_condition_types). |
device |
string | "desktop" or "mobile". |
conditions_group_id |
integer | Segment id for "If (NOT) in custom segment" (and the legacy "If person is (NOT) in visitor segment"); never the segment being edited. |
attribute |
string | Contact field name, e.g. "email", "state". |
slug |
string | Custom field slug (from list_segment_condition_types). |
operator |
string |
How this condition combines with the others in the segment.
one of: and, or |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
get_broadcast read-only
Configuration of one broadcast (a set of campaigns that go live together under shared targeting): name, live state, quick flag, delivery_mode, schedule, its campaigns with their traffic percentage, holdout_percentage (rotate mode only, otherwise null), folders and targeting conditions (ids feed update_targeting_condition and remove_targeting_condition). Conditions with cta_id null that are not 'If area is' target the whole broadcast; a cta_id scopes a condition to that campaign and 'If area is' (with area_id) places an embed — both are set in the ConvertFlow app and do not count as broadcast targeting for launch_broadcast. Also accepts a quick broadcast, i.e. the id returned by get_campaign_targeting. This is settings, not performance — for views, conversions and revenue call get_broadcast_report. Requires broadcasts:read. Use it to confirm the result of any broadcast write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
create_broadcast writes
Creates a broadcast, never live — call launch_broadcast when it is ready. Blank: pass name and optionally campaign_ids (existing popup/hook/bar/embed campaigns, from list_campaigns, attached at 100% — or the remaining share in rotate mode), delivery_mode and folder_ids. From a playbook: pass playbook_id (from list_playbooks) and the call synchronously copies every playbook template into new campaigns on this website attached to the broadcast (it can take a while); with playbook_id only name and folder_ids apply (delivery_mode other than all and campaign_ids → 422), and playbooks that contain landing-page (page-format) templates are refused with 422 and nothing is created. Add targeting afterwards with add_targeting_condition. Landing pages cannot be part of a broadcast. Returns the broadcast; read it again with get_broadcast. Requires broadcasts:write.
| Parameter | Type | Description |
|---|---|---|
name * |
string | Broadcast name (required). |
campaign_ids |
array<integer> | Campaign ids to attach (blank creates only). |
playbook_id |
integer | Playbook to build from — from list_playbooks. Creates its campaigns; not combinable with campaign_ids; page-format playbooks are refused. |
delivery_mode |
string |
all = every campaign is eligible for each visitor; rotate = each visitor sees one campaign, split by the campaigns' percentages (set_broadcast_traffic_split, which also switches an existing broadcast to rotate).
one of: all, rotate |
folder_ids |
array<integer> | Broadcast folder ids (from list_broadcast_folders). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_broadcast writes
Updates name, delivery_mode and the schedule (scheduled, timezone, range_start, range_end — range values are wall-clock time in timezone and are returned the same way, e.g. "2026-12-01T09:00:00" with timezone "America/New_York"; a range without a timezone is a 422). When enabling a schedule, the broadcast must have a timezone and both range endpoints; existing values can be reused. Only the fields you pass change. The website script is republished like the dashboard does, so a live broadcast changes for visitors within seconds; an inactive one stays off. Switching to rotate fails (422) while the campaign percentages total more than 100 — to switch an existing multi-campaign broadcast use set_broadcast_traffic_split, which switches to rotate and sets the split in one call. Does not change campaigns, targeting or folders. On a quick broadcast (campaign launch, id from get_campaign_targeting) only scheduled, timezone, range_start and range_end are accepted — name or delivery_mode → 422. range_end must be after range_start. Requires broadcasts:write. Changing anything but the name of a live broadcast also requires broadcasts:launch (campaigns:launch for a launched campaign).
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
name |
string | |
delivery_mode |
string |
all = every campaign is eligible for each visitor; rotate = each visitor sees one campaign, split by the campaigns' percentages (set_broadcast_traffic_split, which also switches an existing broadcast to rotate).
one of: all, rotate |
scheduled |
boolean | Whether the broadcast only runs between range_start and range_end. When true, timezone and both range endpoints must be set on the broadcast or included in this update. |
timezone |
string | Timezone name the schedule range is expressed in, e.g. "America/New_York" (unknown names → 422). Required before sending a range. |
range_start |
string | Schedule start as wall-clock time in timezone, e.g. "2026-12-01 09:00". A value with an offset ("2026-12-01T09:00:00-05:00") is converted into timezone. |
range_end |
string | Schedule end, same format as range_start. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
copy_broadcast writes
Duplicates the broadcast with its folders and traffic percentages. Targeting conditions are NOT copied: the copy has none, is always inactive and needs targeting (add_targeting_condition, e.g. Everywhere) before launch_broadcast will accept it. campaigns=reuse (default) attaches the same campaigns to the copy; campaigns=copy duplicates every campaign too (synchronous, can take a while). Returns the copy. Not available for quick broadcasts. Requires broadcasts:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
campaigns |
string |
reuse = same campaigns, copy = duplicate each campaign. Default reuse.
one of: reuse, copy |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
launch_broadcast writes
Makes the broadcast live: its campaigns are served to every visitor matching its targeting as soon as the website script republishes (seconds). Needs at least one campaign and at least one broadcast-wide targeting condition — cta_id null, not 'If area is' (422 otherwise; use Everywhere to target all visitors). 403 plan_gated when a campaign format is not available on the plan. Does not edit targeting or traffic — check them with get_broadcast first and confirm with the user. Not available for quick broadcasts (use launch_campaign). An embed campaign shows only where its embed code is on the page or on an area placement set in the ConvertFlow app (placements cannot be set here). Requires broadcasts:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
deactivate_broadcast writes
Takes the broadcast offline: its campaigns stop being served by it within seconds (a campaign may still be served by another live broadcast). Nothing is deleted; launch_broadcast reverses it. Not available for quick broadcasts (use deactivate_campaign). Requires broadcasts:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
add_campaign_to_broadcast writes
Attaches an existing popup, hook, bar or embed campaign to the broadcast — at 100%, or in rotate mode the share not yet allocated (0 if none is left; adjust with set_broadcast_traffic_split). Already attached → 409; landing pages are refused. On a live broadcast, a format the plan does not include answers 403 plan_gated. The website script republishes, so on a live broadcast visitors see the campaign within seconds. Requires broadcasts:write. A live broadcast also requires broadcasts:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
campaign_id * |
integer | Campaign id — from list_campaigns. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
remove_campaign_from_broadcast writes
Detaches a campaign from the broadcast. The campaign itself is not deleted or archived and keeps any other broadcasts. The website script republishes, so on a live broadcast the campaign stops being served by it within seconds. Not attached → 404. Requires broadcasts:write. A live broadcast also requires broadcasts:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
campaign_id * |
integer | Campaign id — from the broadcast's campaigns in get_broadcast. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
set_broadcast_traffic_split writes
Sets each campaign's percentage and switches the broadcast to rotate delivery when it is not rotating yet (the way to move an existing multi-campaign broadcast to rotate). Pass a map of campaign id to percentage; omitted campaigns keep their stored value (unset counts as 100) and the total must not exceed 100, otherwise 422 and nothing changes. The remainder is the holdout: visitors who see none of the broadcast's campaigns (holdout_percentage = 100 − sum). The website script republishes, so a live broadcast changes within seconds. Requires broadcasts:write. A live broadcast also requires broadcasts:launch.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
percentages * |
object | Campaign id → percentage (0-100). Example: {"112": 60, "121": 30} leaves a 10% holdout. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
add_targeting_condition writes
Adds one targeting condition to a broadcast — or, for a single campaign, to the quick broadcast id returned by get_campaign_targeting. condition_type is a type name from list_segment_condition_types, which also lists the arguments each type takes (keyword, url, count, country, condition_cta, tag_id, device, conditions_group_id, attribute, slug) and the available options for select settings; every setting of the type is required (422 "can't be blank" for each one missing); types without settings only need condition_type. Values are validated like update_segment_condition (422 lists the options). operator (and/or) says how it combines with the other conditions. Integration conditions cannot be added. The website script republishes: on a live broadcast or launched campaign, visitor targeting changes within seconds — confirm with the user. Returns the broadcast with the new condition. Requires broadcasts:write. A live broadcast also requires broadcasts:launch (campaigns:launch for a launched campaign).
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
condition_type * |
string | Condition type name, e.g. "If device type is" — from list_segment_condition_types. |
keyword |
string | Text setting: region or city names (comma-separated full names), URL fragment, referral source, cookie/variable value, custom field value. |
url |
string | Page URL, cookie name or global variable name. |
count |
integer | Number setting (sessions, minutes, page views, views). |
country |
string | Comma-separated ISO alpha-2 codes, e.g. "US, CA". |
condition_cta |
integer | Campaign id (from list_campaigns or list_segment_condition_types). |
tag_id |
integer | Tag id (from list_segment_condition_types). |
device |
string | "desktop" or "mobile". |
conditions_group_id |
integer | Segment id for "If (NOT) in custom segment" (and the legacy "If person is (NOT) in visitor segment"); never the segment being edited. |
attribute |
string | Contact field name, e.g. "email", "state". |
slug |
string | Custom field slug (from list_segment_condition_types). |
operator |
string |
How this condition combines with the others in the segment.
one of: and, or |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_targeting_condition writes
Replaces one or more values of one targeting condition of a broadcast (or of a campaign's quick broadcast from get_campaign_targeting). Same arguments and rules as update_segment_condition: the condition type decides which apply (list_segment_condition_types), region and city keywords are the complete comma-separated list, the condition type itself cannot change. The website script republishes: a live broadcast or launched campaign changes for visitors within seconds — confirm with the user. Requires broadcasts:write. A live broadcast also requires broadcasts:launch (campaigns:launch for a launched campaign).
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
condition_id * |
integer | Condition id — from the broadcast's conditions in get_broadcast. |
keyword |
string | Text setting: region or city names (comma-separated full names), URL fragment, referral source, cookie/variable value, custom field value. |
url |
string | Page URL, cookie name or global variable name. |
count |
integer | Number setting (sessions, minutes, page views, views). |
country |
string | Comma-separated ISO alpha-2 codes, e.g. "US, CA". |
condition_cta |
integer | Campaign id (from list_campaigns or list_segment_condition_types). |
tag_id |
integer | Tag id (from list_segment_condition_types). |
device |
string | "desktop" or "mobile". |
conditions_group_id |
integer | Segment id for "If (NOT) in custom segment" (and the legacy "If person is (NOT) in visitor segment"); never the segment being edited. |
attribute |
string | Contact field name, e.g. "email", "state". |
slug |
string | Custom field slug (from list_segment_condition_types). |
operator |
string |
How this condition combines with the others in the segment.
one of: and, or |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
remove_targeting_condition writes
Deletes one targeting condition from a broadcast (or from a campaign's quick broadcast from get_campaign_targeting). The deletion cannot be undone — re-add it with add_targeting_condition. The last broadcast-wide condition (cta_id null, not 'If area is') of a live broadcast, or the last condition of a launched campaign, cannot be removed (422) — add the replacement first. The website script republishes: a live broadcast or launched campaign changes within seconds — confirm with the user. Requires broadcasts:write. A live broadcast also requires broadcasts:launch (campaigns:launch for a launched campaign).
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
condition_id * |
integer | Condition id — from the broadcast's conditions in get_broadcast. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
list_broadcast_folders read-only
The website's broadcast folders (labels for organizing broadcasts), sorted by name, each with its id, name and broadcast count. Ids feed folder_id on list_broadcasts and folder_ids on create_broadcast / set_broadcast_folders. Requires broadcasts:read.
| Parameter | Type | Description |
|---|---|---|
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
create_broadcast_folder writes
Creates an empty broadcast folder. Folders are labels only: nothing is republished and visitors are unaffected. Assign broadcasts with set_broadcast_folders. Returns the folder. Requires broadcasts:write.
| Parameter | Type | Description |
|---|---|---|
name * |
string | Folder name (required). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
update_broadcast_folder writes
Renames a broadcast folder. Only the name changes; nothing is republished and visitors are unaffected. Folders cannot be deleted through MCP. Requires broadcasts:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast folder id — from list_broadcast_folders or create_broadcast_folder. |
name * |
string | New folder name. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
set_broadcast_folders writes
Replaces the broadcast's folders with exactly the folder_ids given — pass the complete list, an empty array clears them. Unknown folder ids → 422. Labels only: nothing is republished and visitors are unaffected. Not available for quick broadcasts. Requires broadcasts:write.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Broadcast id — from list_broadcasts, create_broadcast or get_campaign_targeting. Quick broadcasts (campaign launches) only accept get_broadcast, update_broadcast (schedule fields only) and the targeting condition tools (add_targeting_condition, update_targeting_condition, remove_targeting_condition). |
folder_ids * |
array<integer> | Broadcast folder ids (from list_broadcast_folders). |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
list_playbooks read-only
ConvertFlow's official public playbooks (ready-made sets of campaign templates), 25 per page, newest first: id, name, description, categories, industries, premium flag, times_used and the templates each one creates. Pass a playbook id as playbook_id to create_broadcast — playbooks whose templates are landing pages (cta_type page) are refused there, check the templates first. Read-only; customer playbooks are not listed. Requires templates:read.
| Parameter | Type | Description |
|---|---|---|
name |
string | Case-insensitive name search. |
category |
string | Goal category name, as shown in a playbook's categories. |
industry |
string | Industry name, as shown in a playbook's industries. |
page |
integer | Page number, 1-based. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
get_playbook read-only
One official playbook with its description, categories, industries, premium flag, times_used, tutorial_url and templates (id, name, cta_type) — the campaigns create_broadcast will build from it. Read-only. Requires templates:read.
| Parameter | Type | Description |
|---|---|---|
id * |
integer | Playbook id — from list_playbooks. |
website_id |
integer | Website to act on. Optional for single-website tokens; required when the token grants multiple websites — call list_websites first. |
Notes & limits
- Settings, not content. Management tools create, configure, copy, archive, publish and launch campaigns, variants and broadcasts. Going live is its own permission:
launch_campaign/deactivate_campaignneedcampaigns:launchandlaunch_broadcast/deactivate_broadcastneedbroadcasts:launch; formats your plan does not include are refused, and landing pages are never launched (they are live at their page path while not archived).publish_campaignandpublish_variantrebuild the script of a campaign that is already live. Tools cannot edit steps, sections, elements, styling or custom code, run an AI remix, add integration targeting conditions, or touch contacts — and nothing can be deleted (archive a campaign, deactivate a broadcast, or give a variant 0% traffic). - Some writes reach visitors. Archiving, traffic splits, format changes, adding a variant,
publish_campaignandpublish_variantrepublish the campaign script (queued, live within seconds).update_segment_condition, launching or deactivating a campaign or broadcast, targeting-condition changes, broadcast traffic splits and adding or removing a broadcast's campaigns republish the website script, so live campaigns pick up the change at once. Renames, SEO fields, remix instructions, trigger-behavior edits, copies of campaigns, variants or broadcasts, new broadcasts and folders are saved without going live — but any later republish of a campaign pushes its pending drafts live. -
Multiple websites need
website_id. A token bound to one website doesn't need it. A token bound to several does. Calllist_websitesto get the ids. The exception isget_account_performance, which aggregates every bound website. -
Freshness matches the app. Tools read the same per-day metrics as your in-app
reports. There's one exception:
get_website_insightsreturns a pre-generated weekly snapshot, not live data.