API Documentation

Build powerful integrations with the EscalateFlow REST API. Manage websites, pages, forms, e-commerce, analytics, and more programmatically.

Get your API key

Connect to ChatGPT web · Spanish

API Modules

Using Claude? Connect EscalateFlow to Claude (claude.ai) in 2 minutes, step by step with screenshots (en español). Building with an agent? Start with the best practices for agents.

Authentication & Quick Start

Base URL

https://escalateflow.com/api/v1

On another environment (for example a test one), use the host you were given. In any environment, a website's public address is the primary_url that GET /api/v1/projects/ returns for it.

API Key Authentication

Send your API key using one of these headers:

X-API-Key: ef_live_xxxxxxxxxxxxxxxxxxxx

Or with the Authorization header using the Bearer keyword:

Authorization: Bearer ef_live_xxxxxxxxxxxxxxxxxxxx

Where to find your API key: Log in and go to Dashboard → Settings → API Access. Click Generate New API Key. The key is shown once — copy it immediately.

Note: Only Bearer works as the Authorization keyword. Api-Key or Token will return 401.

Rate Limits

LimitRateScope
Burst5 requests/secondPer user
Sustained60 requests/minutePer user
Daily100 - 100,000/dayBased on plan

Rate limit headers included in every response:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1704067200

Changelog

GET /api/v1/changelog/ lists API changes (new, changed, deprecated), newest first. The full list of endpoints is the REST reference; the MCP tools are on MCP tools.

Response Format

Every response is JSON with "success": true|false. A successful response carries the resource under its own name: pages/page, settings, navigation, posts/post, submissions… (the example of each endpoint shows it). Many responses repeat it inside data, and some lists only have data (GET /projects/, block-types/, templates/): read the named key when there is one, else data. Lists add count or total, and meta.pagination.

Success (a list)

{
  "success": true,
  "pages": [ { ... } ],
  "count": 2,
  "meta": {"pagination": {"page": 1, "page_size": 50,
           "total": 2, "total_pages": 1,
           "has_next": false}}
}

Error

{
  "success": false,
  "error": {
    "code": 400,
    "message": "Unknown field 'name' not accepted by this endpoint. Accepted fields: [...]",
    "field": "name"
  }
}

Errors name the bad field. A route that does not exist answers 404 with {"error": {"code": "not_found", "message"}}; a method a route does not allow, 405. Messages may be in the account's language: rely on the status, code and field, not on the wording. Most write endpoints reject unknown fields and list the accepted ones in the message.

Error Codes

StatusDescriptionCommon Cause
400Validation errorInvalid input - check error.details
401Not authenticatedMissing or invalid API key
403Permission deniedResource belongs to another user
404Not foundResource doesn't exist
429Rate limitedToo many requests
500Server errorContact support

API Keys

GET /api/v1/keys/

List all your API keys.

Response

{
  "success": true,
  "data": [
    {
      "id": "uuid",
      "name": "My Integration Key",
      "key_prefix": "ef_abc12",
      "is_active": true,
      "rate_limit": 100,
      "last_used_at": "2026-04-01T10:00:00Z",
      "total_requests": 1520,
      "created_at": "2026-01-01T00:00:00Z",
      "expires_at": null
    }
  ]
}
POST /api/v1/keys/

Create a new API key. Save the key immediately - it won't be shown again.

Request Body

{
  "name": "My Integration Key"
}

Response

{
  "success": true,
  "data": {
    "id": "uuid",
    "name": "My Integration Key",
    "key": "ef_xxxxxxxxxxxxxxxxxxxx",
    "key_prefix": "ef_xxxxx"
  },
  "message": "Store this key securely - it won't be shown again."
}
DELETE /api/v1/keys/{key_id}/

Delete an API key. This action is irreversible.

HTML Content Guidelines

When submitting HTML content via the API (page content, navbar, footer):

