MCP tools

340 tools, generated from tools/list: this list is always what the server offers.

Get your API key

How to call them

POST /api/v1/mcp/ (JSON-RPC 2.0) with Authorization: Bearer <API key>: tools/list lists them and tools/call runs one with {"name", "arguments"}. Every tool except escalateflow_projects_* takes project_id; start with escalateflow_projects_list. Tools marked DEPRECATED still work and name their replacement. Setup: Agent & MCP.

projects

escalateflow_projects_list

List your EscalateFlow projects (websites) with their project_id, name and public URL. Call this first to get the project_id the other tools need.

escalateflow_projects_create

Create a new project (website). It is live right away at https://<subdomain>.escalateflow.com; then add pages with escalateflow_page_create_from_template and publish them.

ParameterTypeRequiredDescription
namestringyesProject / business name
subdomainstringnoOptional: lowercase letters, numbers and hyphens. Picked from the name (and made unique) when omitted.
languagestringnoOptional site language code (es, en, fr, de, es-ES...). Default: es. Used for the storefront, cart, account and system pages.

form

escalateflow_form_create

Create a new form with optional fields

ParameterTypeRequiredDescription
modestringnoForm mode One of: single, multistep.
stepsarraynoOrdered steps [{key, title, conditions}]; fields may specify step
namestringyesForm name (e.g., 'Contact Form')
fieldsarraynoList of field definitions {name, label, field_type, required, placeholder, options, autocomplete}. `name` must equal the name="..." of the input in the page HTML (defaults to the slugified label)
submit_button_textstringnoSubmit button text Default: Submit.
success_messagestringnoMessage shown after submission
redirect_urlstringnoURL to redirect after submission
url_prefillbooleannoAllow browser-only email/name defaults from the page URL Default: True.

escalateflow_form_add_field

Add a field to an existing form

ParameterTypeRequiredDescription
form_idstringyesForm ID to add field to
labelstringyesField label
namestringnoField name = the input's name attribute in the page HTML (default: slugified label)
field_typestringyesField type (tel is accepted as phone) One of: text, email, phone, number, textarea, select, checkbox, radio, hidden, date, url.
placeholderstringnoPlaceholder text
autocompletestringnoStandard browser autocomplete hint; blank infers it from the field
requiredbooleannoIs field required Default: False.
optionsarraynoOptions for select/radio/checkbox
stepintegernoZero-based step index; omitted uses the last step
conditionsobjectnoVisibility: {all: [{field, op, value}]} or {any: [...]} using earlier steps

escalateflow_form_update

Update form settings and ordered steps. Keep step keys when renaming or reordering; deleting occupied steps requires field_steps assignments.

ParameterTypeRequiredDescription
form_idstringyesForm ID to update
stepsarraynoComplete ordered steps [{key, title, description, conditions}]; omitted steps are deleted
field_stepsobjectnoField name to zero-based destination index, e.g. {email: 2}
modestringnoForm mode One of: single, multistep.
namestringnoNew form name
submit_button_textstringnoNew submit button text
success_messagestringnoNew success message
redirect_urlstringnoNew redirect URL
is_activebooleannoForm active status
url_prefillbooleannoAllow browser-only email/name defaults from the page URL

escalateflow_form_delete

Delete a form

ParameterTypeRequiredDescription
form_idstringyesForm ID to delete

escalateflow_form_list

List all forms for the website

ParameterTypeRequiredDescription
active_onlybooleannoOnly return active forms Default: True.

escalateflow_form_get

Get form details including fields

ParameterTypeRequiredDescription
form_idstringyesForm ID to retrieve

escalateflow_form_analytics

Get form performance analytics (conversion rate, field dropoff, UTM attribution)

ParameterTypeRequiredDescription
form_idstringyesForm ID to analyze
daysintegernoNumber of days to analyze Default: 30.

escalateflow_form_submissions

DEPRECATED (removed 2026-12-14): use escalateflow_submission_list (same data). List recent form submissions with full data

ParameterTypeRequiredDescription
form_idstringyesForm ID
limitintegernoNumber of submissions to return Default: 20.
is_botbooleannoFilter by bot flag: false = humans only, true = bots only

escalateflow_form_set_redirect_rules

Set conditional redirect rules for a form (first match wins after submission)

ParameterTypeRequiredDescription
form_idstringyesForm ID
rulesarrayyesList of rules: [{field, operator, value, redirect}]. Operators: eq, neq, gt, lt, gte, lte, contains, empty, not_empty

escalateflow_form_list_versions

List content version history for a form

ParameterTypeRequiredDescription
form_idstringyesForm ID

escalateflow_form_restore_version

Restore a form to a previous version

ParameterTypeRequiredDescription
form_idstringyesForm ID
version_idstringyesVersion ID to restore

escalateflow_form_diff_versions

Compare two versions of a form field-by-field

ParameterTypeRequiredDescription
form_idstringyesForm ID
version_astringyesFirst version ID
version_bstringyesSecond version ID

escalateflow_form_get_schema

Get the multi-step schema of a form: steps, fields with step/conditions/score, scoring segments and conditional redirect rules

ParameterTypeRequiredDescription
form_idstringyesForm ID

escalateflow_form_set_schema

Replace the schema of a form (validated; fields matched by name, removed ones deactivated). Use mode='multistep'. Conditions may only reference fields of earlier steps. redirect_rules can test '$score' and '$segment'.

ParameterTypeRequiredDescription
form_idstringyesForm ID
schemaobjectyesFull schema: {mode, steps, fields, scoring, redirect_rules}

escalateflow_form_list_sessions

List multi-step form sessions (partial and completed leads) with score, segment and attribution. Bots, spam and test sessions are excluded unless requested.

ParameterTypeRequiredDescription
form_idstringyesForm ID
include_testbooleannoInclude test sessions (default false)
is_testbooleannoFilter only test or only real sessions
statusstringnoComma list: started,in_progress,completed,abandoned
segmentstringnoComma list of segment keys
qualifiedstringnotrue or false
min_scoreintegernoMinimum score
utm_sourcestringnoFilter by first-touch utm_source
sincestringnoISO date/datetime (started at or after)
limitintegernoMax rows (default 50, max 200)

escalateflow_form_update_session

Mark or unmark a form session and its linked submission as test data. Test sessions do not count in statistics; changing the flag does not resend events.

ParameterTypeRequiredDescription
form_idstringyesForm ID
session_idstringyesSession ID
is_testbooleanyesWhether this is test data

escalateflow_form_funnel

Funnel of a multi-step form: views, starts, per-step completions and drop-offs, submits, qualified leads and segments (bots excluded)

ParameterTypeRequiredDescription
form_idstringyesForm ID
sincestringnoISO date/datetime
untilstringnoISO date/datetime

escalateflow_form_get_trial

Trial funnel of a form: trial product, readiness problems (what is missing for it to work), lead counts per state (lead/trial/converted/canceled/unsubscribed) and leads

ParameterTypeRequiredDescription
form_idstringyesForm ID
statestringnoOnly leads in this state
limitintegernoMax leads (default 50, max 200)

escalateflow_form_set_trial

Attach a subscription product with trial_days to a form (or null to detach). After submit with marketing_consent the visitor goes to a signed trial page that opens Stripe Checkout. Needs form fields 'email' and 'marketing_consent'.

ParameterTypeRequiredDescription
form_idstringyesForm ID
trial_product_idstringnoProduct ID (subscription, trial_days >= 1) or null
trial_email_sequencearraynoOptional, max 3 {template_id, smtp_id}; sandbox SMTP only

escalateflow_form_give_access

On submit, the submitter becomes a site user of this website with a member tier (for `days`, 0 = no end) and / or a group, and gets a one-time sign-in link to `next`. Gate pages with access_level 'tiers' + allowed_tiers (or allowed_groups). One per form: calling it again updates it; enabled=false turns it off.

ParameterTypeRequiredDescription
form_idstringyesForm ID
tierstringnoMember tier slug (members tier_create)
daysintegernoDays of access (0 = no end) Default: 0.
groupstringnoSite user group slug (site_users group_create)
email_fieldstringnoForm field with the email Default: email.
name_fieldstringnoForm field with the name
send_login_linkbooleannoEmail a sign-in link Default: True.
nextstringnoWhere the sign-in link lands, e.g. /curso/ Default: /.
enabledbooleannofalse = turn the access action off Default: True.

escalateflow_form_set_double_opt_in

Double opt-in for this form: on submit the person gets a confirmation email, and the sign-up is complete only when they click its link. Until then the owner notification, the form's other actions, webhooks and conversion goals wait. The proof (when it was requested and confirmed, from which truncated address) is kept in the submission's metadata.double_opt_in. One per form: calling it again updates it; enabled=false turns it off.

