Start Your Agency Starting an agency? Get 90 days free on Business, plus training to land your first client New agency? 90 days free on Business · 90 days
Browse modules▾
Overview/Publishing

Websites

29 read46 write

Build, publish and manage websites: pages, versions and rollback, domains, SEO and redirects, languages, pay buttons, funnels, site variables and saved templates.

All tools

75
  • check_my_siteread

    Answer 'what is wrong with my website?'. Returns the problems found by the site's last page check (worst first, each marked if republishing fixes it), how many checks passed, and its last speed scores on mobile and desktop with what slows it down. Reads SAVED results only: free and instant, never runs a new check. If has_results is false, tell the user to run Site check in the app (website > SEO > Site check). Get project_id from list_websites.

  • describe_website_ab_formatread

    Explain how website A/B split-testing works here (control, variants, traffic split, conversions, winner) and the exact tool flow. Call FIRST when a user wants to test website variants. Static, no account data. (also: split test, experiment)

  • get_funnelread

    One funnel with its steps in order.

  • get_funnel_statsread

    Views, form submits and conversions for each funnel step, and the funnel's overall conversion rate (split tests shown per variant).

  • get_publish_statusread

    Progress of a publish_website run: running, succeeded or failed, the live address, and DNS records to set for a custom domain.

  • get_seo_competitorsread

    The last SEO competitor research saved for this website.

  • get_site_rankingsread

    Answer 'how is my website doing on Google?'. Returns the site's last saved visibility check (strength out of 100, estimated visits a month from Google, how many sites link to it, the searches it shows up for and its position for each), the searches the owner tracks with this month's position and the change since last month, and its Google Maps scans (average map position over time). Reads SAVED results only: free and instant, never runs a new check; a section that was never checked says how to start it in the app. Get project_id from list_websites.

  • get_website_ab_resultsread

    A/B test results: per-variant visitors, conversion rate, revenue, confidence, winner. (also: split test, experiment)

  • get_website_data_sourceread

    Whether the website pulls content (e.g. blog posts) from a connected database table, which table, and whether it syncs automatically. Connecting one needs a database key, so that is done in the app.

  • get_website_detailsread

    One website project: status, pages, theme, attached domain.

  • get_website_seo_filesread

    The website's sitemap and robots.txt as search engines see them, every page address, and any warnings.

  • get_website_speedread

    Phone page-speed score for each published version, newest first, so a slowdown can be traced to the change that caused it.

  • get_website_statusread

    Website build status: pending|generating|ready|published|error, plus preview_url, progress % and queue position. Poll after create_website / edit_website / duplicate_website.

  • list_articlesread

    List the blog articles on a website project: id, slug, title, status, body (markdown), excerpt and cover image. Use this to find an article's id before update_article or delete_article.

  • list_deleted_websitesread

    Websites in Recently deleted, with the date each will be removed for good.

  • list_funnelsread

    Funnels (multi-step sales flows: page, survey, booking, thank you, upsell, downsell).

  • list_pay_button_accountsread

    Connected Stripe accounts that can take payments on a website. Pass account_id to list that account's products and prices (price_id) for a pay button.

  • list_pay_buttonsread

    The website's pay buttons (Stripe checkout buttons) with their price and on/off state.

  • list_saved_website_templatesread

    Templates this agency saved from its own websites, plus templates shared publicly (not the built-in gallery, which is list_website_templates).

  • list_website_ab_testsread

    A/B tests on a control website project. (also: split test, experiment)

  • list_website_deploysread

    Every published version of the website (deploy_id, when, which one is live). Use with rollback_live_website.

  • list_website_domainsread

    Custom domains attached to website projects, with verification status.

  • list_website_languagesread

    Languages the website is offered in and each one's translation status.

  • list_website_pagesread

    Pages inside one website project.

  • list_website_redirectsread

    The website's redirect rules in the order they are checked.

  • list_website_templatesread

    Pre-built website templates create_website can start from.

  • list_website_variablesread

    The website's own variables: words like {city} written into its copy, each with the value shown.

  • list_website_versionsread

    Saved versions of a website (named checkpoints and automatic ones), newest first, with who saved or restored each. Use a tag with restore_website_version.

  • list_websitesread

    AI site-builder projects: id, name, status, preview URL.

  • add_funnel_stepwrite

    Add a step to a funnel. step_type: page, survey, schedule, thank_you, upsell or downsell. step_order puts it at a position (0 = first); leave it out to add at the end.

  • add_website_languagewrite

    Add a language to the website (or rename one). Then call translate_website to fill it in.

  • add_website_pagewrite

    Add a blank page to a HAND-BUILT site (and a step, on a funnel). On an AI-built site, ask edit_website instead, e.g. 'add an About page'.

  • add_website_variantwrite

    Add a challenger VARIANT to an A/B test. Each variant is its own website project: omit `prompt` to clone the control verbatim (control must be built), or pass a `prompt` to AI-build a different one (ASYNC: poll get_website_status on the returned project). Balance traffic_weight so all variants sum to ~100.

  • attach_website_domainwrite

    Attach a custom domain to a website. It is stored UNVERIFIED; then call verify_website_domain to check DNS and go live. Pass a bare host like example.com, no scheme or path.

  • convert_website_typewrite

    Switch a site between a single website and a funnel. to='funnel': the page becomes step 1 of a new funnel. to='website': only works once the funnel is down to one step (remove the others with delete_funnel_step first).

  • create_articlewrite

    Write a NEW blog article on a website project. `body` is markdown: ## headings, **bold**, - lists, [text](/link), and ![description](https://url "optional caption") for pictures — a picture needs a description or it is dropped when the site is built. The slug is derived from the title unless you pass one. IMPORTANT: saving stores the article, it does NOT put it on the live site — the site must be rebuilt for the page to exist.

  • create_funnelwrite

    Create a funnel. To turn an existing website into one, use convert_website_type instead. slug: lowercase letters, numbers and hyphens.

  • create_pay_buttonwrite

    Create a pay button that opens Stripe checkout on the agency's connected account. Give price_id (a Stripe price) or amount (e.g. 49.99, minimum 0.50). Placing it on a page is an edit_website request.

  • create_websitewrite

    Build a NEW website from a plain-language prompt (AI site builder). ASYNC: returns project_id + status='pending'; poll get_website_status until 'ready'. clone_urls takes up to 3 sites to mimic (an AI rebuild in its own words). For the customer's OWN site (a migration) set faithful_copy=true: up to 10 pages copied page for page, exact text, images, logo and videos, no AI rewrite; the first url is the home page and clone_page_paths can set each page's address (e.g. ['', 'contact']). To split-test it, once built call create_website_ab_test then add_website_variant.

  • create_website_ab_testwrite

    Start an A/B split test on a BUILT control website; auto-creates the Control variant at 50%. control_project_id is the control's project_id. Add challengers with add_website_variant. (also: experiment)

  • create_website_redirectwrite

    Send visitors from one address to another, e.g. an old page to its new one. status_code 301 (permanent, the default) keeps search ranking; 302 is temporary. Loops and self-redirects are refused.

  • delete_articlewrite

    Delete a blog article from a website project. The article stops being baked on the next rebuild; a page already published stays up until then. Get the article_id from list_articles.

  • delete_funnelwrite

    Delete a funnel and its steps. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • delete_funnel_stepwrite

    Remove a step from a funnel. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • delete_pay_buttonwrite

    Delete a pay button. Anywhere it is placed on the site stops taking payments. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • delete_websitewrite

    Delete a website: it moves to Recently deleted for 30 days and can be brought back with restore_deleted_website. If it is live, it goes OFFLINE now. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • delete_website_redirectwrite

    Delete a redirect rule.

  • delete_website_variablewrite

    Delete one website variable.

  • duplicate_websitewrite

    Duplicate a BUILT website into a new project: exact clone, no AI regeneration. ASYNC, poll get_website_status on the returned project_id.

  • edit_websitewrite

    Prompt-edit an already-built website: copy, sections, layout, styling. ASYNC: poll get_website_status. The site must be built (create_website to 'ready') first.

  • measure_website_speedwrite

    Measure one published version's phone speed now (about 20 seconds, in the background); read the result with get_website_speed.

  • publish_websitewrite

    Put a website live: publishes the current draft (what create_website / edit_website built) to its public address, no AI step. Pass target_domain to publish on a custom domain that is already attached AND verified (attach_website_domain, verify_website_domain). ASYNC: returns publish_id; poll get_publish_status until succeeded or failed. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • remove_website_languagewrite

    Remove a language and its translation from the website. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • remove_website_pagewrite

    Remove a page from a HAND-BUILT site; its old address redirects onward. The first page cannot be removed. On an AI-built site use edit_website. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • rename_websitewrite

    Rename a website (the name shown in Inflowave, not its web address).

  • rename_website_pagewrite

    Change a page's web address (e.g. 'about' to 'about-us'). Internal links are updated and the old address keeps working through a redirect.

  • research_seo_competitorswrite

    Who ranks on Google for the phrases this page should win, and what their pages have that this one lacks. queries: 1-10 phrases customers search.

  • restore_deleted_websitewrite

    Bring a website back from Recently deleted, including its live version if it had one.

  • restore_website_versionwrite

    Undo: reset the website's DRAFT to a saved version (tag from list_website_versions). Takes about a minute (poll get_website_status). The live site does not change until publish_website. To change the LIVE site instantly instead, use rollback_live_website.

  • rollback_live_websitewrite

    Instantly put an earlier PUBLISHED version back live (deploy_id from list_website_deploys). Every visitor sees it at once; no rebuild. Requires confirmation: the first call returns a confirmation_required envelope; re-call with confirm=true after the user says yes.

  • save_website_as_templatewrite

    Save a built website as a template only this agency can start new sites from.

  • save_website_versionwrite

    Save the website as it is now as a named version, so it can be restored later. Good before a big edit.

  • set_data_source_auto_syncwrite

    Turn automatic rebuilds on or off when the website's connected data source changes.

  • set_page_indexingwrite

    Hide one page from search engines (noindex=true) or let it be found again (false), e.g. a thank-you page.

  • set_variant_trafficwrite

    Set one variant's traffic weight 0-100. Weights are cumulative buckets, NOT auto-normalised, so balance them to ~100 across the test.

  • set_website_robotswrite

    Set a custom robots.txt for the website. Empty restores the generated default. A blanket 'Disallow: /' is stripped, so a live business cannot remove itself from Google by accident.

  • set_website_variableswrite

    Add or change website variables. Each item is {key, example_value, is_image}; key is lowercase letters, numbers and _ (e.g. city), used in copy as {city}. is_image=true shows the value as a picture. Keys not sent are left alone.

  • translate_websitewrite

    Translate the website into a language already added with add_website_language. Runs in the background; check list_website_languages.

  • update_articlewrite

    Edit an existing blog article. Pass only the fields you want to change; the rest are read from the current article and preserved. Every save keeps the previous version, so a bad edit is reversible. IMPORTANT: the change does not reach the live site until it is rebuilt.

  • update_funnelwrite

    Rename a funnel, change its address or switch it on/off. Only what you pass changes.

  • update_funnel_stepwrite

    Change a funnel step: name, type, position (step_order) or page. Only what you pass changes.

  • update_pay_buttonwrite

    Change a pay button. Send the full button; is_active=false switches it off.

  • update_website_ab_testwrite

    Update an A/B test. status='running' GOES LIVE and starts splitting traffic, 'paused' stops it, 'completed' with winner_variant_id ends it. This is how a test starts and stops. (also: split test, experiment)

  • update_website_redirectwrite

    Change a redirect rule. Send the full rule (from_path, to_path, status_code, is_active); is_active=false switches it off without deleting it.

  • verify_website_domainwrite

    Run a live DNS check on an attached domain and flip it verified on success (the go-live check). Returns is_verified plus the exact records (type/host/value) to set if it is not live yet.