Do

  • Use plain HTML, CSS, and JavaScript
  • Use relative URLs for internal links (/about)
  • Use [FORM] or [FORM:uuid] shortcodes
  • Reference Style Kit CSS variables

Don't

  • Use server-side template syntax
  • Hardcode absolute domain URLs
  • Include tracking scripts in page HTML (use settings)

Example

<section class="hero">
  <h1 style="color: var(--brand-primary)">Welcome</h1>
  <a href="/contact" class="btn">Contact Us</a>
  [FORM:550e8400-e29b-41d4-a716-446655440000]
</section>

Known Limitations

Current platform limitations to be aware of when building integrations. These are actively being addressed.

SEO settings live in settings/

Read and update the SEO fields with GET/PUT /settings/. GET /settings/seo/ is deprecated (same fields, removed 2026-12-14).

robots.txt may be overridden by CDN

The robots_txt setting may be overridden by CDN-level rules (e.g. Cloudflare managed content signals), which can block AI crawlers (ClaudeBot, GPTBot, Google-Extended) by default regardless of your custom configuration.

Automatic SEO on published pages

Every published page gets these without any call:

  • meta title and description, Open Graph and Twitter Card tags, canonical URL and favicon, from the page's SEO fields and the website settings;
  • JSON-LD for Organization and WebSite, plus breadcrumbs;
  • hreflang between translations.

Per page you also control is_indexed, robots_directives and canonical_url (see Settings, SEO & tags). 301/302 redirects are on Redirects. Changing a published page's slug creates the 301 from the old URL by itself.

Deprecated routes and tools (removed 2026-12-14)

These still answer, with the same data as their replacement, plus Deprecation: true, Sunset and Link: <replacement>; rel="successor-version" headers (and a deprecation object in JSON object bodies). Use the replacement.

DeprecatedUse instead
/api/v1/api-keys/, /api/v1/api-keys/{id}//api/v1/keys/, /api/v1/keys/{id}/
GET /api/v1/projects/list/GET /api/v1/projects/
/api/v1/openapi.json/api/v1/schema/ (?format=json for JSON)
/projects/{id}/products/{prod_id}/images/… (list, {img_id}/, reorder/)/projects/{id}/products/{prod_id}/gallery/…
/projects/{id}/product-categories/tree//projects/{id}/categories/tree/
/projects/{id}/pages/{page_id}/revisions/… (list, {version_id}/, restore/)/projects/{id}/pages/{page_id}/versions/…
GET /projects/{id}/ai-pages/GET /projects/{id}/pages/
GET /projects/{id}/settings/seo/GET /projects/{id}/settings/ (same fields)
GET /projects/{id}/analytics/overview/, top-pages/, utm/GET /projects/{id}/analytics/summary/ (see skills/ANALYTICS_API.md)
MCP escalateflow_stripe_list_orders, escalateflow_stripe_get_orderescalateflow_orders_list, escalateflow_orders_get
MCP escalateflow_analytics_overview, escalateflow_analytics_top_pagesescalateflow_analytics_summary
GET /projects/{id}/forms/{form_id}/submissions/GET /projects/{id}/submissions/?form_id={form_id} (same query: archived/spam and bots hidden by default)
MCP escalateflow_form_submissionsescalateflow_submission_list (with form_id)
/projects/{id}/styles/ (GET, PUT = merge, DELETE = reset)/projects/{id}/theme/ (GET; PUT replaces, PATCH merges; POST theme/reset/)

Code Examples

Complete examples showing authentication, website creation, and page listing in popular languages.

# List your websites (projects)
curl "https://escalateflow.com/api/v1/projects/" \
  -H "Authorization: Bearer ef_live_xxxxxxxxxxxxxxxxxxxx"

# List the pages of a website
curl "https://escalateflow.com/api/v1/projects/{project_id}/pages/" \
  -H "Authorization: Bearer ef_live_xxxxxxxxxxxxxxxxxxxx"