ParameterTypeRequiredDescription
form_idstringyesForm ID
email_fieldstringnoForm field with the email Default: email.
subjectstringnoSubject of the confirmation email ({site} = the website's name)
introstringnoParagraph above the button, plain text ({site} = the website's name)
redirectstringnoPath of the site to open after confirming, e.g. /gracias/ (?ef_confirmed=<event id> is added)
daysintegernoDays the link works (1-90) Default: 30.
languagestringnoLanguage of the confirmation email and pages: es, en or fr. Leave it out to use the website's language
enabledbooleannofalse = turn double opt-in off Default: True.

escalateflow_form_list_conversion_rules

Conversion rules of a form: which conversion event it reports to ad platforms, to which destination, at which moment and under which conditions. A form without rules reports one Lead when the lead is complete; with rules, only what they say. Also returns the ready-made templates.

ParameterTypeRequiredDescription
form_idstringyesForm ID

escalateflow_form_set_conversion_rule

Add a conversion rule to a form, or change one (with rule_id). The event is reported to the page's pixel and to the ad platforms connected to the account with the same event id, so it is counted once; never without the advertising consent the website asks for. What does not pass the conditions is simply not sent; the lead is always stored. Conditions read this form's fields, its score / segment / qualified, and the same of a linked form with the prefix linked. (e.g. linked.perfil).

ParameterTypeRequiredDescription
form_idstringyesForm ID
rule_idstringnoRule to change (leave it out to add a new one)
eventstringnolead, complete_registration, subscribe, purchase, contact, schedule, start_trial, view_content, sign_up, or a custom name
whenstringnosubmit = when the form arrives; confirm = when the person confirms the double opt-in email One of: submit, confirm.
destinationsarraynoWhere: ["pixel", "server"] (default both). server = the ad platforms connected to the account
conditionsobjectnoSend only if: {"all": [{field, op, value}]} or {"any": [...]}. Operators: eq, neq, in, not_in, gt, gte, lt, lte, contains, not_contains, empty, not_empty
linked_form_idstringnoAnother form of the website whose answers the conditions may use (a survey after the sign-up)
if_no_answerstringnoWhen the conditions need the linked form and it was not answered: send or skip One of: send, skip.
wait_minutesintegernoMinutes to wait for the linked form's answer before applying if_no_answer (0-1440, default 0)
valuenumbernoValue of the event (optional)
currencystringno3-letter currency of the value (default EUR)
value_rulesarraynoValue by score or segment: [{"if": <conditions>, "value": n}], first match wins
namestringnoName of the rule
enabledbooleannofalse = keep the rule but turn it off Default: True.

escalateflow_form_delete_conversion_rule

Delete a conversion rule of a form.

ParameterTypeRequiredDescription
form_idstringyesForm ID
rule_idstringyesRule ID

escalateflow_form_conversion_history

What the form's conversion rules did with one lead: for each rule, whether its event was sent, where, with which id and value, and the reason.

ParameterTypeRequiredDescription
submission_idstringyesSubmission ID

page

escalateflow_page_update

Update page settings (not content)

ParameterTypeRequiredDescription
page_idstringyesPage ID to update
titlestringnoNew page title
slugstringnoNew URL slug
meta_titlestringnoSEO title of the page (max 120; the site's title suffix is added)
meta_descriptionstringnoNew meta description (max 320)
canonical_urlstringnoCanonical URL, only when the page duplicates another one (max 500)
is_indexedbooleannofalse = noindex and out of the sitemap
include_in_sitemapbooleannoList the page in /sitemap.xml
statusstringnoPage status One of: draft, published.
show_in_menubooleannoShow in navigation menu
is_standalonebooleannoAds/campaign landing: served only at /{landing_prefix}/{slug}/ (default /lp/), without header, footer or menu, outside the sitemap; never the homepage nor under a parent
inherit_site_stylesbooleannoUse the website's styles on this page (default true). false = the page keeps only its own design: none of the CSS / fonts copied from the homepage, no global CSS, no site header or footer; as homepage its head is not copied to the website
access_levelstringnoWho can see the page: 'password' = a visitor password (send password), the others need signed-in site users One of: public, password, members, customers, contributors, editors, admins, paid, tiers.
passwordstringnoPage password (access_level password, min 4 chars)
allowed_groupsarraynoSite user group slugs (any of them)
allowed_tiersarraynoMember tier slugs (access_level tiers)
scheduled_publish_atstringnoISO 8601 datetime to auto-publish a draft (must be in the future); null clears it
scheduled_unpublish_atstringnoISO 8601 datetime to auto-unpublish a published page (must be after scheduled_publish_at); null clears it

escalateflow_page_embed_form

Embed a form into a page

ParameterTypeRequiredDescription
page_idstringyesPage ID to embed form in
form_idstringyesForm ID to embed
positionstringnoWhere to embed One of: after_hero, before_footer, replace_cta, new_section. Default: after_hero.
section_titlestringnoTitle for the form section

escalateflow_page_delete

Delete a page

ParameterTypeRequiredDescription
page_idstringyesPage ID to delete

escalateflow_page_list

List all pages for the website

ParameterTypeRequiredDescription
statusstringnoFilter by status One of: draft, published, all.
is_standalonebooleannotrue = only ads/campaign landings (/{landing_prefix}/{slug}/), false = only normal pages
is_homepagebooleannotrue = only the homepage

escalateflow_page_get

Get page details

ParameterTypeRequiredDescription
page_idstringnoPage ID to retrieve
slugstringnoPage slug to retrieve
is_standalonebooleannoWith slug: only a standalone landing (true) or only a normal page (false)

escalateflow_page_list_versions

List content version snapshots for a page

ParameterTypeRequiredDescription
page_idstringyesPage ID

escalateflow_page_restore_version

Restore a page to a previous content version

ParameterTypeRequiredDescription
page_idstringyesPage ID
version_idstringyesVersion ID to restore

escalateflow_page_diff_versions

Compare two versions of a page field-by-field

ParameterTypeRequiredDescription
page_idstringyesPage ID
version_astringyesFirst version ID
version_bstringyesSecond version ID

escalateflow_page_list_templates

List available page templates (ecommerce-product, blog-post, service-page, landing-page, shop-homepage)

escalateflow_page_create_from_template

Create a new page from a block template with default blocks pre-populated

ParameterTypeRequiredDescription
templatestringyesTemplate ID (e.g. ecommerce-product, blog-post)
slugstringyesURL slug for the page
titlestringnoPage title
is_homepagebooleannoIf true, make this page the site homepage (served at /)
is_standalonebooleannoAds/campaign landing: served only at /{landing_prefix}/{slug}/ (default /lp/), without header, footer or menu, outside the sitemap; never the homepage nor under a parent

escalateflow_page_set_homepage

Set an existing page as the site homepage (served at /). Unsets any previous homepage.

ParameterTypeRequiredDescription
page_idstringyesPage ID to set as homepage

escalateflow_page_get_blocks

Get all content blocks for a page

ParameterTypeRequiredDescription
page_idstringyesPage ID

escalateflow_page_update_block

Update a block: the keys of content (and config) you send are merged into the block's (one level deep, like REST PATCH); replace=true replaces them entirely

ParameterTypeRequiredDescription
page_idstringyesPage ID
block_idstringyesBlock ID within the page (e.g. hero, cta_1)
contentobjectnoContent keys to change
configobjectnoConfig keys to change
replacebooleannoReplace content/config instead of merging Default: False.

escalateflow_page_list_block_types

Block types you can add (add_block), with their content fields; same as GET /api/v1/block-types/

escalateflow_page_add_block

Add a new block to a page

ParameterTypeRequiredDescription
page_idstringyesPage ID
typestringyesBlock type: escalateflow_page_list_block_types lists them with their content fields (e.g. html, rich_text, form, cta_banner, product_faq)
contentobjectnoBlock content
configobjectnoBlock config
positionstringnoPosition: 'after:block_id' or 'before:block_id'

escalateflow_page_remove_block

Remove a block from a page

ParameterTypeRequiredDescription
page_idstringyesPage ID
block_idstringyesBlock ID to remove

product

escalateflow_product_create

Create a new product. Idempotent: if the shop already has a product with this sku (or, without a sku, this slug / the slug of the name) it is returned with already_existed=true and nothing is created, so retrying is safe. Give each distinct product its own sku. The shop (Beta) is part of the Scale plan: on a smaller plan this is refused with type 'plan_limit' and required_plan 'scale'.

ParameterTypeRequiredDescription
namestringyesProduct name
slugstringnoURL slug (default: from the name)
pricenumberyesProduct price
descriptionstringnoProduct description
short_descriptionstringnoBrief description (1-2 sentences)
image_urlstringnoProduct image URL
category_idstringnoCategory ID
category_namestringnoCategory name (creates if doesn't exist)
skustringnoStock keeping unit
stock_quantityintegernoAvailable stock Default: 0.
compare_at_pricenumbernoOriginal price (for sale display)
is_featuredbooleannoFeatured product Default: False.
featuresarraynoList of product features
complementary_product_idsarraynoHasta 8 IDs de productos de la misma web para «Complétalo con» (#188)
vendorstringnoBrand / manufacturer (shown on the product page and in JSON-LD)
barcodestringnoEAN / UPC / GTIN
product_typestringnoProduct type
tagsarraynoTags (list of strings)
attributesobjectnoFilterable attributes, e.g. {"color": "red", "ram_gb": 16}
technical_specsobjectnoSpecifications table, e.g. {"Socket": "AM5"}
faqarraynoFAQ: list of {question, answer}
care_instructionsstringnoCare instructions
size_guidestringnoSize guide (HTML allowed: tables)
meta_titlestringnoSEO title
meta_descriptionstringnoSEO description
track_inventorybooleannoTrack stock (defaults to true when stock_quantity is given)
allow_backorderbooleannoSell when out of stock
requires_shippingbooleannofalse for products only delivered online (course, downloads, access): a cart of them asks no address and pays no shipping
kindstringnoWhat is sold: physical | digital | course | membership | service, or auto to let the platform derive it from the product (its access grants, download files and shipping). Setting a kind other than physical also turns shipping off unless requires_shipping is sent One of: physical, digital, course, membership, service, auto.
weightnumbernoWeight
galleryarraynoExtra image URLs (gallery under the main image)
variantsarraynoVariants: list of {name, price, sku, stock_quantity, attributes, image_url, compare_at_price, metafields}
metafieldsobjectnoTyped custom fields {"specs.ram": 16} (define them first with escalateflow_metafields_define; null deletes one)

escalateflow_product_create_category

Create a product category

ParameterTypeRequiredDescription
namestringyesCategory name
parent_idstringnoParent category ID (for a subcategory)
parent_namestringnoParent category name or slug (for a subcategory)
descriptionstringnoCategory description
image_urlstringnoCategory image URL
featured_on_homepagebooleannoShow on homepage Default: False.

escalateflow_product_update

Update product details

ParameterTypeRequiredDescription
product_idstringyesProduct ID to update
namestringnoNew product name
pricenumbernoNew price
descriptionstringnoNew description
image_urlstringnoNew image URL
category_idstringnoNew category ID
stock_quantityintegernoNew stock quantity
is_activebooleannoActive status
is_featuredbooleannoFeatured status
short_descriptionstringnoNew brief description
compare_at_pricenumbernoOriginal price (sale display); null clears it
skustringnoStock keeping unit
featuresarraynoList of product features
complementary_product_idsarraynoHasta 8 IDs de productos de la misma web para «Complétalo con» (#188)
vendorstringnoBrand / manufacturer (shown on the product page and in JSON-LD)
barcodestringnoEAN / UPC / GTIN
product_typestringnoProduct type
tagsarraynoTags (list of strings)
attributesobjectnoFilterable attributes, e.g. {"color": "red", "ram_gb": 16}
technical_specsobjectnoSpecifications table, e.g. {"Socket": "AM5"}
faqarraynoFAQ: list of {question, answer}
care_instructionsstringnoCare instructions
size_guidestringnoSize guide (HTML allowed: tables)
meta_titlestringnoSEO title
meta_descriptionstringnoSEO description
track_inventorybooleannoTrack stock (defaults to true when stock_quantity is given)
allow_backorderbooleannoSell when out of stock
requires_shippingbooleannofalse for products only delivered online (course, downloads, access): a cart of them asks no address and pays no shipping
kindstringnoWhat is sold: physical | digital | course | membership | service, or auto to let the platform derive it from the product (its access grants, download files and shipping). Setting a kind other than physical also turns shipping off unless requires_shipping is sent One of: physical, digital, course, membership, service, auto.
weightnumbernoWeight
galleryarraynoReplace the gallery with these image URLs
metafieldsobjectnoTyped custom fields {"specs.ram": 16} (define them first with escalateflow_metafields_define; null deletes one)

escalateflow_product_delete

Delete a product

ParameterTypeRequiredDescription
product_idstringyesProduct ID to delete

escalateflow_product_list

List products

ParameterTypeRequiredDescription
category_idstringnoFilter by category
featured_onlybooleannoOnly featured products
active_onlybooleannoOnly active products Default: True.
searchstringnoFind by name, sku, slug or text (look a product up before creating it)
kindstringnoOnly products of this kind One of: physical, digital, course, membership, service.
limitintegernoMax products to return Default: 50.
offsetintegernoSkip this many (paging; total is in count) Default: 0.

escalateflow_product_list_categories

List product categories

ParameterTypeRequiredDescription
active_onlybooleannoOnly active categories Default: True.

escalateflow_product_list_versions

List content version history for a product

ParameterTypeRequiredDescription
product_idstringyesProduct ID

escalateflow_product_restore_version

Restore a product to a previous version

ParameterTypeRequiredDescription
product_idstringyesProduct ID
version_idstringyesVersion ID to restore

escalateflow_product_diff_versions

Compare two versions of a product field-by-field

ParameterTypeRequiredDescription
product_idstringyesProduct ID
version_astringyesFirst version ID
version_bstringyesSecond version ID

blog

escalateflow_blog_create_post

Create a new blog post

ParameterTypeRequiredDescription
titlestringyesPost title
contentstringyesPost HTML content
excerptstringnoShort summary for listings
category_idstringnoCategory UUID
category_namestringnoCategory name (creates if needed)
author_namestringnoAuthor display name
featured_image_urlstringnoFeatured image URL
is_publishedbooleannoPublish immediately Default: False.
is_featuredbooleannoMark as featured Default: False.
tagsarraynoList of tag strings
meta_titlestringnoSEO title (max 70 chars)
meta_descriptionstringnoSEO description (max 160 chars)
access_levelstringnoWho can read the whole post (others get the paywall: the content up to <!--members-only--> + a CTA) One of: public, members, customers, paid, tiers.
allowed_tiersarraynoMember tier slugs for access_level 'tiers'
allowed_groupsarraynoGroup slugs that can read the post
paywall_ctaobjectnoPaywall box override: {title, text, button_text, button_url}

escalateflow_blog_update_post

Update an existing blog post

ParameterTypeRequiredDescription
post_idstringyesPost ID to update
titlestringnoNew title
contentstringnoNew HTML content
excerptstringnoNew excerpt
category_idstringnoNew category UUID
is_publishedbooleannoPublished status
is_featuredbooleannoFeatured status
tagsarraynoNew tag list
scheduled_publish_atstringnoISO 8601 datetime to auto-publish a draft (must be in the future); null clears it. Cleared automatically on manual publish.
scheduled_unpublish_atstringnoISO 8601 datetime to auto-unpublish a published post (must be after scheduled_publish_at); null clears it.
meta_titlestringnoNew SEO title
meta_descriptionstringnoNew SEO description
access_levelstringnoWho can read the whole post (others get the paywall: the content up to <!--members-only--> + a CTA) One of: public, members, customers, paid, tiers.
allowed_tiersarraynoMember tier slugs for access_level 'tiers'
allowed_groupsarraynoGroup slugs that can read the post
paywall_ctaobjectnoPaywall box override: {title, text, button_text, button_url}

escalateflow_blog_delete_post

Delete a blog post

ParameterTypeRequiredDescription
post_idstringyesPost ID to delete

escalateflow_blog_list_posts

List blog posts for the website

ParameterTypeRequiredDescription
published_onlybooleannoOnly published posts Default: False.
category_idstringnoFilter by category UUID
featured_onlybooleannoOnly featured posts Default: False.
limitintegernoMax results Default: 25.

escalateflow_blog_create_category

Create a blog category

ParameterTypeRequiredDescription
namestringyesCategory name
descriptionstringnoCategory description
image_urlstringnoCategory image URL

escalateflow_blog_list_categories

List blog categories

ParameterTypeRequiredDescription
active_onlybooleannoOnly active categories Default: True.

escalateflow_blog_update_category

Edit a blog category (name, slug, description, order, image, active). Changing the slug adds a 301 from the old category URL to the new one (#242).

ParameterTypeRequiredDescription
category_idstringyesCategory UUID
namestringnoNew name
slugstringnoNew slug (unique in this project)
descriptionstringnoDescription
display_orderintegernoSort order (>= 0)
image_urlstringnoImage URL
is_activebooleannoVisible on the site

escalateflow_blog_delete_category

Delete a blog category WITHOUT losing its posts: posts='uncategorize' (default) leaves them with no category; posts='reassign' with to=<category id of this project> moves them. The category URL then 301s to /blog/ or to the target (#242).

ParameterTypeRequiredDescription
category_idstringyesCategory UUID
postsstringnouncategorize (default) | reassign
tostringnoTarget category UUID when posts=reassign

escalateflow_blog_update_settings

Update blog settings (auto-enables blog)

ParameterTypeRequiredDescription
blog_titlestringnoBlog title
blog_descriptionstringnoBlog description
posts_per_pageintegernoPosts per page
show_authorbooleannoShow author on posts
show_datebooleannoShow date on posts
show_reading_timebooleannoShow reading time
show_categoriesbooleannoShow categories
show_tagsbooleannoShow tags
show_featured_imagebooleannoShow featured image
paywall_titlestringnoPaywall box title (empty = default in the site's language)
paywall_textstringnoPaywall box text
paywall_button_textstringnoPaywall button label
paywall_button_urlstringnoPaywall button link (empty = tier checkout links / sign up)

escalateflow_blog_get_settings

Get current blog settings

escalateflow_blog_list_versions

List content version history for a blog post

ParameterTypeRequiredDescription
post_idstringyesBlog post ID

escalateflow_blog_restore_version

Restore a blog post to a previous version

ParameterTypeRequiredDescription
post_idstringyesBlog post ID
version_idstringyesVersion ID to restore

escalateflow_blog_diff_versions

Compare two versions of a blog post field-by-field

ParameterTypeRequiredDescription
post_idstringyesBlog post ID
version_astringyesFirst version ID
version_bstringyesSecond version ID

website

escalateflow_website_get

Get website details including settings, domain, and style config

escalateflow_website_update_settings

Update website settings (name, SEO, scripts, homepage type, etc.)

ParameterTypeRequiredDescription
namestringnoWebsite name
global_head_scriptsstringnoScripts injected into <head> of all pages
homepage_typestringnoHomepage type One of: page, blog, shop.
landing_prefixstringnoURL prefix for landing pages
default_meta_title_suffixstringnoAppended to every page <title> (e.g. ' | My Brand'), max 50
default_meta_descriptionstringnoFallback meta description for pages without their own, max 160
og_image_urlstringnoDefault Open Graph image URL (social shares)
logo_urlstringnoBrand logo URL
favicon_urlstringnoFavicon URL
default_languagestringnoDefault language code (e.g. 'es', 'en-GB'): <html lang> and og:locale
robots_txtstringnoCustom robots.txt content
sitemap_enabledbooleannoServe /sitemap.xml (default true)
footer_scriptsstringnoHTML/JS injected before </body> on all pages
meta_titlestringnoOld name of default_meta_title_suffix (kept working)
meta_descriptionstringnoOld name of default_meta_description (kept working)

escalateflow_website_update_style_kit

Older, smaller form of the theme: prefer escalateflow_theme_update (every theme key). Updates brand colors, fonts, button style

ParameterTypeRequiredDescription
primary_colorstringnoPrimary brand color (hex, e.g., #3B82F6)
secondary_colorstringnoSecondary color (hex)
accent_colorstringnoAccent color (hex)
text_colorstringnoBody text color (hex)
background_colorstringnoPage background color (hex)
heading_fontstringnoHeading font family
body_fontstringnoBody font family
border_radiusstringnoDefault border radius (e.g., '8px')
button_stylestringnoButton style One of: rounded, pill, square.

escalateflow_website_get_style_kit

Get the current website style kit configuration

escalateflow_website_set_consent

Cookie consent banner. mode 'required': third-party scripts (head / footer scripts, Tag Manager, GA4, pixels) are not loaded until the visitor accepts the banner; 'off': scripts load as usual. Without parameters it returns the current state. Mark a script that needs no consent with the attribute data-ef-necessary.

ParameterTypeRequiredDescription
modestringnooff | required One of: off, required.
policy_urlstringnoLink shown in the banner: a path of the website (/cookies/) or an http(s) URL. Default: the cookie policy of the legal pages

escalateflow_website_set_test_traffic

The website's own test traffic, never counted in its analytics, experiments or leads nor reported to ad platforms: IP addresses or networks, email patterns (* = anything, e.g. *@example.com, test+*@my-domain.com) and utm_source values. Each list given replaces the current one ([] empties it); without parameters it returns the current lists. Any browser can also turn on test mode by opening a page of the website with ?ef_notrack=1.

ParameterTypeRequiredDescription
ipsarraynoIP addresses or networks (203.0.113.7, 203.0.113.0/24)
emailsarraynoEmail patterns (*@example.com)
sourcesarraynoutm_source values (prueba)

escalateflow_website_set_tracking

Set tracking & site-verification integrations (GSC, Bing, GTM, GA4, FB/TikTok pixels). Pass the bare ID/token OR the full official tag/snippet — the value is extracted automatically. Rendered into <head> on every page at request time, so they survive AI regeneration and page edits. Pass an empty string to remove an integration. Omitted keys are untouched.

ParameterTypeRequiredDescription
google_site_verificationstringnoGoogle Search Console verification token (or full meta tag)
bing_site_verificationstringnoBing msvalidate.01 token (or full meta tag)
gtm_container_idstringnoGoogle Tag Manager container ID, e.g. GTM-XXXXXXX (or full snippet)
ga4_measurement_idstringnoGoogle Analytics 4 measurement ID, e.g. G-XXXXXXXXXX (or full snippet)
facebook_pixel_idstringnoFacebook/Meta Pixel ID (digits, or full snippet)
tiktok_pixel_idstringnoTikTok Pixel ID (or full snippet)

escalateflow_website_get_tracking

Get the current tracking & verification config (GSC, Bing, GTM, GA4, pixels)

escalateflow_website_get_chrome

Get site chrome (navbar, footer, global head HTML, global CSS)

escalateflow_website_set_chrome

Update site chrome (navbar, footer, global head HTML, global CSS)

ParameterTypeRequiredDescription
navbar_htmlstringnoNavbar HTML
footer_htmlstringnoFooter HTML
global_head_htmlstringnoGlobal head HTML (fonts, analytics)
global_cssstringnoGlobal CSS for all pages
header_enabledbooleannofalse = no site header on any page (a page with its own header); true = the navbar_html, or a default header with the site name when it is empty
footer_enabledbooleannofalse = no site footer on any page

experiment

escalateflow_experiment_create

Create an A/B/n test with 2–6 pages and integer weights totaling 100

ParameterTypeRequiredDescription
namestringyesExperiment name
control_page_idstringnoControl (A) landing page ID (legacy two-page input)
variant_page_idstringnoVariant (B) landing page ID (legacy two-page input)
descriptionstringnoExperiment description
variantsarraynoActive variants [{landing_id, weight, key?}], 2–6 pages, weights total 100. First page is control on creation. On update keep existing keys; omit removed variants (paused, historical visitors see control).
variant_weightintegernoTraffic % for variant (1-99) Default: 50.
goal_typestringnoPrimary goal type One of: form_submit, click, time_on_page, scroll_depth, custom_event, card_trial.
goal_namestringnoPrimary goal name
goal_configobjectnoGoal configuration (e.g., {"selector": "#cta"})

escalateflow_experiment_start

Start a draft experiment (begins serving variants)

ParameterTypeRequiredDescription
experiment_idstringyesExperiment ID to start

escalateflow_experiment_pause

Pause a running experiment

ParameterTypeRequiredDescription
experiment_idstringyesExperiment ID to pause

escalateflow_experiment_complete

End the experiment. With winner='variant' or 'control' the winning version is served to everyone on the original URL.

ParameterTypeRequiredDescription
experiment_idstringyesExperiment ID
winnerstringnoActive variant key to serve to everyone (omit to end without a winner)

escalateflow_experiment_get_results

Get experiment results including pageviews, conversions, and winner

ParameterTypeRequiredDescription
experiment_idstringyesExperiment ID

escalateflow_experiment_update

Update an experiment. While running, only variants can change; existing visitor assignments stay stable.

ParameterTypeRequiredDescription
experiment_idstringyesExperiment ID
namestringnoNew name
descriptionstringnoNew description
variantsarraynoActive variants [{landing_id, weight, key?}], 2–6 pages, weights total 100. First page is control on creation. On update keep existing keys; omit removed variants (paused, historical visitors see control).
variant_weightintegernoTraffic % for variant (1-99)

escalateflow_experiment_delete

Delete an experiment (must be paused or draft)

ParameterTypeRequiredDescription
experiment_idstringyesExperiment ID to delete

escalateflow_experiment_list

List experiments for the website

ParameterTypeRequiredDescription
statusstringnoFilter by status One of: draft, running, paused, completed, all.

media

escalateflow_media_upload

Upload an image or file. Provide base64 data or a URL to fetch. Returns CDN URL and media ID.

ParameterTypeRequiredDescription
image_datastringnoBase64 encoded file content (with or without data URI prefix)
image_urlstringnoURL to fetch and upload (alternative to base64)
filenamestringnoOriginal filename with extension Default: upload.png.
titlestringnoDisplay title
alt_textstringnoAlt text for accessibility and SEO
folderstringnoFolder path, e.g. 'images/team' Default: media.
tagsarraynoTags for organization

escalateflow_media_list

List all media files in a project. Supports search, filtering by type/folder/tag, and pagination.

ParameterTypeRequiredDescription
searchstringnoSearch title, filename, alt_text
mime_typestringnoFilter: 'image/*', 'application/pdf', etc.
folderstringnoFilter by folder
tagstringnoFilter by tag
pageintegernoPage number Default: 1.
page_sizeintegernoItems per page Default: 50.

escalateflow_media_update

Update media file metadata (title, alt_text, description, tags, folder).

ParameterTypeRequiredDescription
media_idstringyesMedia file ID
titlestringnoNew display title
alt_textstringnoNew alt text
descriptionstringnoNew description
tagsarraynoNew tags
folderstringnoNew folder path

escalateflow_media_delete

Delete a media file from the library and CDN.

ParameterTypeRequiredDescription
media_idstringyesMedia file ID to delete

video

escalateflow_video_upload

Upload a video from a public URL. It is transcoded to HLS; poll 'get' until status is 'ready', then embed it with a video block.

ParameterTypeRequiredDescription
urlstringyesPublic http(s) URL of the video (mp4/mov/webm)
privatebooleannotrue for a paid course lesson: stored privately, never has a public URL Default: False.

escalateflow_video_get

Get a video's status and URLs

ParameterTypeRequiredDescription
video_idstringyesVideo ID

escalateflow_video_list

List the project's videos

escalateflow_video_delete

Delete a video and its files

ParameterTypeRequiredDescription
video_idstringyesVideo ID

content

escalateflow_content_create_type

Create a custom content type. Define fields with types and validations. Examples: Testimonials, Team Members, Events, FAQs.

ParameterTypeRequiredDescription
namestringyesDisplay name, e.g. 'Testimonials'
slugstringnoURL-safe identifier, e.g. 'testimonials' (auto-generated from name if omitted)
descriptionstringnoDescription of this content type
title_fieldstringnoWhich field to use as display title
fieldsarrayyesField definitions. Each: {name, type, label, required, validations}

escalateflow_content_list_types

List all custom content types in a project.

escalateflow_content_update_type

Update a content type's name, description, fields, or settings.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type to update
namestringnoNew display name
descriptionstringnoNew description
fieldsarraynoUpdated field definitions
title_fieldstringnoNew title field
is_activebooleannoActive status

escalateflow_content_delete_type

Delete a content type and all its entries.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type to delete

escalateflow_content_create_entry

Create a new entry for a content type. Pass field values matching the schema.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type, e.g. 'testimonials'
dataobjectyesField values matching the content type schema
statusstringnoEntry status One of: draft, published, archived. Default: published.
sort_orderintegernoSort order (lower = first) Default: 0.
localestringnoLocale code, e.g. 'en' Default: en.
slugstringnoURL slug (auto-generated from title if omitted)
created_bystringnoWho created this entry

escalateflow_content_list_entries

List entries for a content type. Supports rich filtering (operators: gte, lte, gt, lt, in, contains, isnull), search, sorting by any field, reference resolution, and sparse fieldsets.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type
statusstringnoFilter by status One of: draft, published, archived.
searchstringnoSearch across text fields
sortstringnoSort by any field (prefix - for descending). Supports JSONB fields: -precio, nombre
filterobjectnoJSONB filters: {"precio__gte": 50000, "tipo__in": "loft,studio", "destacada": true}
includestringnoComma-separated reference fields to resolve (e.g. 'zona,desarrolladora')
fieldsstringnoComma-separated field names to return (sparse fieldset)
localestringnoFilter by locale
pageintegernoPage number Default: 1.
page_sizeintegernoItems per page Default: 50.

escalateflow_content_update_entry

Update an entry's data or status. Data fields are merged (not replaced).

ParameterTypeRequiredDescription
content_typestringyesSlug of content type
entry_idstringyesEntry ID to update
dataobjectnoFields to update (merged with existing)
statusstringnoNew status One of: draft, published, archived.
sort_orderintegernoNew sort order

escalateflow_content_delete_entry

Delete an entry.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type
entry_idstringyesEntry ID to delete

escalateflow_content_create_template

Create a render template for a content type. Templates use {{field}}, {%if%}, {%each%} syntax with safe filters.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type
namestringyesTemplate name (e.g. 'card', 'detail')
slugstringnoTemplate slug (auto-generated from name if omitted)
htmlstringyesTemplate HTML with {{field}}, {%if%}, {%each%} syntax
cssstringnoOptional scoped CSS
is_defaultbooleannoUse as default template Default: False.

escalateflow_content_preview_template

Preview a template rendered with sample data or a specific entry.

ParameterTypeRequiredDescription
content_typestringyesSlug of content type
templatestringyesTemplate slug
entry_idstringnoEntry ID to render (or use 'data' for inline)
dataobjectnoInline data to render with

locale

escalateflow_locale_add_locale

Add a language/locale to a project. Enables multi-language content.

ParameterTypeRequiredDescription
codestringyesLocale code: en, fr, nl, es, de, pt-BR, etc.
namestringnoDisplay name: English, Francais, etc.
is_defaultbooleannoSet as default locale
fallbackstringnoFallback locale code if content is missing
url_prefixstringnoURL prefix for this locale (e.g. 'fr')
domainstringnoOptional: serve this locale on a specific domain

escalateflow_locale_list_locales

List all configured locales for a project.

escalateflow_locale_set_default

Set a locale as the default for a project.

ParameterTypeRequiredDescription
codestringyesLocale code to set as default

escalateflow_locale_delete_locale

Remove a locale from a project.

ParameterTypeRequiredDescription
codestringyesLocale code to delete

escalateflow_locale_translate_page

Create a translation of an existing page. Copies content to new locale for translation.

ParameterTypeRequiredDescription
page_idstringyesID of the page to translate
target_localestringyesLocale code to translate into

escalateflow_locale_translate_post

Create a translation of a blog post.

ParameterTypeRequiredDescription
post_idstringyesID of the blog post to translate
target_localestringyesLocale code to translate into

escalateflow_locale_translate_product

Create a translation of a product.

ParameterTypeRequiredDescription
product_idstringyesID of the product to translate
target_localestringyesLocale code to translate into

email

escalateflow_email_smtp_connect

Connect an SMTP server for sending emails

ParameterTypeRequiredDescription
namestringyesConnection name (e.g., 'Gmail')
hoststringyesSMTP host (e.g., smtp.gmail.com)
portintegernoSMTP port (587 for TLS, 465 for SSL) Default: 587.
usernamestringyesSMTP username
passwordstringyesSMTP password or app password
from_emailstringyesSender email address
from_namestringnoSender display name

escalateflow_email_smtp_test

Test an SMTP connection by sending a test email

ParameterTypeRequiredDescription
smtp_idstringyesSMTP connection ID
tostringnoSend test email to this address

escalateflow_email_template_create

Create an email template with {{variable}} placeholders

ParameterTypeRequiredDescription
namestringyesTemplate name (e.g., 'Welcome Email')
subjectstringyesSubject line with {{field}} variables
body_htmlstringyesHTML body with {{field}} variables

escalateflow_email_template_preview

Preview a template rendered with sample data

ParameterTypeRequiredDescription
template_idstringyesTemplate ID
dataobjectyesSample data to render with

escalateflow_email_smtp_list

List all SMTP connections for this website

escalateflow_email_template_list

List all email templates for this website

escalateflow_email_template_update

Update an existing email template

ParameterTypeRequiredDescription
template_idstringyesTemplate ID to update
namestringnoNew template name
subjectstringnoNew subject line
body_htmlstringnoNew HTML body
is_activebooleannoActive status

escalateflow_email_rule_create

Create an email rule: when form submitted + conditions match → send template

ParameterTypeRequiredDescription
form_idstringyesForm ID to attach rule to
template_idstringyesEmail template ID to send
smtp_idstringyesSMTP connection ID to send through
to_fieldstringnoForm field containing recipient email Default: email.
to_fixedstringnoFixed recipient address (alternative to to_field)
conditionsarraynoConditions: [{field, operator, value}]. Empty = always fire.
delay_secondsintegerno0=immediate, 86400=1 day later Default: 0.
track_opensbooleannoEnable open tracking (opt-in) Default: False.
track_clicksbooleannoEnable click tracking (opt-in) Default: False.
followup_ifstringnoFollow-up condition: not_opened | not_clicked | empty
followup_delay_secondsintegernoSeconds before follow-up check Default: 86400.
followup_maxintegernoMax follow-up attempts Default: 3.

escalateflow_email_rule_list

List all email rules for a form

ParameterTypeRequiredDescription
form_idstringyesForm ID

analytics

escalateflow_analytics_summary

STANDARD analytics of the website (the dashboard's numbers): visitors, page views, leads, conversion (vs the previous period), per-day series, pages that work best (views + leads), sources, UTM campaigns, devices, countries, and for shops orders, revenue and best-selling products. Bots never count; a visitor is a distinct daily visitor id. Filters (path, utm_*) limit every number to those pages and that traffic. Leads are split into leads_confirmed and leads_pending (double opt-in), with confirmation_rate; ads = per utm_content

ParameterTypeRequiredDescription
daysintegernoLast N days (1-365). Same as period=Nd Default: 30.
periodstringnoLast N days as 'Nd' (e.g. 7d). Same as days=N
date_fromstringnoStart date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period
date_tostringnoEnd date YYYY-MM-DD (inclusive) or ISO datetime; default now
pathstringnoOnly these pages: one path (/my-landing/) or several separated by commas
utm_sourcestringnoOnly this UTM source (e.g. meta); case-insensitive
utm_mediumstringnoOnly this UTM medium
utm_campaignstringnoOnly this campaign (utm_campaign)
utm_contentstringnoOnly this ad (utm_content; for Meta ads, the ad name)
include_testbooleannoAlso count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False.

escalateflow_analytics_landings

Ad landings: one row per page (the pages in path, else the most visited) with views, visitors, leads confirmed and pending, conversion, confirmation rate and a daily series, for the traffic of the filters (e.g. path=/my-landing/ and utm_source=meta)

ParameterTypeRequiredDescription
daysintegernoLast N days (1-365). Same as period=Nd Default: 30.
periodstringnoLast N days as 'Nd' (e.g. 7d). Same as days=N
date_fromstringnoStart date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period
date_tostringnoEnd date YYYY-MM-DD (inclusive) or ISO datetime; default now
pathstringnoOnly these pages: one path (/my-landing/) or several separated by commas
utm_sourcestringnoOnly this UTM source (e.g. meta); case-insensitive
utm_mediumstringnoOnly this UTM medium
utm_campaignstringnoOnly this campaign (utm_campaign)
utm_contentstringnoOnly this ad (utm_content; for Meta ads, the ad name)
include_testbooleannoAlso count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False.

escalateflow_analytics_conversions

The leads behind summary.totals.leads (bots excluded), newest first, with their page, UTM and status: pending (double opt-in not confirmed yet), confirmed, or direct (a form without double opt-in)

ParameterTypeRequiredDescription
daysintegernoLast N days (1-365). Same as period=Nd Default: 30.
periodstringnoLast N days as 'Nd' (e.g. 7d). Same as days=N
date_fromstringnoStart date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period
date_tostringnoEnd date YYYY-MM-DD (inclusive) or ISO datetime; default now
pathstringnoOnly these pages: one path (/my-landing/) or several separated by commas
utm_sourcestringnoOnly this UTM source (e.g. meta); case-insensitive
utm_mediumstringnoOnly this UTM medium
utm_campaignstringnoOnly this campaign (utm_campaign)
utm_contentstringnoOnly this ad (utm_content; for Meta ads, the ad name)
include_testbooleannoAlso count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False.
statusstringnoOnly pending, confirmed or direct leads
limitintegernoMax results (max 500) Default: 100.

escalateflow_analytics_overview

DEPRECATED (removed 2026-12-14): use escalateflow_analytics_summary (same numbers). Totals under the old names: total_pageviews, unique_visitors, total_conversions, conversion_rate, top_sources

ParameterTypeRequiredDescription
daysintegernoLast N days (1-365). Same as period=Nd Default: 30.
periodstringnoLast N days as 'Nd' (e.g. 7d). Same as days=N
date_fromstringnoStart date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period
date_tostringnoEnd date YYYY-MM-DD (inclusive) or ISO datetime; default now

escalateflow_analytics_top_pages

DEPRECATED (removed 2026-12-14): use escalateflow_analytics_summary (same numbers). Pages ranked by views (summary.top_pages)

ParameterTypeRequiredDescription
daysintegernoLast N days (1-365). Same as period=Nd Default: 30.
periodstringnoLast N days as 'Nd' (e.g. 7d). Same as days=N
date_fromstringnoStart date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period
date_tostringnoEnd date YYYY-MM-DD (inclusive) or ISO datetime; default now

escalateflow_analytics_pageviews

The individual page views behind summary (bots excluded), newest first

ParameterTypeRequiredDescription
daysintegernoLast N days (1-365). Same as period=Nd Default: 30.
periodstringnoLast N days as 'Nd' (e.g. 7d). Same as days=N
date_fromstringnoStart date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period
date_tostringnoEnd date YYYY-MM-DD (inclusive) or ISO datetime; default now
pathstringnoOnly these pages: one path (/my-landing/) or several separated by commas
utm_sourcestringnoOnly this UTM source (e.g. meta); case-insensitive
utm_mediumstringnoOnly this UTM medium
utm_campaignstringnoOnly this campaign (utm_campaign)
utm_contentstringnoOnly this ad (utm_content; for Meta ads, the ad name)
include_testbooleannoAlso count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False.
limitintegernoMax results (max 500) Default: 100.

goal

escalateflow_goal_create

Create a conversion goal to track events (form submissions, page visits, clicks, etc.)

ParameterTypeRequiredDescription
namestringyesGoal name (e.g., 'Thank You Page Visit')
trigger_typestringyesWhat triggers the goal One of: form_submit, page_view, click, time_on_page, scroll_depth, custom, subscription.trial_started, subscription.converted.
trigger_configobjectnoTrigger configuration (e.g., {path: '/thank-you/'} for page_view, {form_id: 'uuid'} for form_submit, {selector: '.cta-btn'} for click)
event_typestringnoStandard event type One of: lead, purchase, signup, contact, subscribe, add_to_cart, initiate_checkout, complete_registration. Default: lead.
default_valuenumbernoMonetary value per conversion Default: 0.
currencystringnoCurrency code Default: USD.

escalateflow_goal_list

List all conversion goals for this website

escalateflow_goal_stats

Get conversion stats for a specific goal: triggers, visitors, by day/page/source

ParameterTypeRequiredDescription
goal_idstringyesConversion goal ID
periodstringnoTime period: 7d, 30d, 90d Default: 30d.

escalateflow_goal_list_connections

List the account's ad platform connections (pixels / conversions APIs) and the websites each one serves. Secrets are never returned.

escalateflow_goal_set_connection_websites

Choose the websites an ad platform connection serves: only events of those websites (forms, goals, shop) are sent to it. Pass website_ids, or all_websites=true for every website of the account.

ParameterTypeRequiredDescription
connection_idstringyesAd platform connection id (see list_connections)
website_idsarraynoIds of the account's websites the connection serves
all_websitesbooleannotrue = every website of the account

submission

escalateflow_submission_list

List form submissions for the project. Excludes archived/spam by default.

ParameterTypeRequiredDescription
form_idstringnoFilter by form ID
statusstringnoFilter by status ('all' = every status) One of: submitted, read, archived, spam, all.
is_botbooleannotrue = only anti-spam-flagged, false = only humans (default: humans)
include_testbooleannotrue = also the test sign-ups (test mode ?ef_notrack=1, the website's test IPs / emails / sources); default: left out
emailstringnoOnly submissions with this email
utm_sourcestringnoOnly this UTM source
limitintegernoMax results Default: 50.

escalateflow_submission_update

Update a submission's status (read, archived, spam, submitted).

ParameterTypeRequiredDescription
submission_idstringyesSubmission UUID
statusstringyesNew status One of: submitted, read, archived, spam.

escalateflow_submission_delete

Delete a single form submission permanently.

ParameterTypeRequiredDescription
submission_idstringyesSubmission UUID to delete

escalateflow_submission_bulk_delete

Delete multiple submissions at once. Max 100 per call.

ParameterTypeRequiredDescription
submission_idsarrayyesArray of submission UUIDs (max 100)

webhook

escalateflow_webhook_create

Create a webhook that fires on site events

ParameterTypeRequiredDescription
namestringyesWebhook name
urlstringyesEndpoint URL to POST to
eventsarrayyesEvents to trigger on: form_submission, page_view, conversion, all
secretstringnoShared secret for HMAC signature verification
headersobjectnoCustom headers to include
landing_idstringnoScope to a specific page (optional)

escalateflow_webhook_list

List all webhooks for this website

escalateflow_webhook_delete

Delete a webhook

ParameterTypeRequiredDescription
webhook_idstringyesWebhook ID to delete

escalateflow_webhook_test

Send a test payload to verify the webhook endpoint works

ParameterTypeRequiredDescription
webhook_idstringyesWebhook ID to test

domain

escalateflow_domain_add

Add a custom domain to the website. Auto-registers with Cloudflare and adds www companion.

ParameterTypeRequiredDescription
domainstringyesDomain name (e.g., example.com)

escalateflow_domain_list

List all custom domains for this website with their verification status

escalateflow_domain_verify

Check SSL/DNS status for a domain. Call after pointing DNS to verify everything works.

ParameterTypeRequiredDescription
domain_idstringyesDomain ID to verify

redirect

escalateflow_redirect_create

Create a URL redirect (301 permanent or 302 temporary)

ParameterTypeRequiredDescription
source_pathstringyesSource path (e.g., /old-page/)
destinationstringyesDestination URL or path (e.g., /new-page/ or https://...)
redirect_typestringno301 (permanent) or 302 (temporary) One of: 301, 302. Default: 301.

escalateflow_redirect_list

List the redirects of this website (filters optional)

ParameterTypeRequiredDescription
qstringnoText in the source or the destination
usedstringnoyes = redirected a visit at least once, no = never One of: yes, no.
orderstringnoOrder One of: -created, -hits, -last_hit, source.

escalateflow_redirect_bulk_import

Create or update up to 10,000 redirects at once (migrating a website). Give `redirects` (a list of {source_path, destination, redirect_type?, match_type?}) or `csv` (lines 'source,destination[,301|302[,exact|prefix|wildcard|regex]]'). Rows with an invalid destination, a duplicate source, a loop, or beyond the plan limit are refused; chains (A->B->C) are reported and, with flatten_chains, sent straight to C. Run with dry_run=true first to see the report.

ParameterTypeRequiredDescription
redirectsarraynoList of {source_path, destination, redirect_type, match_type}
csvstringnoCSV text: source,destination[,type[,match]] per line
dry_runbooleannoOnly report, write nothing Default: False.
flatten_chainsbooleannoSend chains straight to their final destination Default: False.

escalateflow_redirect_export

Every redirect of this website as CSV (source, destination, type, match, active, visits, last visit)

escalateflow_redirect_not_found

The most requested addresses of this website that answer 404 (people, not bots, last 90 days), each with a suggested page: create redirects for them with create or bulk_import

ParameterTypeRequiredDescription
limitintegernoHow many (1-500) Default: 50.

audit

escalateflow_audit_history

Latest changes, newest first: table, object id, operation, changed fields with their value before and after, and who made it (user / api / mcp + tool / visitor / system)

ParameterTypeRequiredDescription
tablestringnoOnly this table, e.g. shop_product, websites_websitepage
record_idstringnoOnly this object id
limitintegernoHow many (default 20, at most 200) Default: 20.

escalateflow_audit_revert

Undo one change by its history id: an update gets the fields' previous values back, a deleted object is restored. The undo itself is recorded too.

ParameterTypeRequiredDescription
change_idintegeryesid from audit history

site_users

escalateflow_site_users_list_users

List site users for the website

ParameterTypeRequiredDescription
rolestringnoFilter by role One of: subscriber, customer, contributor, editor, admin.
searchstringnoSearch by email or name
is_activebooleannoFilter by active status
limitintegernoMax results Default: 50.

escalateflow_site_users_get_user

Get user details by ID or email

ParameterTypeRequiredDescription
user_idstringnoUser UUID
emailstringnoUser email

escalateflow_site_users_create_user

Create a new site user account

ParameterTypeRequiredDescription
emailstringyesUser email
passwordstringyesUser password
first_namestringnoFirst name
last_namestringnoLast name
display_namestringnoDisplay name
rolestringnoUser role One of: subscriber, customer, contributor, editor, admin. Default: subscriber.

escalateflow_site_users_update_user

Update a user's profile or role

ParameterTypeRequiredDescription
user_idstringyesUser UUID
first_namestringnoFirst name
last_namestringnoLast name
display_namestringnoDisplay name
rolestringnoUser role One of: subscriber, customer, contributor, editor, admin.
is_activebooleannoActive status

escalateflow_site_users_delete_user

Delete a site user account

ParameterTypeRequiredDescription
user_idstringyesUser UUID

escalateflow_site_users_export_user_data

Everything the website keeps about one customer (profile, addresses, orders, access, memberships, form submissions): the data-access / portability export

ParameterTypeRequiredDescription
user_idstringyesUser UUID

escalateflow_site_users_ban_user

Ban or unban a site user

ParameterTypeRequiredDescription
user_idstringyesUser UUID
banbooleanyesTrue to ban, False to unban
reasonstringnoBan reason

escalateflow_site_users_get_auth_settings

Get website authentication settings

escalateflow_site_users_update_auth_settings

Update website authentication settings

ParameterTypeRequiredDescription
is_enabledbooleannoEnable frontend user accounts
is_registration_enabledbooleannoAllow registration
is_login_enabledbooleannoAllow login
require_email_verificationbooleannoRequire email verification
min_password_lengthintegernoMinimum password length (6-128)
require_strong_passwordbooleannoRequire letters, numbers and symbols
default_rolestringnoRole given at public sign-up One of: subscriber, customer.
session_duration_daysintegernoSession duration in days (1-365)
max_login_attemptsintegernoFailed logins before lockout (1-100)
lockout_duration_minutesintegernoLockout duration in minutes (1-1440)
allowed_email_domainsarraynoOnly these email domains can register, e.g. ["example.com"]
blocked_email_domainsarraynoThese email domains cannot register
login_redirect_urlstringnoWhere to go after login: relative path or http(s) URL
logout_redirect_urlstringnoWhere to go after logout: relative path or http(s) URL
registration_redirect_urlstringnoWhere to go after sign-up: relative path or http(s) URL
privacy_policy_urlstringnoPrivacy policy http(s) URL
terms_urlstringnoTerms of service http(s) URL
require_consentbooleannoRequire accepting the terms at sign-up
deleted_customer_ordersstringnoWhat happens to a customer's orders when the account is deleted: keep (default), contact (email and phone removed) or anonymize (name, email, phone and address removed) One of: keep, contact, anonymize.

escalateflow_site_users_get_user_stats

Get user registration statistics

escalateflow_site_users_create_group

Create a user group for content gating

ParameterTypeRequiredDescription
namestringyesGroup name (e.g., 'Premium Members')
slugstringnoGroup slug (auto-generated from name if omitted)
descriptionstringnoGroup description

escalateflow_site_users_list_groups

List user groups

escalateflow_site_users_add_to_group

Add a user to a group

ParameterTypeRequiredDescription
group_slugstringyesGroup slug
user_idstringyesUser UUID to add

escalateflow_site_users_protection_get

Whole-site protection: mode (off / password / login), rules and the paths left open

escalateflow_site_users_protection_set

Protect the whole website. mode 'password' = one shared password (gate page, 30-day cookie); 'login' = only signed-in site users meeting access_level (members, customers, paid, tiers...) + allowed_groups / allowed_tiers; 'off' = public. open_paths stay public ("/" = homepage only, "/blog/*" = prefix); /account/* is always open. For one page use the page's access_level 'password' + password instead.

ParameterTypeRequiredDescription
modestringyesProtection mode One of: off, password, login.
passwordstringnoShared password (mode password, min 4 chars)
access_levelstringnoWho gets in with mode login One of: members, customers, contributors, editors, admins, paid, tiers.
allowed_groupsarraynoGroup slugs (any of them)
allowed_tiersarraynoMember tier slugs (access_level tiers)
open_pathsarraynoPaths left public
titlestringnoGate page title
textstringnoGate page text

escalateflow_site_users_remove_from_group

Remove a user from a group

ParameterTypeRequiredDescription
group_slugstringyesGroup slug
user_idstringyesUser UUID to remove

website_access

escalateflow_website_access_list

List people, roles, last access and pending invitations.

escalateflow_website_access_invite

Email an invitation. Reserves a plan seat; Client by default.

ParameterTypeRequiredDescription
emailstringyesRecipient email
rolestringnoClient is read-only; editor can edit content. One of: client, editor.

escalateflow_website_access_update

Change an existing collaborator role.

ParameterTypeRequiredDescription
access_idstringyesAccess UUID
rolestringyesNew role One of: client, editor.

escalateflow_website_access_revoke

Immediately revoke this website access, including open sessions.

ParameterTypeRequiredDescription
access_idstringyesAccess UUID

escalateflow_website_access_resend

Resend an invitation and invalidate its old link (60 second cooldown).

ParameterTypeRequiredDescription
invitation_idstringyesInvitation UUID

escalateflow_website_access_cancel

Invalidate a pending invitation.

ParameterTypeRequiredDescription
invitation_idstringyesInvitation UUID

members

escalateflow_members_tier_list

List the member tiers

escalateflow_members_tier_create

Create a member tier

ParameterTypeRequiredDescription
namestringnoTier name, e.g. Premium
slugstringnoURL-safe id used in allowed_tiers (default: from the name)
descriptionstringnoShown on the paywall
is_paidbooleannoPaid tier (counts for access_level 'paid')
monthly_pricenumbernoMonthly price
yearly_pricenumbernoYearly price
currencystringnoISO currency, e.g. eur
trial_daysintegernoFree trial days
benefitsarraynoBenefit strings shown on the paywall
checkout_urlstringnoExternal checkout link (Lemon Squeezy, Gumroad...) for the paywall button
external_idsobjectnoProvider ids that grant this tier: {"lemonsqueezy": ["<variant id>"], "gumroad": ["<product id>"], "paddle": ["<price id>"], "stripe": ["<price id>"]}
is_activebooleannoActive
sort_orderintegernoOrder on the paywall

escalateflow_members_tier_update

Update a member tier

ParameterTypeRequiredDescription
tierstringyesTier slug or id
namestringnoTier name, e.g. Premium
slugstringnoURL-safe id used in allowed_tiers (default: from the name)
descriptionstringnoShown on the paywall
is_paidbooleannoPaid tier (counts for access_level 'paid')
monthly_pricenumbernoMonthly price
yearly_pricenumbernoYearly price
currencystringnoISO currency, e.g. eur
trial_daysintegernoFree trial days
benefitsarraynoBenefit strings shown on the paywall
checkout_urlstringnoExternal checkout link (Lemon Squeezy, Gumroad...) for the paywall button
external_idsobjectnoProvider ids that grant this tier: {"lemonsqueezy": ["<variant id>"], "gumroad": ["<product id>"], "paddle": ["<price id>"], "stripe": ["<price id>"]}
is_activebooleannoActive
sort_orderintegernoOrder on the paywall

escalateflow_members_tier_delete

Delete a tier without subscriptions (else deactivate it)

ParameterTypeRequiredDescription
tierstringyesTier slug or id

escalateflow_members_subscription_list

List member subscriptions

ParameterTypeRequiredDescription
emailstringnoMember email
tierstringnoTier slug
statusstringnoStatus One of: active, trialing, past_due, paused, cancelled, expired.
active_onlybooleannoOnly subscriptions that grant access now
limitintegernoMax results Default: 50.

escalateflow_members_grant

Give a member (by email, created if needed) a tier, by hand or complimentary

ParameterTypeRequiredDescription
emailstringyesMember email
tierstringyesTier slug or id
sourcestringnomanual or comp One of: manual, comp.
current_period_endstringnoAccess ends (ISO date), empty = no end
namestringnoMember name (new members)
notestringnoInternal note

escalateflow_members_revoke

End a member's access (subscription id, or email + tier)

ParameterTypeRequiredDescription
subscription_idstringnoSubscription id
emailstringnoMember email
tierstringnoTier slug

escalateflow_members_hook_list

List the incoming payment webhooks

escalateflow_members_hook_create

Create the webhook URL to paste in Lemon Squeezy / Gumroad / Paddle / Stripe (returns the URL and the signing secret)

ParameterTypeRequiredDescription
providerstringyesProvider One of: lemonsqueezy, gumroad, paddle, stripe, generic.
default_tierstringnoTier granted when no tier lists the product id
signing_secretstringnoThe provider's signing secret (Paddle / Stripe give you one; default: generated)

escalateflow_members_hook_update

Update a webhook

ParameterTypeRequiredDescription
hook_idstringyesHook id
default_tierstringnoTier slug (empty = none)
signing_secretstringnoNew signing secret
is_activebooleannoActive

escalateflow_members_hook_delete

Delete a webhook

ParameterTypeRequiredDescription
hook_idstringyesHook id

escalateflow_members_newsletter_send

Send a published blog post by email to members (whole post to those with access, teaser + link to the rest)

ParameterTypeRequiredDescription
post_idstringyesBlog post id
audiencestringnoWho gets it One of: all, free, paid, tiers.
tiersarraynoTier slugs for audience 'tiers'
subjectstringnoEmail subject (default: the post title)
send_atstringnoISO date to schedule it (default: now)

escalateflow_members_newsletter_list

Newsletter sends with sent / failed / opened counts

ParameterTypeRequiredDescription
limitintegernoMax results Default: 20.

escalateflow_members_newsletter_count

How many members an audience has

ParameterTypeRequiredDescription
audiencestringnoAudience One of: all, free, paid, tiers.
tiersarraynoTier slugs for audience 'tiers'

escalateflow_members_newsletter_test

Send one test email of a post to an address

ParameterTypeRequiredDescription
post_idstringyesBlog post id
emailstringyesAddress
full_accessbooleannoWhole post (true) or the teaser a free member gets

escalateflow_members_newsletter_cancel

Cancel a send that hasn't finished

ParameterTypeRequiredDescription
newsletter_idstringyesSend id

escalateflow_members_import_members

Import members from CSV text (email required; name, tier, expires, newsletter, note optional); dry_run validates only

ParameterTypeRequiredDescription
csvstringyesCSV text with a header row
dry_runbooleannoValidate without writing
sourcestringnoTier grants as comp or manual One of: comp, manual.

escalateflow_members_portal_status

Is the member Portal (floating Subscribe button + dialog) on

escalateflow_members_portal_enable

Turn on (or update) the member Portal on every page: a floating Subscribe button and a signup dialog; links to #portal open it too. Needs site user accounts on (site_users update_auth_settings is_enabled=true), or it is refused

ParameterTypeRequiredDescription
textstringnoButton text (default: Subscribe in the site's language)
colorstringnoHex colour, e.g. #e11d48
buttonbooleannoShow the floating button (false = only #portal links)

escalateflow_members_portal_disable

Turn the member Portal off

escalateflow_members_hook_events

Deliveries a webhook received (applied / ignored / error)

ParameterTypeRequiredDescription
hook_idstringyesHook id
limitintegernoMax results Default: 20.

grants

escalateflow_grants_list

List access grants

ParameterTypeRequiredDescription
emailstringnoOnly this person
resource_typestringnoOnly this kind of resource
resource_idstringnoOnly this resource
statusstringnoStatus One of: active, pending, revoked.
limitintegernoMax results Default: 50.

escalateflow_grants_create

Give a person access to a resource by hand (no purchase)

ParameterTypeRequiredDescription
emailstringyesTheir email
resource_typestringyesWhat the access is to One of: page, post, course, file, video, tier.
resource_idstringyesId of the page / post / ...
duration_daysintegernoDays of access (omit = no end)
notestringnoWhy (kept with the grant)
send_login_linkbooleannoEmail them a sign-in link Default: True.

escalateflow_grants_revoke

Revoke a grant

ParameterTypeRequiredDescription
grant_idstringyesGrant id
reasonstringnoWhy

escalateflow_grants_product_set_access

Set what buying a product unlocks ([] removes it)

ParameterTypeRequiredDescription
product_idstringyesProduct id
grantsarrayyesList of {"resource_type", "resource_id", "duration_days"}

downloads

escalateflow_downloads_list

Files of a product and its download limits

ParameterTypeRequiredDescription
product_idstringyesProduct id

escalateflow_downloads_upload_url

Start an upload of any size: returns a URL to PUT the bytes to (with the given Content-Type header); then call complete

ParameterTypeRequiredDescription
product_idstringyesProduct id
filenamestringyesFile name, e.g. guide.pdf
sizeintegernoSize in bytes (checked against the plan)

escalateflow_downloads_complete

Finish an upload started with upload_url

ParameterTypeRequiredDescription
product_idstringyesProduct id
file_idstringyesFile id

escalateflow_downloads_upload

Upload a small file (up to 5 MB) in one call

ParameterTypeRequiredDescription
product_idstringyesProduct id
filenamestringyesFile name
content_base64stringnoThe bytes, base64
textstringnoOr the content as plain text

escalateflow_downloads_delete

Delete a file (buyers lose it too)

ParameterTypeRequiredDescription
product_idstringyesProduct id
file_idstringyesFile id

escalateflow_downloads_set_limits

Per purchase: downloads allowed per file and days of access (null = no limit). Applies to purchases made from now on

ParameterTypeRequiredDescription
product_idstringyesProduct id
download_limitintegernoDownloads per file per purchase
download_daysintegernoDays the purchase can download

codes

escalateflow_codes_add

Add codes (duplicates are dropped)

ParameterTypeRequiredDescription
product_idstringyesProduct id
variant_idstringnoVariant id (required for a product with variants)
codesarrayyesThe codes

escalateflow_codes_list

Counts per pool and the codes, masked

ParameterTypeRequiredDescription
product_idstringyesProduct id
variant_idstringnoVariant id (required for a product with variants)
statusstringnoOnly this status One of: available, delivered, void, revoked.
limitintegernoMax codes (default 100, max 500)

escalateflow_codes_void

Void codes: available ones, or those of a refunded order

ParameterTypeRequiredDescription
product_idstringyesProduct id
idsarrayyesCode ids (from codes_list)
notestringnoWhy

escalateflow_codes_release

Put codes of a refunded / cancelled order back on sale (only when they were not used)

ParameterTypeRequiredDescription
product_idstringyesProduct id
idsarrayyesCode ids (from codes_list)

checkouts

escalateflow_checkouts_create

Start a checkout and get its quote

ParameterTypeRequiredDescription
linesarrayno[{product_id, variant_id?, quantity 1-999}] (1-50 lines)
customerobjectnocustomer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country
shipping_rate_idstringnoShipping rate or pickup id (required when the shop has zones)
coupon_codestringnoDiscount code
gift_card_codestringnoGift card code
payment_methodstringno'card' (Stripe) or 'transfer' (bank transfer)

escalateflow_checkouts_get

A checkout and its last quote

ParameterTypeRequiredDescription
checkout_idstringyesCheckout id

escalateflow_checkouts_update

Change lines, customer or choices; returns the new quote

ParameterTypeRequiredDescription
checkout_idstringyesCheckout id
linesarrayno[{product_id, variant_id?, quantity 1-999}] (1-50 lines)
customerobjectnocustomer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country
shipping_rate_idstringnoShipping rate or pickup id (required when the shop has zones)
coupon_codestringnoDiscount code
gift_card_codestringnoGift card code
payment_methodstringno'card' (Stripe) or 'transfer' (bank transfer)

escalateflow_checkouts_complete

Place the order (once). Card: returns a Stripe payment link; transfer: the shop's payment instructions

ParameterTypeRequiredDescription
checkout_idstringyesCheckout id
expected_totalstringnoTotal shown to the customer (optional)
success_urlstringnoCard: https URL after paying
cancel_urlstringnoCard: https URL if the customer cancels

courses

escalateflow_courses_list

List courses

escalateflow_courses_get

A course with its modules, lessons and the products that unlock it

ParameterTypeRequiredDescription
course_idstringyesCourse id

escalateflow_courses_create

Create a course (draft unless status is published)

ParameterTypeRequiredDescription
titlestringyesCourse title
slugstringnoURL slug: /courses/<slug>/
descriptionstringnoShort description shown on the syllabus
cover_urlstringnoCover image URL
statusstringnodraft (hidden) or published One of: draft, published.
product_idstringnoProduct whose purchase gives access to the course

escalateflow_courses_update

Update a course

ParameterTypeRequiredDescription
course_idstringyesCourse id
titlestringnoCourse title
slugstringnoURL slug: /courses/<slug>/
descriptionstringnoShort description shown on the syllabus
cover_urlstringnoCover image URL
statusstringnodraft (hidden) or published One of: draft, published.
product_idstringnoProduct whose purchase gives access to the course

escalateflow_courses_delete

Delete a course with its lessons and progress

ParameterTypeRequiredDescription
course_idstringyesCourse id

escalateflow_courses_module_create

Add a module (section) to a course

ParameterTypeRequiredDescription
course_idstringyesCourse id
titlestringyesModule title

escalateflow_courses_module_update

Rename a module

ParameterTypeRequiredDescription
course_idstringyesCourse id
module_idstringyesModule id
titlestringyesModule title

escalateflow_courses_module_delete

Delete a module (its lessons stay in the course)

ParameterTypeRequiredDescription
course_idstringyesCourse id
module_idstringyesModule id

escalateflow_courses_lesson_create

Add a lesson at the end of the course

ParameterTypeRequiredDescription
course_idstringyesCourse id
titlestringnoLesson title
slugstringnoURL slug (made from the title when omitted)
typestringnoKind of lesson One of: text, video, download.
content_htmlstringnoLesson body (HTML, sanitized)
video_idstringnoVideo id (videos tool) for a video lesson
file_idstringnoFile id (downloads tool) for a download lesson
module_idstringnoModule it belongs to (null = none)
is_previewbooleannoOpen to everybody without buying
duration_sintegernoLength in seconds

escalateflow_courses_lesson_update

Update a lesson

ParameterTypeRequiredDescription
course_idstringyesCourse id
lesson_idstringyesLesson id
titlestringnoLesson title
slugstringnoURL slug (made from the title when omitted)
typestringnoKind of lesson One of: text, video, download.
content_htmlstringnoLesson body (HTML, sanitized)
video_idstringnoVideo id (videos tool) for a video lesson
file_idstringnoFile id (downloads tool) for a download lesson
module_idstringnoModule it belongs to (null = none)
is_previewbooleannoOpen to everybody without buying
duration_sintegernoLength in seconds

escalateflow_courses_lesson_delete

Delete a lesson (students' progress on the others is kept)

ParameterTypeRequiredDescription
course_idstringyesCourse id
lesson_idstringyesLesson id

escalateflow_courses_reorder

Set the order: every module id and / or every lesson id of the course, in order

ParameterTypeRequiredDescription
course_idstringyesCourse id
modulesarraynoModule ids in order
lessonsarraynoLesson ids in order

escalateflow_courses_students

Who has access to the course and their progress (give or revoke access with the grants tool, resource_type course)

ParameterTypeRequiredDescription
course_idstringyesCourse id

stripe

escalateflow_stripe_connect

Connect Stripe to this project by providing API keys from dashboard.stripe.com/apikeys

ParameterTypeRequiredDescription
secret_keystringyesStripe Secret Key (sk_test_... or sk_live_...)
publishable_keystringnoStripe Publishable Key (pk_test_... or pk_live_...)
webhook_secretstringnoWebhook signing secret (whsec_...)
default_currencystringnoDefault currency (eur, usd, gbp) Default: eur.

escalateflow_stripe_status

Check Stripe connection status for this project

escalateflow_stripe_disconnect

Disconnect Stripe account from project

escalateflow_stripe_create_checkout

Create a Stripe Checkout Session for a product

ParameterTypeRequiredDescription
product_idstringyesProduct UUID
customer_emailstringnoCustomer email
currencystringnoCurrency code (eur, usd)
success_urlstringnoRedirect URL after payment
cancel_urlstringnoRedirect URL if cancelled

escalateflow_stripe_sync_product

Sync a product to the connected Stripe account (creates Product + Price)

ParameterTypeRequiredDescription
product_idstringyesProduct UUID

escalateflow_stripe_list_orders

DEPRECATED (removed 2026-12-14): use escalateflow_orders_list (same data). List orders for this project

ParameterTypeRequiredDescription
statusstringnoFilter by status One of: pending, paid, failed, shipped, delivered, refunded, cancelled.
payment_methodstringnoFilter by payment method (stripe = card, manual = bank transfer) One of: stripe, manual.
limitintegernoMax results Default: 20.

escalateflow_stripe_get_order

DEPRECATED (removed 2026-12-14): use escalateflow_orders_get (same data). Get order details

ParameterTypeRequiredDescription
order_idstringyesOrder UUID

escalateflow_stripe_refund_order

Refund an order via Stripe

ParameterTypeRequiredDescription
order_idstringyesOrder UUID
amountstringnoPartial refund amount (omit for full refund)

escalateflow_stripe_list_subscriptions

List subscriptions for this project

ParameterTypeRequiredDescription
statusstringnoFilter by status One of: trialing, active, past_due, paused, cancelled.

escalateflow_stripe_cancel_subscription

Cancel a subscription

ParameterTypeRequiredDescription
subscription_idstringyesSubscription UUID
at_period_endbooleannoCancel at end of billing period (default: true) Default: True.

health

escalateflow_health_overview

Get project health: page count, form submissions, blog status, products, Stripe, auth, domain

storefront

escalateflow_storefront_bootstrap

Create a ready-to-use e-commerce storefront with sensible defaults. Creates/replaces homepage, enables shop+blog+auth, optionally seeds demo products. Uses platform shortcodes so the resulting HTML is always safe. The shop (Beta) is part of the Scale plan: on a smaller plan this is refused with type 'plan_limit' and required_plan 'scale' — tell the user, do not build a shop another way.

ParameterTypeRequiredDescription
hero_headlinestringnoMain headline on the homepage hero Default: Welcome to our shop.
hero_subheadlinestringnoSupporting text below the hero headline Default: .
seed_demo_productsbooleannoInsert 5 demo products if the project has none Default: False.
enable_blogbooleannoEnable the blog app Default: True.
enable_authbooleannoEnable frontend user accounts (site_users) Default: True.

automations

escalateflow_automations_list

List automations for the website (optionally filter by trigger_type).

ParameterTypeRequiredDescription
trigger_typestringnoFilter by event type One of: order.paid, order.shipped, order.delivered, order.cancelled, order.refunded, cart.abandoned_1h, subscription.created, subscription.trial_started, subscription.trial_ending_3d, subscription.converted, subscription.renewed, subscription.payment_failed, subscription.cancelled, payment.succeeded, payment.failed, payment.refunded, payment.dispute_opened, payment.dispute_closed, user.registered, page.published.

escalateflow_automations_health

Form actions and automations of the website that are misconfigured or whose last real run failed (last 7 days): failure/success counts, last error and when.

escalateflow_automations_list_triggers

Return all supported trigger event types.

escalateflow_automations_get

Get a single automation by id.

ParameterTypeRequiredDescription
automation_idstringyesAutomation UUID

escalateflow_automations_create

Create an automation. config shape depends on action_type: email -> {smtp_id, template_id, to_type: 'field'|'fixed', to_field, to_fixed, cc, bcc} (an SMTP connection and an email template of the site are required, see the email tool; for a plain owner notification use the form's notification_emails instead), webhook -> {url, headers, secret, field_mapping}, http_request -> {url, method, headers, body, timeout, success_codes}. Saving an email action without smtp_id/template_id is rejected.

ParameterTypeRequiredDescription
trigger_typestringyesEvent that fires the automation One of: order.paid, order.shipped, order.delivered, order.cancelled, order.refunded, cart.abandoned_1h, subscription.created, subscription.trial_started, subscription.trial_ending_3d, subscription.converted, subscription.renewed, subscription.payment_failed, subscription.cancelled, payment.succeeded, payment.failed, payment.refunded, payment.dispute_opened, payment.dispute_closed, user.registered, page.published.
action_typestringyesHandler One of: email, webhook, http_request.
namestringnoHuman-friendly name
configobjectyesHandler config (see description)
conditionsarraynoOptional condition rules
delay_secondsintegernoDelay execution (seconds) Default: 0.
is_activebooleannoActive Default: True.
timeout_secondsintegernoTimeout per attempt Default: 10.
max_retriesintegernoMax retries on failure Default: 3.

escalateflow_automations_update

Update an automation.

ParameterTypeRequiredDescription
automation_idstringyesAutomation UUID
trigger_typestringnoEvent One of: order.paid, order.shipped, order.delivered, order.cancelled, order.refunded, cart.abandoned_1h, subscription.created, subscription.trial_started, subscription.trial_ending_3d, subscription.converted, subscription.renewed, subscription.payment_failed, subscription.cancelled, payment.succeeded, payment.failed, payment.refunded, payment.dispute_opened, payment.dispute_closed, user.registered, page.published.
namestringnoName
configobjectnoHandler config
conditionsarraynoCondition rules
delay_secondsintegernoDelay (seconds)
is_activebooleannoActive

escalateflow_automations_delete

Delete an automation. System automations cannot be deleted; disable them instead.

ParameterTypeRequiredDescription
automation_idstringyesAutomation UUID

escalateflow_automations_test

Run the automation immediately with a sample context, without adding a background job.

ParameterTypeRequiredDescription
automation_idstringyesAutomation UUID
contextobjectnoSample payload (defaults to {email, name})

escalateflow_automations_logs

Recent execution logs for an automation.

ParameterTypeRequiredDescription
automation_idstringyesAutomation UUID
limitintegernoMax logs Default: 50.

theme

escalateflow_theme_get

Return current theme + resolved config (defaults merged) + applied_preset slug.

escalateflow_theme_list_presets

Return all built-in preset definitions with swatches.

escalateflow_theme_apply_preset

Overwrite Website.style_config with a named preset.

ParameterTypeRequiredDescription
presetstringyesPreset slug One of: bold, default, elegant-serif, minimal-light, modern-dark.
mergebooleannoIf true, deep-merge preset over existing config Default: False.

escalateflow_theme_update

Deep-merge partial config (e.g. `{colors: {primary: '#ff00ff'}}`) onto existing theme.

ParameterTypeRequiredDescription
configobjectyesPartial style_config to merge in

escalateflow_theme_replace

Replace Website.style_config wholesale with the supplied config (validated).

ParameterTypeRequiredDescription
configobjectyesFull style_config dict

escalateflow_theme_reset

Clear style_config so defaults apply.

sales

escalateflow_sales_overview

KPI summary: revenue, orders, AOV, refunds, unique customers, cart abandonment / recovery rates.

ParameterTypeRequiredDescription
periodstringnoTime window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d.

escalateflow_sales_revenue

Day-by-day revenue + order count series for the window. One row per calendar day, including zero-order days.

ParameterTypeRequiredDescription
periodstringnoTime window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d.

escalateflow_sales_top_products

Top N products by revenue in the window.

ParameterTypeRequiredDescription
periodstringnoTime window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d.
limitintegernoMax products to return (1-100) Default: 10.

escalateflow_sales_status_breakdown

Order count + total value grouped by status (pending/paid/shipped/delivered/refunded/cancelled/failed).

ParameterTypeRequiredDescription
periodstringnoTime window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d.

escalateflow_sales_recent_orders

N most recent orders (any status). Independent of date range.

ParameterTypeRequiredDescription
limitintegernoMax orders to return (1-100) Default: 10.

coupons

escalateflow_coupons_list

List the shop's discount codes with their usage

ParameterTypeRequiredDescription
active_onlybooleannoOnly active coupons Default: False.

escalateflow_coupons_create

Create a discount code for the checkout (case-insensitive, unique per website). The discount comes off the products subtotal before shipping and tax.

ParameterTypeRequiredDescription
codestringnoCode customers type, e.g. SUMMER10 (letters, numbers, - and _); not needed for automatic discounts
discount_typestringnopercent (value = % off, max 100), fixed (value = amount off) or free_shipping (no value) One of: percent, fixed, free_shipping.
is_automaticbooleannoAutomatic discount: applies without a code when its conditions hold (needs a title); the larger of code / best automatic applies, free shipping combines
titlestringnoName shown to customers (required for automatic discounts)
valuenumbernoPercent off or fixed amount off (in the shop currency)
is_activebooleannoWhether the code can be used
starts_atstringnoOptional ISO datetime from which the code is valid
ends_atstringnoOptional ISO datetime when the code expires
min_subtotalnumbernoOptional minimum products subtotal for the code to apply
max_usesintegernoOptional total number of orders that can use the code

escalateflow_coupons_update

Update a discount code (only the fields given change)

ParameterTypeRequiredDescription
coupon_idstringyesCoupon ID
codestringnoNew code
discount_typestringnopercent (value = % off, max 100), fixed (value = amount off) or free_shipping (no value) One of: percent, fixed, free_shipping.
is_automaticbooleannoAutomatic discount: applies without a code when its conditions hold (needs a title); the larger of code / best automatic applies, free shipping combines
titlestringnoName shown to customers (required for automatic discounts)
valuenumbernoPercent off or fixed amount off (in the shop currency)
is_activebooleannoWhether the code can be used
starts_atstringnoOptional ISO datetime from which the code is valid
ends_atstringnoOptional ISO datetime when the code expires
min_subtotalnumbernoOptional minimum products subtotal for the code to apply
max_usesintegernoOptional total number of orders that can use the code

escalateflow_coupons_delete

Delete a discount code (past orders keep the code and discount they used)

ParameterTypeRequiredDescription
coupon_idstringyesCoupon ID

storefront_theme

escalateflow_storefront_theme_presets

List the ready-made Storefront v2 looks (esencial: clean and light; tecnologia: electronics / gaming; boutique: fashion, serif; mercado: food / home, rounded)

escalateflow_storefront_theme_apply_preset

Apply a Storefront v2 look: colors, fonts, layout, product cards and header / footer style (logo, menu and texts kept). homepage=true also sets the homepage sections.

ParameterTypeRequiredDescription
presetstringyesesencial, tecnologia, boutique or mercado
homepagebooleannoAlso replace the homepage (index) layout

escalateflow_storefront_theme_get

Get the Storefront v2 section theme of the shop (Shopify-like theme rendered by the fast engine): stored values, the effective theme with defaults filled in and the available section types

escalateflow_storefront_theme_schema

Describe what a Storefront v2 theme can contain: section types (announcement, hero, featured_products, collection_list, main_collection, main_product, product_reviews, related_products, rich_text, image_with_text, testimonials, trust_badges, newsletter) with their settings, blocks and allowed templates; theme settings (colors, typography, layout, product_card, cart, homepage, header, footer); defaults and limits. Call this before building templates.

escalateflow_storefront_theme_update

Partially update the Storefront v2 theme. settings are merged per group, e.g. {"colors": {"accent": "#0f766e"}, "typography": {"heading_font": "Poppins"}} (null resets a key or group to the default); templates replace the given templates ({"shop": {"sections": [...]}}; null = back to the default template). Section = {type, id ([a-z0-9_-], unique), settings, blocks: [{type, settings}]}.

ParameterTypeRequiredDescription
settingsobjectnoTheme settings groups to merge: colors, typography, layout, product_card, cart, homepage, header ({source: auto|theme|site, logo_url, logo_text, menu: [{label, url}], show_search, show_account, sticky, layout}), footer ({source, columns: [{heading, links: [{label, url}]}], text, show_payment_icons, copyright})
templatesobjectnoTemplates to replace: shop, collection, product, search, index (the store homepage), each {"sections": [...]}

escalateflow_storefront_theme_set_template

Replace the sections of one Storefront v2 template (shop = main listing, collection = category page, product = product page, search = search results). shop/collection/search need a main_collection section, product a main_product section (its blocks order the info column: title, price, variant_picker, quantity, buy_buttons, description, features, specs, faq, trust, text).

ParameterTypeRequiredDescription
templatestringyesTemplate to replace One of: shop, collection, product, search, index.
sectionsarrayyesSections in display order: [{type, id, settings, blocks}]

escalateflow_storefront_theme_reset

Reset the storefront theme to the default settings and templates

reviews

escalateflow_reviews_list

List the shop's product reviews, newest first, with counts per status. Use status=pending for the moderation queue

ParameterTypeRequiredDescription
statusstringnoFilter by status (default: all) One of: pending, approved, rejected, all.
product_idstringnoOnly reviews of this product (UUID)
limitintegernoMax reviews (1-100, default 50) Default: 50.

escalateflow_reviews_moderate

Approve (publish on the storefront) or reject a review; the product rating is recomputed from its approved reviews

ParameterTypeRequiredDescription
review_idstringyesReview ID
statusstringyesNew status One of: approved, rejected.

escalateflow_reviews_delete

Delete a review permanently (the product rating is recomputed)

ParameterTypeRequiredDescription
review_idstringyesReview ID

shop_settings

escalateflow_shop_settings_get

Get the shop settings

escalateflow_shop_settings_update

Update shop settings (only the fields given change). Use payment_instructions for the bank transfer details

ParameterTypeRequiredDescription
is_enabledbooleannoShop on (catalogue, cart, checkout served) or off (its pages 404). Creating a product turns it on; false turns it off without deleting anything
payment_instructionsstringnoBank transfer details (IBAN, account holder, bank...) shown to customers who pay by bank transfer: on the checkout, the order confirmation page and the order email. Plain text, line breaks kept. Empty = no transfer details shown
order_confirmation_messagestringnoMessage shown on the order confirmation page and email
require_phonebooleannoAsk for a phone number at checkout
tax_ratenumbernoTax (VAT/IVA) rate in percent, 0-100
prices_include_taxbooleannoProduct prices already include the tax
currency_codestringnoISO currency code, e.g. EUR
currency_symbolstringnoCurrency symbol, e.g. €
shop_titlestringnoShop page title
shop_descriptionstringnoShop page description
abandoned_cart_emailsbooleannoSend one recovery email to customers who typed their email at checkout and left without ordering (link restores their cart)
abandoned_cart_delay_hoursintegernoHours after the last checkout activity before that email (1-72, default 1)
abandoned_cart_consentstringnoConsent for that email: 'checkbox' (default; only customers who tick 'remind me of my cart by email' at checkout, with proof of consent) or 'none' (every customer who typed their email) One of: checkbox, none.
returns_enabledbooleannoCustomers can request returns from their order page
return_window_daysintegernoDays after payment / delivery a return can be requested (1-365, 30)
url_prefixstringnoURL prefix of the shop pages, e.g. 'tienda' → /tienda/ (default 'shop')
product_basestringnoSegment before a product slug, e.g. 'producto' → /tienda/producto/<slug>/ (default 'product')
category_basestringnoSegment before a category slug (default 'category')
layoutstringnoCatalogue layout, e.g. grid
products_per_pageintegernoProducts per catalogue page
show_categoriesbooleannoShow the category filter on the catalogue
hide_out_of_stock_complementarybooleannoHide out-of-stock products from the 'Complete it with' suggestions
show_announcementbooleannoShow the announcement bar
announcement_textstringnoAnnouncement bar text
announcement_linkstringnoAnnouncement bar link
api_allowed_originsarraynoOrigins (https://host[:port], no path, no wildcard; max 20) of external frontends that may read the public catalogue API https://escalateflow.com/api/v1/public/<project_id>/ from the browser (CORS). The site's own subdomain and verified domains are always allowed. [] = none

shipping

escalateflow_shipping_list

List the shipping zones with their rates

escalateflow_shipping_create_zone

Create a shipping zone, optionally with its rates

ParameterTypeRequiredDescription
namestringyesZone name, e.g. Península
countriesarraynoISO 3166-1 alpha-2 codes (ES, PT, FR...); empty list = rest of the world (one per website). A country can be in one active zone only.
positionintegernoDisplay order
is_activebooleannoWhether the zone is used at checkout
ratesarraynoOptional list of rates. Rate object: {name (required), price, min_subtotal, max_subtotal (exclusive), min_weight, max_weight (kg, exclusive), free_over (free from this products subtotal), delivery_estimate, position, is_active}

escalateflow_shipping_update_zone

Update a zone (only the given fields change)

ParameterTypeRequiredDescription
zone_idintegeryesZone ID
namestringnoZone name, e.g. Península
countriesarraynoISO 3166-1 alpha-2 codes (ES, PT, FR...); empty list = rest of the world (one per website). A country can be in one active zone only.
positionintegernoDisplay order
is_activebooleannoWhether the zone is used at checkout

escalateflow_shipping_delete_zone

Delete a zone and its rates

ParameterTypeRequiredDescription
zone_idintegeryesZone ID

escalateflow_shipping_add_rate

Add a rate to a zone

ParameterTypeRequiredDescription
zone_idintegeryesZone ID
namestringyesRate name shown at checkout, e.g. Estándar
pricenumbernoPrice in the shop currency (0 = free)
min_subtotalnumbernoApplies from this products subtotal (after discounts)
max_subtotalnumbernoApplies below this products subtotal
min_weightnumbernoApplies from this cart weight (kg)
max_weightnumbernoApplies below this cart weight (kg)
free_overnumbernoFree from this products subtotal
delivery_estimatestringnoText for the customer, e.g. 24-48 h
positionintegernoDisplay order
is_activebooleannoWhether the rate is offered

escalateflow_shipping_update_rate

Update a rate (only the given fields change; null clears a condition)

ParameterTypeRequiredDescription
rate_idintegeryesRate ID
namestringnoRate name shown at checkout, e.g. Estándar
pricenumbernoPrice in the shop currency (0 = free)
min_subtotalnumbernoApplies from this products subtotal (after discounts)
max_subtotalnumbernoApplies below this products subtotal
min_weightnumbernoApplies from this cart weight (kg)
max_weightnumbernoApplies below this cart weight (kg)
free_overnumbernoFree from this products subtotal
delivery_estimatestringnoText for the customer, e.g. 24-48 h
positionintegernoDisplay order
is_activebooleannoWhether the rate is offered

escalateflow_shipping_delete_rate

Delete a rate

ParameterTypeRequiredDescription
rate_idintegeryesRate ID

escalateflow_shipping_quote

Rates the checkout would offer for a destination and cart

ParameterTypeRequiredDescription
countrystringyesISO code or country name
subtotalnumbernoProducts subtotal after discounts
weightnumbernoCart weight in kg

escalateflow_shipping_tax_rates

Tax rate by destination country, the shop-wide default rate and whether country rates apply (they need shipping zones)

escalateflow_shipping_set_tax_rates

Replace the tax rates by country ({} clears them). Countries without a rate use the shop-wide tax_rate (shop settings).

ParameterTypeRequiredDescription
ratesobjectyes{ISO code or country name: rate percent 0-100}, e.g. {"DE": 19, "FR": 20, "CH": 0}

escalateflow_shipping_list_pickup

List the in-store pickup locations (#189)

escalateflow_shipping_add_pickup

Add an in-store pickup location offered at checkout

ParameterTypeRequiredDescription
namestringyesPickup point name, e.g. Tienda Centro
addressstringnoPickup address (free text)
hoursstringnoOpening hours, e.g. L-V 9-20h
costnumbernoPickup fee in the shop currency (0 = free)
positionintegernoDisplay order
is_activebooleannoWhether it is offered at checkout

escalateflow_shipping_update_pickup

Update a pickup location (only the given fields change)

ParameterTypeRequiredDescription
pickup_idstringyesPickup location ID
namestringnoPickup point name
addressstringnoPickup address (free text)
hoursstringnoOpening hours
costnumbernoPickup fee (0 = free)
positionintegernoDisplay order
is_activebooleannoWhether it is offered at checkout

escalateflow_shipping_delete_pickup

Delete a pickup location

ParameterTypeRequiredDescription
pickup_idstringyesPickup location ID

collections

escalateflow_collections_list

List the collections

escalateflow_collections_get

A collection with its products

ParameterTypeRequiredDescription
collection_idstringyesCollection UUID
limitintegernoProducts to include (default 50)

escalateflow_collections_create

Create a collection. Idempotent: a collection with the same slug (or the title's) is returned with already_existed=true

ParameterTypeRequiredDescription
titlestringyesCollection title
kindstringnomanual (default) or automatic
slugstringnoURL slug (from the title when missing)
descriptionstringnoDescription (HTML allowed)
image_urlstringnoBanner image URL
rulesobjectnoAutomatic collections: {"match": "all"|"any", "conditions": [{"field", "op", "value"}]}. Fields: tag (equals/not_equals), vendor, product_type, title (equals/not_equals/contains/not_contains), category (slug, subcategories included; equals/not_equals), price, compare_at_price (gt/lt/equals), on_sale (equals true/false), metafield (with "key": "specs.ram"; equals/not_equals/gt/lt/gte/lte).
product_idsarraynoManual collections: product UUIDs in display order (replaces the list)
sort_orderstringnomanual, newest, price_asc, price_desc or name
is_publishedbooleannoVisible on the storefront
positionintegernoDisplay order among collections
seo_titlestringnoSEO title
seo_descriptionstringnoSEO description
metafieldsobjectnoCollection custom fields {"namespace.key": value} (null deletes)

escalateflow_collections_update

Update a collection (only the given fields change; kind is fixed)

ParameterTypeRequiredDescription
collection_idstringyesCollection UUID
titlestringnoCollection title
slugstringnoURL slug (from the title when missing)
descriptionstringnoDescription (HTML allowed)
image_urlstringnoBanner image URL
rulesobjectnoAutomatic collections: {"match": "all"|"any", "conditions": [{"field", "op", "value"}]}. Fields: tag (equals/not_equals), vendor, product_type, title (equals/not_equals/contains/not_contains), category (slug, subcategories included; equals/not_equals), price, compare_at_price (gt/lt/equals), on_sale (equals true/false), metafield (with "key": "specs.ram"; equals/not_equals/gt/lt/gte/lte).
product_idsarraynoManual collections: product UUIDs in display order (replaces the list)
sort_orderstringnomanual, newest, price_asc, price_desc or name
is_publishedbooleannoVisible on the storefront
positionintegernoDisplay order among collections
seo_titlestringnoSEO title
seo_descriptionstringnoSEO description
metafieldsobjectnoCollection custom fields {"namespace.key": value} (null deletes)

escalateflow_collections_delete

Delete a collection (products stay)

ParameterTypeRequiredDescription
collection_idstringyesCollection UUID

gift_cards

escalateflow_gift_cards_list

List gift cards

ParameterTypeRequiredDescription
qstringnoCode (or its last characters) or customer email
usablebooleannoOnly active, unexpired cards with balance

escalateflow_gift_cards_get

A gift card with its balance changes

ParameterTypeRequiredDescription
gift_card_idstringyesGift card UUID

escalateflow_gift_cards_create

Issue a gift card

ParameterTypeRequiredDescription
valuenumberyesInitial balance (0.01-10000)
codestringnoOwn code (8-32 letters/digits); generated if missing
expires_atstringnoYYYY-MM-DD, or empty for no expiry
customer_emailstringnoWho the card is for
notestringnoInternal note
is_activebooleannofalse disables the card

escalateflow_gift_cards_update

Update expiry, email, note or active flag

ParameterTypeRequiredDescription
gift_card_idstringyesGift card UUID
expires_atstringnoYYYY-MM-DD, or empty for no expiry
customer_emailstringnoWho the card is for
notestringnoInternal note
is_activebooleannofalse disables the card

escalateflow_gift_cards_adjust

Add (positive) or take (negative) balance

ParameterTypeRequiredDescription
gift_card_idstringyesGift card UUID
amountnumberyesAmount to add or take
notestringnoWhy

draft_orders

escalateflow_draft_orders_list

List draft orders

ParameterTypeRequiredDescription
statusstringnoopen, invoice_sent, completed or cancelled

escalateflow_draft_orders_get

A draft order with its totals

ParameterTypeRequiredDescription
draft_order_idstringyesDraft order UUID

escalateflow_draft_orders_create

Create a draft order

ParameterTypeRequiredDescription
linesarrayyesList of lines: catalogue {"product_id", "variant_id"?, "quantity", "price"? (overrides the product price)} or custom {"title", "price", "quantity", "taxable"?}
discountnumbernoAmount off the products
discount_labelstringnoDiscount label shown to the customer
shipping_costnumbernoShipping cost
shipping_methodstringnoShipping method name
customer_namestringnoCustomer name
customer_emailstringnoCustomer email
customer_phonestringnoCustomer phone
shipping_addressstringnoStreet address
shipping_citystringnoCity
shipping_postal_codestringnoPostal code
shipping_countrystringnoCountry (name or ISO code)
notestringnoInternal note

escalateflow_draft_orders_update

Update a draft (lines replaces all lines)

ParameterTypeRequiredDescription
draft_order_idstringyesDraft order UUID
linesarraynoList of lines: catalogue {"product_id", "variant_id"?, "quantity", "price"? (overrides the product price)} or custom {"title", "price", "quantity", "taxable"?}
discountnumbernoAmount off the products
discount_labelstringnoDiscount label shown to the customer
shipping_costnumbernoShipping cost
shipping_methodstringnoShipping method name
customer_namestringnoCustomer name
customer_emailstringnoCustomer email
customer_phonestringnoCustomer phone
shipping_addressstringnoStreet address
shipping_citystringnoCity
shipping_postal_codestringnoPostal code
shipping_countrystringnoCountry (name or ISO code)
notestringnoInternal note

escalateflow_draft_orders_complete

Turn the draft into a real order (stock, emails)

ParameterTypeRequiredDescription
draft_order_idstringyesDraft order UUID
paidbooleannoAlready paid (otherwise pending payment)

escalateflow_draft_orders_delete

Delete a draft that isn't completed

ParameterTypeRequiredDescription
draft_order_idstringyesDraft order UUID

returns

escalateflow_returns_list

List returns

ParameterTypeRequiredDescription
statusstringnorequested, approved, declined, received, refunded
order_numberstringnoOnly this order's returns

escalateflow_returns_get

A return

ParameterTypeRequiredDescription
return_idstringyesReturn UUID

escalateflow_returns_create

Create a return for an order

ParameterTypeRequiredDescription
order_numberstringyesOrder number
linesarrayyes[{"order_item_id", "quantity"}]
reasonstringnoReason

escalateflow_returns_approve

Approve a return (note emailed to the customer)

ParameterTypeRequiredDescription
return_idstringyesReturn UUID
notestringnoInstructions for the customer

escalateflow_returns_decline

Decline a return (note emailed to the customer)

ParameterTypeRequiredDescription
return_idstringyesReturn UUID
notestringnoWhy

escalateflow_returns_receive

Mark the returned items received

ParameterTypeRequiredDescription
return_idstringyesReturn UUID
restockbooleannoPut the items back in stock (default true)

escalateflow_returns_refund

Refund a return (Stripe for card orders)

ParameterTypeRequiredDescription
return_idstringyesReturn UUID
amountnumbernoAmount (default the returned lines' price)

orders

escalateflow_orders_list

Most recent orders

ParameterTypeRequiredDescription
statusstringnoOnly this status One of: pending, paid, shipped, delivered, cancelled, refunded, failed.
payment_methodstringnoOnly this payment method (stripe = card, manual = bank transfer) One of: stripe, manual.
limitintegernoMax orders (1-100) Default: 20.

escalateflow_orders_get

One order with its items

ParameterTypeRequiredDescription
order_idstringnoOrder UUID
order_numberstringnoOrder number, e.g. NUC-20261018-AB12CD (alternative to id)

escalateflow_orders_abandoned_checkouts

Checkouts left after the customer typed their email (recovery emails: shop setting abandoned_cart_emails), with status open/emailed/recovered/converted

ParameterTypeRequiredDescription
statusstringnoOnly this status One of: open, emailed, recovered, converted.
limitintegernoMax rows (1-200) Default: 50.

escalateflow_orders_update

Update an order's status and tracking. Setting status 'shipped' emails the customer once (in the site language) with the tracking number and link; changing the tracking number of a shipped order emails the corrected one. notify_customer=false: no email.

ParameterTypeRequiredDescription
order_idstringnoOrder UUID
order_numberstringnoOrder number, e.g. NUC-20261018-AB12CD (alternative to id)
statusstringnoNew status One of: pending, paid, shipped, delivered, cancelled, refunded, failed.
tracking_numberstringnoCarrier tracking number
carrierstringnoCarrier name (Correos, SEUR, DHL, UPS...). For DHL, UPS, FedEx and USPS the tracking link is built automatically
tracking_urlstringnoTracking link (http/https)
notify_customerbooleannoEmail the customer (default true) Default: True.
admin_notesstringnoInternal notes
balance_receivedbooleannoThe balance an edit added to a paid order (balance_due) was collected: the customer is no longer asked for it

escalateflow_orders_edit

Edit a pending / paid order before shipping: change quantities (0 removes a line), add catalogue or custom lines, change the shipping cost. Stock and totals follow; for a paid order the difference is returned as balance_due / refund_due.

ParameterTypeRequiredDescription
order_idstringnoOrder UUID
order_numberstringnoOrder number, e.g. NUC-20261018-AB12CD (alternative to id)
changesarrayno[{"order_item_id", "quantity"}]
addarrayno[{"product_id", "variant_id"?, "quantity", "price"?}] or [{"title", "price", "quantity"}]
shipping_costnumbernoNew shipping cost
reasonstringnoWhy (kept in the edit history)

metafields

escalateflow_metafields_list_definitions

List the metafield definitions

ParameterTypeRequiredDescription
owner_typestringnoproduct, variant or collection

escalateflow_metafields_define

Create a definition, or update the one with the same owner_type + namespace + key

ParameterTypeRequiredDescription
namespacestringyesGroup, e.g. specs (lowercase, digits, _)
keystringyesField key, e.g. ram (lowercase, digits, _)
namestringyesLabel shown on the storefront, e.g. RAM
typestringyessingle_line_text, multi_line_text, rich_text, integer, decimal, boolean, date, date_time, url, file_reference, color (#rrggbb), money {amount, currency_code}, rating, weight / dimension / volume {value, unit}, product_reference, collection_reference, json, and list.<type> (list.single_line_text, list.integer, ...)
owner_typestringnoproduct (default), variant or collection
descriptionstringnoHelp text
validationsobjectnoOptional: {"min", "max", "unit": "GB", "choices": [...], "max_length", "regex", "units": ["kg"], "scale_max": 5, "max_items"}
storefront_visiblebooleannoShow on the product page spec table and in the public API. Default false (private): set true for what shoppers see (the 'specs' namespace)
filterablebooleannoUsable in storefront filters and facets
positionintegernoDisplay order

escalateflow_metafields_delete_definition

Delete a definition and its values

ParameterTypeRequiredDescription
definition_idstringyesDefinition UUID

escalateflow_metafields_set

Set values in bulk, atomically (all or nothing; null deletes)

ParameterTypeRequiredDescription
metafieldsarrayyesList of {"owner_type": "product", "owner_id": "<uuid>", "key": "specs.ram", "value": 16} (max 250)

escalateflow_metafields_suggest

Propose definitions from the products' technical_specs (or attributes)

ParameterTypeRequiredDescription
sourcestringnotechnical_specs (default) or attributes
namespacestringnoNamespace for the suggestions (default specs)

escalateflow_metafields_import_specs

Copy technical_specs / attributes values into metafields, converted to their type

ParameterTypeRequiredDescription
mappingobjectyes{"RAM": "specs.ram"}
sourcestringnotechnical_specs (default) or attributes
overwritebooleannoReplace existing metafield values
remove_sourcebooleannoDelete converted labels from technical_specs (no duplicate rows)
dry_runbooleannoReport without saving

documents

escalateflow_documents_upload

Upload a PDF from a public URL (preferred) or base64 and get its public link. Only plain PDFs: JavaScript, attachments, launch actions or passwords are refused.

ParameterTypeRequiredDescription
urlstringnoPublic https URL of the PDF
file_base64stringnoThe PDF in base64 (up to 7 MB)
filenamestringnoFile name, for display
titlestringnoTitle shown in the viewer (default: from the file name)
slugstringnoLink: /public/docs/<slug>/ (lowercase letters, numbers, dashes)
descriptionstringnoShort description (shown on the email form)
allow_downloadbooleannoShow a Download button Default: True.
require_emailbooleannoAsk for the reader's email before showing it (lead capture) Default: False.
is_publishedbooleannoFalse hides the link (404) without deleting Default: True.

escalateflow_documents_list

List the website's documents with views and downloads of the last 30 days

escalateflow_documents_get

One document with reading statistics: views, unique readers, downloads, emails, average read time, completion rate, readers and seconds per page, sources, countries

ParameterTypeRequiredDescription
document_idstringyesDocument ID
daysintegernoPeriod: 7, 30, 90 or 365 Default: 30.

escalateflow_documents_update

Change a document's title, link, description or options

ParameterTypeRequiredDescription
document_idstringyesDocument ID
titlestringnoTitle shown in the viewer (default: from the file name)
slugstringnoLink: /public/docs/<slug>/ (lowercase letters, numbers, dashes)
descriptionstringnoShort description (shown on the email form)
allow_downloadbooleannoShow a Download button Default: True.
require_emailbooleannoAsk for the reader's email before showing it (lead capture) Default: False.
is_publishedbooleannoFalse hides the link (404) without deleting Default: True.

escalateflow_documents_replace

Replace a document's file keeping its link and statistics

ParameterTypeRequiredDescription
document_idstringyesDocument ID
urlstringnoPublic https URL of the new PDF
file_base64stringnoThe new PDF in base64
filenamestringnoFile name, for display

escalateflow_documents_delete

Delete a document: its link stops working and its statistics are removed

ParameterTypeRequiredDescription
document_idstringyesDocument ID

storage

escalateflow_storage_cloudinary_status

Whether the account's own Cloudinary is connected: cloud_name, masked api_key, folder, last check, uploads and a warning when uploads had to fall back to the platform storage. Applies to every website of the account. Never returns the secret.

escalateflow_storage_cloudinary_connect

Connect (or replace) the account's own Cloudinary so new images of all its websites are stored there (panel, API and MCP uploads). The keys are checked with Cloudinary before they are saved; bad keys are refused with the reason. Videos and documents are not affected.

ParameterTypeRequiredDescription
cloud_namestringyesCloud name (Cloudinary console, top of Settings → API Keys)
api_keystringyesAPI key (digits)
api_secretstringyesAPI secret (stored encrypted, never returned)
default_folderstringnoFolder in Cloudinary; each website gets a sub-folder Default: escalateflow.

escalateflow_storage_cloudinary_test

Check the stored Cloudinary keys again (for example after a warning). Changes nothing but the recorded result of the check.

escalateflow_storage_cloudinary_disconnect

Disconnect the account's Cloudinary: the keys are deleted and new images go to the platform storage again. Images already in Cloudinary stay there and keep working.

funnels

escalateflow_funnels_list

The website's funnels (id, name, kind flow|journey, active, steps)

escalateflow_funnels_get

One funnel with its flow (steps and connections)

ParameterTypeRequiredDescription
funnel_idstringyesThe funnel's id

escalateflow_funnels_templates

Ready-made funnels to start from (create with template=<id>)

escalateflow_funnels_create

New funnel: from a template, from a flow, or empty. flow = {"nodes": [{"id": "signup", "type": "form", "title": "Sign-up", "config": {"form": "378838d8"}, "position": [x, y], "paused": false}, ...], "edges": [{"from": "landing", "to": "signup"}, ...]}. Types and config: source {platform: meta|google|tiktok|linkedin|email|other, utm_campaign, utm_source, rest: true for every other source}; page {path}; form {form: id or its first 8 characters}; confirm {form, optional: the form of the previous steps}; event {event, path}; email {action, form}; purchase {}; goal {goal}; survey {form: a smart form, counted by its segment}; ads_event {event: CompleteRegistration, Lead..., form}: sign-ups whose event the form's rules sent to the ad platforms. A source may take campaign_id (the ad campaign: its spend and clicks). Ids: lowercase letters, digits, - and _. Connections go one way (no loops).

ParameterTypeRequiredDescription
namestringyesName of the funnel
templatestringnoTemplate id (see templates)
flowobjectnoThe flow definition
descriptionstringnoDescription

escalateflow_funnels_update

Change the flow (the whole definition), the name, or pause / resume the funnel (is_active=false stops counting it; nothing changes in the website). flow = {"nodes": [{"id": "signup", "type": "form", "title": "Sign-up", "config": {"form": "378838d8"}, "position": [x, y], "paused": false}, ...], "edges": [{"from": "landing", "to": "signup"}, ...]}. Types and config: source {platform: meta|google|tiktok|linkedin|email|other, utm_campaign, utm_source, rest: true for every other source}; page {path}; form {form: id or its first 8 characters}; confirm {form, optional: the form of the previous steps}; event {event, path}; email {action, form}; purchase {}; goal {goal}; survey {form: a smart form, counted by its segment}; ads_event {event: CompleteRegistration, Lead..., form}: sign-ups whose event the form's rules sent to the ad platforms. A source may take campaign_id (the ad campaign: its spend and clicks). Ids: lowercase letters, digits, - and _. Connections go one way (no loops).

ParameterTypeRequiredDescription
funnel_idstringyesThe funnel's id
flowobjectnoThe new flow definition
namestringnoNew name
is_activebooleannofalse pauses the funnel, true resumes it

escalateflow_funnels_stats

Live numbers of every step: people (real people only: no bots, no test traffic), previous, rate_prev (% that goes on), lost, cost_per_person (Meta spend when imported), the A/B test of a page (leader, enough_sample, people_needed), and for `step` (an id or *) the breakdown by ad, platform and device and the latest sign-ups (emails masked). Also `excluded` (bots and test visits left out)

ParameterTypeRequiredDescription
funnel_idstringyesThe funnel's id
periodstringnoLast N days as 'Nd' (e.g. 30d) Default: 30d.
date_fromstringnoStart date YYYY-MM-DD; wins over period
date_tostringnoEnd date YYYY-MM-DD (inclusive)
stepstringnoA step id (or *) for its breakdowns
include_testbooleannoAlso count test traffic Default: False.

escalateflow_funnels_export

The funnel as JSON (forms and goals carry their names) to import it on another website

ParameterTypeRequiredDescription
funnel_idstringyesThe funnel's id

escalateflow_funnels_import

Create a funnel from exported JSON on this website: a form / goal is the one with the same id or name here, a page keeps its path. `to_map` lists the steps whose form, goal or page still has to be chosen (then update the flow)

ParameterTypeRequiredDescription
funnelobjectyesThe JSON of export
namestringnoName (default: the exported one)

escalateflow_funnels_duplicate

Copy the funnel on this website, or on another website of the account (target_project_id), mapped there like an import

ParameterTypeRequiredDescription
funnel_idstringyesThe funnel's id
target_project_idstringnoAnother website of the account
namestringnoName of the copy

escalateflow_funnels_delete

Delete the funnel (the website's pages and data stay)

ParameterTypeRequiredDescription
funnel_idstringyesThe funnel's id

api_keys

escalateflow_api_keys_list

The API keys of the account: name, prefix, what each may do (preset, key_type, scopes), the projects it is limited to, when it was last used and when it expires. The value of a key is never returned. A key limited to some projects sees only the keys limited to those projects. To change a key's permissions use the dashboard (Settings → API keys) or PATCH /api/v1/keys/<id>/ with an unrestricted secret key.

escalateflow_api_keys_list_permissions

Every permission an API key can hold ('<resource>:read' / '<resource>:write', write includes read), grouped as the dashboard shows them, and the presets (full, readonly, marketing).