# Create a page (published by default; "status": "draft" to keep it private)
curl -X POST "https://escalateflow.com/api/v1/projects/{project_id}/pages/" \
  -H "Authorization: Bearer ef_live_xxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"title": "About us", "slug": "about", "html": "<h1>About us</h1><p>Who we are</p>"}'

# Update a page
curl -X PUT "https://escalateflow.com/api/v1/projects/{project_id}/pages/{page_id}/" \
  -H "Authorization: Bearer ef_live_xxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>About us</h1><p>Updated text</p>"}'
import requests

BASE_URL = "https://escalateflow.com/api/v1"
headers = {"Authorization": "Bearer ef_live_xxxxxxxxxxxxxxxxxxxx"}

# List your websites (projects)
websites = requests.get(f"{BASE_URL}/projects/", headers=headers).json()
print(f"You have {websites['count']} websites")
project_id = websites["data"][0]["id"]

# List the pages of a website
pages = requests.get(f"{BASE_URL}/projects/{project_id}/pages/", headers=headers).json()["pages"]

# Create a page
page = requests.post(f"{BASE_URL}/projects/{project_id}/pages/", headers=headers, json={
    "title": "About us", "slug": "about", "html": "<h1>About us</h1><p>Who we are</p>",
}).json()["page"]

# Update it
requests.put(f"{BASE_URL}/projects/{project_id}/pages/{page['id']}/", headers=headers,
             json={"html": "<h1>About us</h1><p>Updated text</p>"})
const BASE_URL = "https://escalateflow.com/api/v1";
const headers = {
  "Authorization": "Bearer ef_live_xxxxxxxxxxxxxxxxxxxx",
  "Content-Type": "application/json"
};

// List your websites (projects)
const websites = await (await fetch(`${BASE_URL}/projects/`, { headers })).json();
console.log(`You have ${websites.count} websites`);
const projectId = websites.data[0].id;

// List the pages of a website
const { pages } = await (await fetch(`${BASE_URL}/projects/${projectId}/pages/`, { headers })).json();

// Create a page
const { page } = await (await fetch(`${BASE_URL}/projects/${projectId}/pages/`, {
  method: "POST", headers,
  body: JSON.stringify({ title: "About us", slug: "about", html: "<h1>About us</h1><p>Who we are</p>" })
})).json();

// Update it
await fetch(`${BASE_URL}/projects/${projectId}/pages/${page.id}/`, {
  method: "PUT", headers,
  body: JSON.stringify({ html: "<h1>About us</h1><p>Updated text</p>" })
});
<?php
$baseUrl = "https://escalateflow.com/api/v1";

function apiRequest($method, $url, $data = null) {
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
    curl_setopt($ch, CURLOPT_HTTPHEADER, [
        "Authorization: Bearer ef_live_xxxxxxxxxxxxxxxxxxxx",
        "Content-Type: application/json"
    ]);
    if ($data !== null) curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
    $response = curl_exec($ch);
    curl_close($ch);
    return json_decode($response, true);
}

// List your websites (projects)
$websites = apiRequest("GET", "$baseUrl/projects/");
echo "You have " . $websites["count"] . " websites\n";
$projectId = $websites["data"][0]["id"];

// List the pages of a website
$pages = apiRequest("GET", "$baseUrl/projects/$projectId/pages/")["pages"];

// Create a page
$page = apiRequest("POST", "$baseUrl/projects/$projectId/pages/", [
    "title" => "About us", "slug" => "about", "html" => "<h1>About us</h1>"
])["page"];

// Update it
apiRequest("PUT", "$baseUrl/projects/$projectId/pages/" . $page["id"] . "/", ["html" => "<h1>Updated</h1>"]);

Public Page URLs

URL PatternDescription
https://{subdomain}.escalateflow.com/Website homepage
https://{subdomain}.escalateflow.com/{slug}Website page
https://escalateflow.com/lp/{slug}/Standalone landing page