REST reference
590 operations, generated from the OpenAPI schema: always what the server offers. The other pages explain how to use them; this one lists them all.
Get your API keyHow to read it
Base URL /api/v1/, header Authorization: Bearer <API key>. {project_id} is the website id from GET /api/v1/projects/. Grouped by resource. Request fields are listed when the endpoint declares them; examples are on the topic pages (guide, settings, websites…). Machine-readable: /api/v1/schema/?format=json.
abandoned-checkouts
/api/v1/projects/{project_id}/abandoned-checkouts/List abandoned checkouts
Checkouts where the customer typed their email and left (captured only while the shop setting `abandoned_cart_emails` is on). `status`: `open` (not emailed yet), `emailed` (recovery email sent), `recovered` (ordered after the email), `converted` (ordered before any email). `stats` counts every status and the revenue of recovered orders.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | 1-200 (50) |
project_id | path | string (uuid) | yes | |
status | query | string (converted | emailed | open | recovered) | no |
access
/api/v1/projects/{project_id}/access/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/access/{access_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
access_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/access/{access_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
access_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
account
/api/v1/account/storage/cloudinary/The account's own Cloudinary (#394): connected, cloud_name, masked api_key, default_folder, last check, uploads, fallbacks to the platform storage and a warning. Never the secret.
/api/v1/account/storage/cloudinary/Connect (or replace) the account's Cloudinary: {cloud_name, api_key, api_secret, default_folder?}. The keys are checked with Cloudinary before they are saved; bad keys answer 400 with error.code invalid / invalid_cloud_name / invalid_credentials.
/api/v1/account/storage/cloudinary/Connect (or replace) the account's Cloudinary: {cloud_name, api_key, api_secret, default_folder?}. The keys are checked with Cloudinary before they are saved; bad keys answer 400 with error.code invalid / invalid_cloud_name / invalid_credentials.
/api/v1/account/storage/cloudinary/Disconnect: the keys are deleted; new uploads go to the platform storage and the images already in Cloudinary keep working.
/api/v1/account/storage/cloudinary/test/Check the stored Cloudinary keys again: data.ok, data.code, data.message, data.status.
/api/v1/account/traffic/Read-only traffic for websites owned by the API key owner. Requires an unbound key (account:read for scoped keys). Shared websites are excluded. No billing/enforcement actions. Returns the traffic_report command schema in data (SiteView only, schema_version 2).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | no | 1–366, default 30. |
actions
/api/v1/projects/{project_id}/actions/health/GET /api/v1/projects/{project_id}/actions/health/ Active form actions and automations of the project that are misconfigured or whose last real run failed (last 7 days): failures / successes counts, last error and when. Submissions are stored even when an action fails; this is how the owner finds out.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
activity-log
/api/v1/projects/{project_id}/activity-log/GET /api/v1/projects/{project_id}/audit-log/ Query params: action: filter by action (e.g., 'form.delete') resource_type: filter by resource type from: ISO date filter (created_at >= from) to: ISO date filter (created_at <= to) page, page_size: pagination
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
ad-platforms
/api/v1/projects/{project_id}/ad-platforms/GET /api/v1/projects/{project_id}/ad-platforms/ POST /api/v1/projects/{project_id}/ad-platforms/ A connection belongs to the account and serves the websites chosen for it: only their events are sent to it. POST without `website_ids` = this website only; `all_websites: true` = every website of the account.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/ad-platforms/GET /api/v1/projects/{project_id}/ad-platforms/ POST /api/v1/projects/{project_id}/ad-platforms/ A connection belongs to the account and serves the websites chosen for it: only their events are sent to it. POST without `website_ids` = this website only; `all_websites: true` = every website of the account.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/ad-platforms/{conn_id}/GET /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ PUT /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ DELETE /api/v1/projects/{project_id}/ad-platforms/{conn_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
conn_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/ad-platforms/{conn_id}/GET /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ PUT /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ DELETE /api/v1/projects/{project_id}/ad-platforms/{conn_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
conn_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/ad-platforms/{conn_id}/GET /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ PUT /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ DELETE /api/v1/projects/{project_id}/ad-platforms/{conn_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
conn_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
ai-pages
/api/v1/projects/{project_id}/ai-pages/ Deprecated · removed 2026-12-14List all pages for a specific project (website). GET /api/v1/projects/{project_id}/pages/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
analytics
/api/v1/projects/{project_id}/analytics/conversions/GET /api/v1/projects/{project_id}/analytics/conversions/ — the leads behind summary.totals.leads (form and landing-form submissions of this website, bots excluded). limit (max 1000) / offset.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/analytics/landings/GET /api/v1/projects/{project_id}/analytics/landings/ — #405: one row per page with its daily series (views, visitors, leads confirmed / pending, conversion), for the traffic of the filters (path, utm_*). ?export=csv answers the day x page rows as a CSV file.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/analytics/overview/GET /api/v1/projects/{project_id}/analytics/overview/ — DEPRECATED alias of summary (#342): summary's totals under the historical field names (total_pageviews = views, unique_visitors = visitors, total_conversions = leads).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/analytics/pageviews/GET /api/v1/projects/{project_id}/analytics/pageviews/ — the individual page views behind summary (SiteView, bots excluded). Filters: path, utm_source; limit (max 1000) / offset.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/analytics/summary/GET /api/v1/projects/{project_id}/analytics/summary/ — the standard analytics endpoint (#342): the website's dashboard data (apps/analytics/site_stats.py, the same numbers as /analytics/ in the dashboard). Period: ?days=7 | ?period=7d | ?date_from=YYYY-MM-DD&date_to=YYYY-MM-DD (default: last 30 days).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/analytics/top-pages/GET /api/v1/projects/{project_id}/analytics/top-pages/ — DEPRECATED alias of summary.top_pages (#342).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/analytics/utm/GET /api/v1/projects/{project_id}/analytics/utm/ — DEPRECATED alias (#342): per-campaign views/visitors/leads of the same source as summary (summary.utm_sources / campaigns), plus the account's UTM presets.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
api-keys
/api/v1/api-keys/ Deprecated · removed 2026-12-14List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/
/api/v1/api-keys/ Deprecated · removed 2026-12-14List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/
/api/v1/api-keys/{id}/ Deprecated · removed 2026-12-14One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/api-keys/{id}/ Deprecated · removed 2026-12-14One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/api-keys/{id}/ Deprecated · removed 2026-12-14One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
apply-theme
/api/v1/projects/{project_id}/apply-theme/PATCH /api/v1/projects/{id}/theme/ — apply a theme to a project.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
audit-log
/api/v1/projects/{project_id}/audit-log/GET /api/v1/projects/{project_id}/audit-log/ Filters: ?since=24h | ?since=7d ?from=2026-06-01T00:00&to=2026-06-02T00:00 ?endpoint_contains=/pages/ ?method=POST,PUT,DELETE ?response_status_gte=400 ?limit=50&offset=0
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/audit-log/{log_id}/GET /api/v1/projects/{project_id}/audit-log/{log_id}/ Returns full detail including request/response bodies.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
log_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
auth-settings
/api/v1/projects/{project_id}/auth-settings/GET/PATCH auth settings.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/auth-settings/GET/PATCH auth settings.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
automations
/api/v1/automations/triggers/GET /api/v1/automations/triggers/ — list supported trigger types.
/api/v1/projects/{project_id}/automations/GET / POST /api/v1/projects/{project_id}/automations/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/automations/GET / POST /api/v1/projects/{project_id}/automations/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/automations/{automation_id}/GET / PUT / DELETE /api/v1/projects/{project_id}/automations/{id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
automation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/automations/{automation_id}/GET / PUT / DELETE /api/v1/projects/{project_id}/automations/{id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
automation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/automations/{automation_id}/GET / PUT / DELETE /api/v1/projects/{project_id}/automations/{id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
automation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/automations/{automation_id}/logs/GET /api/v1/projects/{project_id}/automations/{id}/logs/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
automation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/automations/{automation_id}/test/POST /api/v1/projects/{project_id}/automations/{id}/test/ Fire the automation's handler synchronously with a sample payload (or the payload from request.data['context']). Runs immediately without adding a background job.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
automation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
batch
/api/v1/projects/{project_id}/batch/Execute multiple API operations in a single request. POST /api/v1/projects/{project_id}/batch/ Body: { "operations": [ { "id": "op1", "method": "POST", "path": "/forms/", "body": {"name": "Contact Form"} }, { "id": "op2", "method": "POST", "path": "/forms/{op1.form_id}/fields/", "body": {"label": "Name", "field_type": "text", "required": true} } ] } Each operation result is returned in order. Variable substitution allows referencing results from prior operations using {opId.field} syntax.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
block-types
/api/v1/block-types/GET /api/v1/block-types/ — list all registered block types.
blog
/api/v1/projects/{project_id}/blog/categories/List or create blog categories. GET /api/v1/projects/{project_id}/blog/categories/ POST /api/v1/projects/{project_id}/blog/categories/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/categories/List or create blog categories. GET /api/v1/projects/{project_id}/blog/categories/ POST /api/v1/projects/{project_id}/blog/categories/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/categories/{category_id}/Get, update, or delete a specific blog category. GET /api/v1/projects/{project_id}/blog/categories/{category_id}/ PUT /api/v1/projects/{project_id}/blog/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/blog/categories/{category_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/categories/{category_id}/Get, update, or delete a specific blog category. GET /api/v1/projects/{project_id}/blog/categories/{category_id}/ PUT /api/v1/projects/{project_id}/blog/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/blog/categories/{category_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/categories/{category_id}/#242: PATCH is the partial update the issue specifies; same as PUT (which is already partial).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/categories/{category_id}/#242: posts are never lost. ?posts=uncategorize (default) or ?posts=reassign&to=<category id of this project>. The category URL then 301s to /blog/ (or to the target category).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/page/Get or update the blog page HTML content. GET /api/v1/projects/{project_id}/blog/page/ PUT /api/v1/projects/{project_id}/blog/page/ Use shortcodes in your HTML: - [posts] - All posts - [posts featured=yes limit=6] - Featured posts - [posts category="tech"] - Posts by category - [blog_categories] - Category navigation - [recent_posts limit=5] - Recent posts sidebar
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/page/Get or update the blog page HTML content. GET /api/v1/projects/{project_id}/blog/page/ PUT /api/v1/projects/{project_id}/blog/page/ Use shortcodes in your HTML: - [posts] - All posts - [posts featured=yes limit=6] - Featured posts - [posts category="tech"] - Posts by category - [blog_categories] - Category navigation - [recent_posts limit=5] - Recent posts sidebar
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/post-template/Get or update the blog post detail page template. GET /api/v1/projects/{project_id}/blog/post-template/ PUT /api/v1/projects/{project_id}/blog/post-template/ The template uses post shortcodes which render the current post.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/post-template/Get or update the blog post detail page template. GET /api/v1/projects/{project_id}/blog/post-template/ PUT /api/v1/projects/{project_id}/blog/post-template/ The template uses post shortcodes which render the current post.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/List or create blog posts. GET /api/v1/projects/{project_id}/blog/posts/ POST /api/v1/projects/{project_id}/blog/posts/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/List or create blog posts. GET /api/v1/projects/{project_id}/blog/posts/ POST /api/v1/projects/{project_id}/blog/posts/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/bulk/POST /api/v1/projects/{pid}/blog/posts/bulk/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/Get, update, or delete a specific blog post. GET /api/v1/projects/{project_id}/blog/posts/{post_id}/ PUT /api/v1/projects/{project_id}/blog/posts/{post_id}/ DELETE /api/v1/projects/{project_id}/blog/posts/{post_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/Get, update, or delete a specific blog post. GET /api/v1/projects/{project_id}/blog/posts/{post_id}/ PUT /api/v1/projects/{project_id}/blog/posts/{post_id}/ DELETE /api/v1/projects/{project_id}/blog/posts/{post_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/PATCH is treated as partial PUT for backward compatibility.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/Get, update, or delete a specific blog post. GET /api/v1/projects/{project_id}/blog/posts/{post_id}/ PUT /api/v1/projects/{project_id}/blog/posts/{post_id}/ DELETE /api/v1/projects/{project_id}/blog/posts/{post_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/translations/GET /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ POST /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ Body: {"locale": "fr"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/translations/GET /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ POST /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ Body: {"locale": "fr"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/ List version history for a content object. Subclass and set `content_type` and `model_class`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/diff/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/{version_id}/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/{version_id}/restore/POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
post_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/preview-template/Preview a blog post template with SafeContentTemplate rendering. POST /api/v1/projects/{project_id}/blog/preview-template/ Body: {"template_html": "...", "template_css": "...", "post_id": "uuid" (optional)} Returns: rendered HTML If post_id is provided, uses that post's data. Otherwise uses sample data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/settings/Get or update blog settings for a website. GET /api/v1/projects/{project_id}/blog/settings/ PUT /api/v1/projects/{project_id}/blog/settings/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/blog/settings/Get or update blog settings for a website. GET /api/v1/projects/{project_id}/blog/settings/ PUT /api/v1/projects/{project_id}/blog/settings/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
calendars
/api/v1/projects/{project_id}/calendars/GET /api/v1/projects/{project_id}/calendars/ POST /api/v1/projects/{project_id}/calendars/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/GET /api/v1/projects/{project_id}/calendars/ POST /api/v1/projects/{project_id}/calendars/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/appointments/GET /api/v1/projects/{project_id}/calendars/{cal_id}/appointments/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/appointments/{appt_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/appointments/{appt_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
appt_id | path | string (uuid) | yes | |
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/availability/GET /api/v1/projects/{project_id}/calendars/{cal_id}/availability/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/availability/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/availability/GET /api/v1/projects/{project_id}/calendars/{cal_id}/availability/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/availability/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/availability/{avail_id}/DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/availability/{avail_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
avail_id | path | string (uuid) | yes | |
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/members/GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/members/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/members/GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/members/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
member_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
member_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
cal_id | path | string (uuid) | yes | |
member_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
cart
/api/v1/projects/{project_id}/cart/GET /projects/{id}/cart/ — get current cart
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/cart/clear/POST /projects/{id}/cart/clear/ — empty the cart
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/cart/items/POST /projects/{id}/cart/items/ — add item to cart Body: {"product_id": "uuid", "variant_id": "uuid" (optional), "quantity": 1}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/cart/items/{item_id}/PUT /projects/{id}/cart/items/{item_id}/ — update quantity DELETE /projects/{id}/cart/items/{item_id}/ — remove item
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
item_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/cart/items/{item_id}/PUT /projects/{id}/cart/items/{item_id}/ — update quantity DELETE /projects/{id}/cart/items/{item_id}/ — remove item
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
item_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/cart/merge/POST /projects/{id}/cart/merge/ — merge anonymous cart into user cart on login Body: {"session_key": "..."}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
categories
/api/v1/projects/{project_id}/categories/List or create categories for a website. GET /api/v1/projects/{project_id}/categories/ POST /api/v1/projects/{project_id}/categories/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/categories/List or create categories for a website. GET /api/v1/projects/{project_id}/categories/ POST /api/v1/projects/{project_id}/categories/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/categories/tree/GET /api/v1/projects/{project_id}/categories/tree/ Returns all categories as a nested tree structure.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/categories/{category_id}/Get, update, or delete a specific category. GET /api/v1/projects/{project_id}/categories/{category_id}/ PUT /api/v1/projects/{project_id}/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/categories/{category_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/categories/{category_id}/Get, update, or delete a specific category. GET /api/v1/projects/{project_id}/categories/{category_id}/ PUT /api/v1/projects/{project_id}/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/categories/{category_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/categories/{category_id}/Get, update, or delete a specific category. GET /api/v1/projects/{project_id}/categories/{category_id}/ PUT /api/v1/projects/{project_id}/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/categories/{category_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/categories/{category_id}/descendants/GET /api/v1/projects/{project_id}/categories/{category_id}/descendants/ Returns all sub-categories of a category.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
checkout
/api/v1/projects/{project_id}/checkout/POST /projects/{id}/checkout/ — place an order from a cart and start its payment (headless storefronts). The same order core as the storefront checkout (apps.shop.views_public.place_order): stock checked and taken under row locks, coupon and automatic discounts, shipping zones and tax by destination, gift card — every amount computed here, none taken from the client. Body: line_items [{product_id, variant_id?, quantity 1-999}] (1-50 lines), customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country, shipping_rate_id? (required when the shop has shipping zones), coupon_code?, gift_card_code?, payment_method 'card' (default, Stripe Checkout; success_url / cancel_url https) or 'transfer' (bank transfer instructions). Idempotency-Key header (optional, recommended): a retry with the same key returns the same order (200) instead of placing another. 201 {order, checkout_id, created, checkout_url | payment_instructions}; 200 the same for a replayed key; 409 {problems} out of stock; 400 field errors.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
checkouts
/api/v1/projects/{project_id}/checkouts/Create a checkout
A persistent checkout: the cart + customer + choices, priced on the server, from which the order is created exactly once (`complete/`). Creating or updating it reserves nothing and places no order. Fields: `lines` [{product_id, variant_id?, quantity 1-999}] (1-50), `customer` {customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country}, `shipping_rate_id` (a rate id or `pickup:<id>`), `coupon_code`, `gift_card_code`, `payment_method` `card` | `transfer`. Prices, discounts, shipping and tax always come from the server (`quote`); any amount the client sends is rejected or ignored.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/checkouts/{checkout_id}/Get a checkout
The checkout and its last quote (what the customer was shown).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
checkout_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/checkouts/{checkout_id}/Update a checkout
Change any field; the checkout is re-priced and the new quote returned. A completed checkout can no longer change (409). Fields: `lines` [{product_id, variant_id?, quantity 1-999}] (1-50), `customer` {customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country}, `shipping_rate_id` (a rate id or `pickup:<id>`), `coupon_code`, `gift_card_code`, `payment_method` `card` | `transfer`. Prices, discounts, shipping and tax always come from the server (`quote`); any amount the client sends is rejected or ignored.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
checkout_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/checkouts/{checkout_id}/complete/Complete a checkout (place the order, once)
Re-prices the checkout and creates the order exactly once: repeating the call — or N concurrent calls — returns the SAME order (`created: false`) and, for a card, the same Stripe payment link. If the total differs from `expected_total` (or from the last quote), nothing is charged: 409 with the new `quote` to show the customer; complete again to accept it. 409 with `problems` when an item sold out. Card: `success_url` and `cancel_url` (https) are required and the response carries `checkout_url` (Stripe). Transfer: the response carries the shop's `payment_instructions`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
checkout_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
chrome
/api/v1/projects/{project_id}/chrome/GET /api/v1/projects/{project_id}/chrome/ PUT /api/v1/projects/{project_id}/chrome/ Manage site-wide chrome (navbar, footer, global head HTML, global CSS).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/chrome/GET /api/v1/projects/{project_id}/chrome/ PUT /api/v1/projects/{project_id}/chrome/ Manage site-wide chrome (navbar, footer, global head HTML, global CSS).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
collections
/api/v1/projects/{project_id}/collections/List collections
GET / POST /api/v1/projects/{project_id}/collections/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/collections/Create a collection
* `title` (required), `slug` (from the title when missing; unique per project), `description`, `image_url`, `sort_order` (`manual`, `newest`, `price_asc`, `price_desc`, `name`), `is_published`, `position`, `seo_title`, `seo_description`. * `kind`: `manual` (default) — its products are set with `product_ids` (ordered list, replaces the list), or `automatic` — the active products matching `rules`, kept up to date when products change: ```json {"match": "all", "conditions": [ {"field": "tag", "op": "equals", "value": "gaming"}, {"field": "price", "op": "lt", "value": 500}]} ``` Fields and ops: `tag` (equals / not_equals), `vendor` / `product_type` / `title` (equals / not_equals / contains / not_contains, case-insensitive), `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 — a product metafield definition). `match`: `all` or `any`. 1-20 conditions. * `metafields`: {"namespace.key": value | null} for collection metafield definitions (merged; null deletes). * `kind` can't change after creation. Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/collections/{collection_id}/Get a collection
With its first products (`?limit=`, max 1000).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
collection_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/collections/{collection_id}/GET / PATCH / PUT / DELETE /api/v1/projects/{project_id}/collections/{collection_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
collection_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/collections/{collection_id}/Update a collection
* `title` (required), `slug` (from the title when missing; unique per project), `description`, `image_url`, `sort_order` (`manual`, `newest`, `price_asc`, `price_desc`, `name`), `is_published`, `position`, `seo_title`, `seo_description`. * `kind`: `manual` (default) — its products are set with `product_ids` (ordered list, replaces the list), or `automatic` — the active products matching `rules`, kept up to date when products change: ```json {"match": "all", "conditions": [ {"field": "tag", "op": "equals", "value": "gaming"}, {"field": "price", "op": "lt", "value": 500}]} ``` Fields and ops: `tag` (equals / not_equals), `vendor` / `product_type` / `title` (equals / not_equals / contains / not_contains, case-insensitive), `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 — a product metafield definition). `match`: `all` or `any`. 1-20 conditions. * `metafields`: {"namespace.key": value | null} for collection metafield definitions (merged; null deletes). * `kind` can't change after creation. Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
collection_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/collections/{collection_id}/Delete a collection
The products stay; only the collection goes.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
collection_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
content-types
/api/v1/projects/{project_id}/content-types/GET /api/v1/projects/{project_id}/content-types/ — list all POST /api/v1/projects/{project_id}/content-types/ — create
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/GET /api/v1/projects/{project_id}/content-types/ — list all POST /api/v1/projects/{project_id}/content-types/ — create
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ POST /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ GET query params: status: draft, published, archived locale: en, fr, etc. sort: field_name or -field_name filter[field_name]: value (exact match on JSONB) search: search across text fields page, page_size
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ POST /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ GET query params: status: draft, published, archived locale: en, fr, etc. sort: field_name or -field_name filter[field_name]: value (exact match on JSONB) search: search across text fields page, page_size
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/bulk/Bulk create entries.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/bulk/Bulk update entries.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/bulk/Bulk delete entries.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/export/GET /projects/{project_id}/content-types/{ct_slug}/entries/export/?export_format=json|csv (not ?format=: DRF keeps that parameter for its renderers and answers 404). The CSV imports back unchanged.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/import/POST /projects/{project_id}/content-types/{ct_slug}/entries/import/ Accept JSON body with entries array, or CSV file upload.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
entry_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
entry_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
entry_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/GET /projects/{project_id}/content-types/{ct_slug}/templates/ POST /projects/{project_id}/content-types/{ct_slug}/templates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/GET /projects/{project_id}/content-types/{ct_slug}/templates/ POST /projects/{project_id}/content-types/{ct_slug}/templates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/GET /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ PUT /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ DELETE /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes | |
tpl_slug | path | string | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/GET /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ PUT /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ DELETE /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes | |
tpl_slug | path | string | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/GET /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ PUT /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ DELETE /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes | |
tpl_slug | path | string | yes |
/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/preview/POST /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/preview/ Render a template with sample data. Accepts entry_id or inline data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ct_slug | path | string | yes | |
project_id | path | string (uuid) | yes | |
tpl_slug | path | string | yes |
conversion-goals
/api/v1/projects/{project_id}/conversion-goals/GET /api/v1/projects/{project_id}/conversion-goals/ POST /api/v1/projects/{project_id}/conversion-goals/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-goals/GET /api/v1/projects/{project_id}/conversion-goals/ POST /api/v1/projects/{project_id}/conversion-goals/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-goals/{goal_id}/GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ PUT /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ DELETE /api/v1/projects/{project_id}/conversion-goals/{goal_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
goal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-goals/{goal_id}/GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ PUT /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ DELETE /api/v1/projects/{project_id}/conversion-goals/{goal_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
goal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-goals/{goal_id}/GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ PUT /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ DELETE /api/v1/projects/{project_id}/conversion-goals/{goal_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
goal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-goals/{goal_id}/events/GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/events/?limit=50
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
goal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-goals/{goal_id}/stats/GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/stats/?period=30d Returns goal analytics: trigger count, unique visitors, rates, breakdowns by day/page/UTM source.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
goal_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
conversion-logs
/api/v1/projects/{project_id}/conversion-logs/GET /api/v1/projects/{project_id}/conversion-logs/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/conversion-logs/{log_id}/retry/POST /api/v1/projects/{project_id}/conversion-logs/{log_id}/retry/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
log_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
coupons
/api/v1/projects/{project_id}/coupons/List coupons
Newest first, with usage (`used_count`).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
active | query | boolean | no | `true`: active coupons only |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/coupons/Create a coupon
* `code`: letters, numbers, `-` and `_`; unique per project ignoring case (customers can type it in any case). * `discount_type`: `percent` (`value` = % off, max 100), `fixed` (`value` = amount off in the shop currency) or `free_shipping` (no `value`); default `percent`. `value` > 0 for percent/fixed. * **Automatic discounts**: `is_automatic: true` + `title` (shown to customers, e.g. "10% off orders over 100 €"), no `code` needed. They apply by themselves in the cart and checkout when their conditions hold. One products discount applies per order: the larger of the entered code and the best automatic one; free shipping (code or automatic) combines with it. `max_uses` / dates / `min_subtotal` work the same. * Optional limits: `starts_at` / `ends_at` (ISO datetimes, `ends_at` after `starts_at`), `min_subtotal` (products subtotal needed), `max_uses` (total orders). `used_count` is read-only and counted when an order is placed. * The discount comes off the products subtotal before shipping and tax. Customers enter the code on the checkout page. * Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
code | string | no | |
title | string | no | |
is_automatic | boolean | no | |
discount_type | DiscountTypeEnum | no | |
value | string (decimal) | no | |
is_active | boolean | no | |
starts_at | string (date-time) | no | |
ends_at | string (date-time) | no | |
min_subtotal | string (decimal) | no | |
max_uses | integer | no |
/api/v1/projects/{project_id}/coupons/{coupon_id}/Get a coupon
GET /api/v1/projects/{project_id}/coupons/{coupon_id}/ PUT /api/v1/projects/{project_id}/coupons/{coupon_id}/ (partial) PATCH /api/v1/projects/{project_id}/coupons/{coupon_id}/ DELETE /api/v1/projects/{project_id}/coupons/{coupon_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
coupon_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/coupons/{coupon_id}/Update a coupon
Partial: only the fields given change (PUT and PATCH behave the same). * `code`: letters, numbers, `-` and `_`; unique per project ignoring case (customers can type it in any case). * `discount_type`: `percent` (`value` = % off, max 100), `fixed` (`value` = amount off in the shop currency) or `free_shipping` (no `value`); default `percent`. `value` > 0 for percent/fixed. * **Automatic discounts**: `is_automatic: true` + `title` (shown to customers, e.g. "10% off orders over 100 €"), no `code` needed. They apply by themselves in the cart and checkout when their conditions hold. One products discount applies per order: the larger of the entered code and the best automatic one; free shipping (code or automatic) combines with it. `max_uses` / dates / `min_subtotal` work the same. * Optional limits: `starts_at` / `ends_at` (ISO datetimes, `ends_at` after `starts_at`), `min_subtotal` (products subtotal needed), `max_uses` (total orders). `used_count` is read-only and counted when an order is placed. * The discount comes off the products subtotal before shipping and tax. Customers enter the code on the checkout page. * Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
coupon_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
code | string | no | |
title | string | no | |
is_automatic | boolean | no | |
discount_type | DiscountTypeEnum | no | |
value | string (decimal) | no | |
is_active | boolean | no | |
starts_at | string (date-time) | no | |
ends_at | string (date-time) | no | |
min_subtotal | string (decimal) | no | |
max_uses | integer | no |
/api/v1/projects/{project_id}/coupons/{coupon_id}/Update a coupon (partial)
Same as PUT. * `code`: letters, numbers, `-` and `_`; unique per project ignoring case (customers can type it in any case). * `discount_type`: `percent` (`value` = % off, max 100), `fixed` (`value` = amount off in the shop currency) or `free_shipping` (no `value`); default `percent`. `value` > 0 for percent/fixed. * **Automatic discounts**: `is_automatic: true` + `title` (shown to customers, e.g. "10% off orders over 100 €"), no `code` needed. They apply by themselves in the cart and checkout when their conditions hold. One products discount applies per order: the larger of the entered code and the best automatic one; free shipping (code or automatic) combines with it. `max_uses` / dates / `min_subtotal` work the same. * Optional limits: `starts_at` / `ends_at` (ISO datetimes, `ends_at` after `starts_at`), `min_subtotal` (products subtotal needed), `max_uses` (total orders). `used_count` is read-only and counted when an order is placed. * The discount comes off the products subtotal before shipping and tax. Customers enter the code on the checkout page. * Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
coupon_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
code | string | no | |
title | string | no | |
is_automatic | boolean | no | |
discount_type | DiscountTypeEnum | no | |
value | string (decimal) | no | |
is_active | boolean | no | |
starts_at | string (date-time) | no | |
ends_at | string (date-time) | no | |
min_subtotal | string (decimal) | no | |
max_uses | integer | no |
/api/v1/projects/{project_id}/coupons/{coupon_id}/Delete a coupon
Past orders keep the code and discount they used.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
coupon_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
courses
/api/v1/projects/{project_id}/courses/List courses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/Create a course
Body: `title`, optional `slug`, `description`, `cover_url`, `status` (`draft` | `published`), `product_id` (the product that sells it: buying it grants the course). Served at /courses/<slug>/; preview lessons are public, the rest need access (see Access grants).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/Get a course (modules, lessons, products)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/Update a course
Any of the create fields.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/Delete a course and its lessons
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/lessons/Add a lesson
Body: `title`, optional `type` (`text` | `video` | `download`), `content_html`, `video_id`, `file_id` (a product file), `module_id`, `is_preview` (public without access), `duration_s`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/lessons/{lesson_id}/Get a lesson
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
lesson_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/lessons/{lesson_id}/Update a lesson
Any of the create fields.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
lesson_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/lessons/{lesson_id}/Delete a lesson
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
lesson_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/modules/Add a module (section) to a course
Body: `{"title"}`; it goes last.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/modules/{module_id}/Rename a module
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
module_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/modules/{module_id}/Delete a module
Its lessons stay in the course, without a module.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
module_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/reorder/Reorder modules and lessons
Body: `{"modules": [ids in order], "lessons": [ids in order]}` (either list; each must list every module / lesson id of the course exactly once).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/courses/{course_id}/students/A course's students and their progress
Everyone holding a grant for the course (any status). Give or revoke access with Access grants.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
course_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
data-export
/api/v1/projects/{project_id}/data-export/Export the website's personal data (NDJSON)
Every personal record the website holds (customers, addresses, access, orders, form submissions, bookings), one JSON object per line, streamed as an attachment. For the owner: portability, or taking the data along when leaving.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
documents
/api/v1/projects/{project_id}/documents/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/documents/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/documents/{doc_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
doc_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/documents/{doc_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
doc_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/documents/{doc_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
doc_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/documents/{doc_id}/file/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
doc_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
domains
/api/v1/projects/{project_id}/domains/GET /api/v1/projects/{project_id}/domains/ POST /api/v1/projects/{project_id}/domains/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/domains/GET /api/v1/projects/{project_id}/domains/ POST /api/v1/projects/{project_id}/domains/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/domains/{domain_id}/GET /api/v1/projects/{project_id}/domains/{domain_id}/ PUT /api/v1/projects/{project_id}/domains/{domain_id}/ DELETE /api/v1/projects/{project_id}/domains/{domain_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
domain_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/domains/{domain_id}/GET /api/v1/projects/{project_id}/domains/{domain_id}/ PUT /api/v1/projects/{project_id}/domains/{domain_id}/ DELETE /api/v1/projects/{project_id}/domains/{domain_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
domain_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/domains/{domain_id}/GET /api/v1/projects/{project_id}/domains/{domain_id}/ PUT /api/v1/projects/{project_id}/domains/{domain_id}/ DELETE /api/v1/projects/{project_id}/domains/{domain_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
domain_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/domains/{domain_id}/verify/POST /api/v1/projects/{project_id}/domains/{domain_id}/verify/ Checks SSL status with Cloudflare and updates the domain record. Call this after DNS is pointed to check if SSL is ready.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
domain_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
draft-orders
/api/v1/projects/{project_id}/draft-orders/List draft orders
GET / POST /api/v1/projects/{project_id}/draft-orders/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | 1-200 (50) |
project_id | path | string (uuid) | yes | |
status | query | string | no | open, invoice_sent, completed, cancelled |
/api/v1/projects/{project_id}/draft-orders/Create a draft order
* `lines` (required on create): catalogue lines `{"product_id", "variant_id"?, "quantity", "price"?}` (the price defaults to the product's / variant's; a given price overrides it) or custom lines `{"title", "price", "quantity", "taxable"?}`. Max 100 lines. PATCH with `lines` replaces them all. * `discount` (amount off the products) and `discount_label`; `shipping_cost` and `shipping_method`. * Customer: `customer_name`, `customer_email`, `customer_phone`, `shipping_address`, `shipping_city`, `shipping_postal_code`, `shipping_country` (needed to complete). `note` (internal). * Totals are computed as at checkout: tax at the shop rate, or the country's (`shop/tax-rates/`), on the taxable lines + shipping, included in prices or added on top. * `complete/` turns it into an order: stock checked and taken, order emails sent, `order.created` webhook; `{"paid": true}` creates it paid (e.g. paid by phone), otherwise pending (bank transfer). * Completed drafts can't change. Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/draft-orders/{draft_id}/Get a draft order
GET / PATCH / DELETE /api/v1/projects/{project_id}/draft-orders/{draft_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
draft_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/draft-orders/{draft_id}/GET / PATCH / DELETE /api/v1/projects/{project_id}/draft-orders/{draft_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
draft_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/draft-orders/{draft_id}/Update a draft order
* `lines` (required on create): catalogue lines `{"product_id", "variant_id"?, "quantity", "price"?}` (the price defaults to the product's / variant's; a given price overrides it) or custom lines `{"title", "price", "quantity", "taxable"?}`. Max 100 lines. PATCH with `lines` replaces them all. * `discount` (amount off the products) and `discount_label`; `shipping_cost` and `shipping_method`. * Customer: `customer_name`, `customer_email`, `customer_phone`, `shipping_address`, `shipping_city`, `shipping_postal_code`, `shipping_country` (needed to complete). `note` (internal). * Totals are computed as at checkout: tax at the shop rate, or the country's (`shop/tax-rates/`), on the taxable lines + shipping, included in prices or added on top. * `complete/` turns it into an order: stock checked and taken, order emails sent, `order.created` webhook; `{"paid": true}` creates it paid (e.g. paid by phone), otherwise pending (bank transfer). * Completed drafts can't change. Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
draft_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/draft-orders/{draft_id}/Delete a draft order
Completed drafts stay (they point to their order).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
draft_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/draft-orders/{draft_id}/complete/Complete a draft order
Creates the order (stock taken, emails, `order.created` webhook). `{"paid": true}`: already paid; otherwise pending (bank transfer).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
draft_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/draft-orders/{draft_id}/send-invoice/Send the invoice
Emails the customer the order with a link (`invoice_url`, on the shop) where they review it and pay by card (when the project has Stripe connected) or confirm it for bank transfer; paying completes the draft. `{"send_email": false}` only creates the link (to share it yourself).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
draft_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
email-stats
/api/v1/projects/{project_id}/email-stats/GET /api/v1/projects/{project_id}/email-stats/?period=30d Returns a full overview of email performance across all forms and rules for this website. Includes totals, rates, daily time series, per-rule breakdown, and per-form breakdown.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
email-templates
/api/v1/projects/{project_id}/email-templates/GET /api/v1/projects/{project_id}/email-templates/ POST /api/v1/projects/{project_id}/email-templates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/email-templates/GET /api/v1/projects/{project_id}/email-templates/ POST /api/v1/projects/{project_id}/email-templates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/email-templates/{tpl_id}/GET/PUT/DELETE /api/v1/projects/{project_id}/email-templates/{tpl_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tpl_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/email-templates/{tpl_id}/GET/PUT/DELETE /api/v1/projects/{project_id}/email-templates/{tpl_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tpl_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/email-templates/{tpl_id}/GET/PUT/DELETE /api/v1/projects/{project_id}/email-templates/{tpl_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tpl_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/email-templates/{tpl_id}/preview/POST /api/v1/projects/{project_id}/email-templates/{tpl_id}/preview/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tpl_id | path | string (uuid) | yes |
events
/api/v1/projects/{project_id}/events/POST /api/v1/projects/{project_id}/events/ Track a custom event (modal_open, whatsapp_click, scroll_50, etc.) Body: { "event_name": "whatsapp_click", "session_id": "abc123", "page_url": "/pricing/", "props": {"plan": "premium", "source": "hero_cta"} } GET /api/v1/projects/{project_id}/events/?event_name=whatsapp_click&days=7 List custom events with optional filters.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/events/POST /api/v1/projects/{project_id}/events/ Track a custom event (modal_open, whatsapp_click, scroll_50, etc.) Body: { "event_name": "whatsapp_click", "session_id": "abc123", "page_url": "/pricing/", "props": {"plan": "premium", "source": "hero_cta"} } GET /api/v1/projects/{project_id}/events/?event_name=whatsapp_click&days=7 List custom events with optional filters.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
experiments
/api/v1/projects/{project_id}/experiments/GET /api/v1/projects/{project_id}/experiments/ POST /api/v1/projects/{project_id}/experiments/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/experiments/Create 2–6 weighted variants (weights total 100). The first variant is the control. Legacy control_landing, variant_landing and variant_weight remain supported.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
variants | no | 2–6 active entries: {landing_id, weight, key?}. Integer weights 1–99, total 100. Keys are returned by GET; omit keys for new variants. The first page on creation is control. | |
name | string | yes | |
description | string | no | |
control_landing | string | no | |
variant_landing | string | no | |
variant_weight | integer | no | |
scheduled_end | string (date-time) | no | |
smart_mode_enabled | boolean | no | |
smart_mode_min_pageviews | integer | no | |
smart_mode_confidence | number (double) | no | |
goals | array of object | no |
/api/v1/projects/{project_id}/experiments/{exp_id}/GET /api/v1/projects/{project_id}/experiments/{exp_id}/ PUT /api/v1/projects/{project_id}/experiments/{exp_id}/ DELETE /api/v1/projects/{project_id}/experiments/{exp_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
exp_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/experiments/{exp_id}/Update the active variants list. Keep existing keys/pages; omit a variant to pause it. Existing assignments stay unchanged; paused-arm visitors see control. While running only variants may change.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
exp_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
variants | no | 2–6 active entries: {landing_id, weight, key?}. Integer weights 1–99, total 100. Keys are returned by GET; omit keys for new variants. The first page on creation is control. | |
name | string | no | |
description | string | no | |
variant_weight | integer | no | |
scheduled_end | string (date-time) | no | |
smart_mode_enabled | boolean | no | |
smart_mode_min_pageviews | integer | no | |
smart_mode_confidence | number (double) | no |
/api/v1/projects/{project_id}/experiments/{exp_id}/GET /api/v1/projects/{project_id}/experiments/{exp_id}/ PUT /api/v1/projects/{project_id}/experiments/{exp_id}/ DELETE /api/v1/projects/{project_id}/experiments/{exp_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
exp_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/experiments/{exp_id}/pause/POST /api/v1/projects/{project_id}/experiments/{exp_id}/pause/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
exp_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/experiments/{exp_id}/results/GET /api/v1/projects/{project_id}/experiments/{exp_id}/results/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
exp_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/experiments/{exp_id}/start/POST /api/v1/projects/{project_id}/experiments/{exp_id}/start/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
exp_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
forms
/api/v1/projects/{project_id}/forms/List or create forms for a website. GET /api/v1/projects/{project_id}/forms/ POST /api/v1/projects/{project_id}/forms/ { "name": "Contact Form", "slug": "contact", "description": "Contact us form", "submit_button_text": "Send Message", "success_message": "Thanks for contacting us!", "redirect_url": "/thank-you/" // optional }
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/List or create forms for a website. GET /api/v1/projects/{project_id}/forms/ POST /api/v1/projects/{project_id}/forms/ { "name": "Contact Form", "slug": "contact", "description": "Contact us form", "submit_button_text": "Send Message", "success_message": "Thanks for contacting us!", "redirect_url": "/thank-you/" // optional }
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/Get, update or delete a form. GET /api/v1/projects/{project_id}/forms/{form_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/Get, update or delete a form. GET /api/v1/projects/{project_id}/forms/{form_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/PATCH is treated as partial PUT.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/Get, update or delete a form. GET /api/v1/projects/{project_id}/forms/{form_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/GET /api/v1/projects/{project_id}/forms/{form_id}/actions/ POST /api/v1/projects/{project_id}/forms/{form_id}/actions/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/GET /api/v1/projects/{project_id}/forms/{form_id}/actions/ POST /api/v1/projects/{project_id}/forms/{form_id}/actions/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
action_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
action_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
action_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/logs/GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/logs/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
action_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/test/POST /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/test/ Execute an action with sample data without creating a real submission.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
action_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/analytics/GET /api/v1/projects/{project_id}/forms/{form_id}/analytics/ Returns form performance analytics optimized for agent consumption: - Overall conversion rate - Performance by page URL - Field dropoff analysis - Redirect distribution - UTM attribution
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ the form's rules POST /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ add a rule Body: event (lead, complete_registration, subscribe, purchase, contact, schedule, start_trial, view_content, sign_up, or a custom name), when ("submit" | "confirm"), destinations (["pixel", "server"]), conditions ({"all": [{field, op, value}]} or {"any": [...]}), linked_form_id, if_no_answer ("send" | "skip"), wait_minutes, value, currency, value_rules ([{"if": conditions, "value": n}]), name, is_active. A form without rules reports one Lead when the lead is complete, as always; with rules, only what they say.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ the form's rules POST /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ add a rule Body: event (lead, complete_registration, subscribe, purchase, contact, schedule, start_trial, view_content, sign_up, or a custom name), when ("submit" | "confirm"), destinations (["pixel", "server"]), conditions ({"all": [{field, op, value}]} or {"any": [...]}), linked_form_id, if_no_answer ("send" | "skip"), wait_minutes, value, currency, value_rules ([{"if": conditions, "value": n}]), name, is_active. A form without rules reports one Lead when the lead is complete, as always; with rules, only what they say.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
rule_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
rule_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
rule_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
rule_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/event-log/GET /api/v1/projects/{project_id}/forms/{form_id}/event-log/?period=30d Returns a unified view of everything that happened after form submissions: total submissions, email deliveries, webhook fires, conversion goals. This is the dashboard for the unified event service.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/fields/List or create fields for a form. GET /api/v1/projects/{project_id}/forms/{form_id}/fields/ POST /api/v1/projects/{project_id}/forms/{form_id}/fields/ { "name": "email", "field_type": "email", "label": "Email Address", "placeholder": "[email protected]", "required": true } Field types: text, email, phone, number, textarea, select, radio, checkbox, url, date, hidden
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/fields/List or create fields for a form. GET /api/v1/projects/{project_id}/forms/{form_id}/fields/ POST /api/v1/projects/{project_id}/forms/{form_id}/fields/ { "name": "email", "field_type": "email", "label": "Email Address", "placeholder": "[email protected]", "required": true } Field types: text, email, phone, number, textarea, select, radio, checkbox, url, date, hidden
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
field_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
field_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
field_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
field_id | path | string (uuid) | yes | |
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/funnel/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/schema/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/schema/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/sessions/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/sessions/{session_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
session_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/sessions/{session_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
session_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/submissions/List submissions for a form. GET /api/v1/projects/{project_id}/forms/{form_id}/submissions/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/trial/Opt-in trial funnel of a form (docs/forms/trial-funnel.md). GET /api/v1/projects/{pid}/forms/{fid}/trial/ config, readiness problems, lead counts, leads (?state=, page) PUT /api/v1/projects/{pid}/forms/{fid}/trial/ {"trial_product_id": uuid|null, "trial_email_sequence": [...]}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/trial/Opt-in trial funnel of a form (docs/forms/trial-funnel.md). GET /api/v1/projects/{pid}/forms/{fid}/trial/ config, readiness problems, lead counts, leads (?state=, page) PUT /api/v1/projects/{pid}/forms/{fid}/trial/ {"trial_product_id": uuid|null, "trial_email_sequence": [...]}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/versions/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/ List version history for a content object. Subclass and set `content_type` and `model_class`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/versions/diff/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/versions/{version_id}/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/forms/{form_id}/versions/{version_id}/restore/POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
form_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
funnels
/api/v1/projects/{project_id}/funnels/GET /api/v1/projects/{project_id}/funnels/ POST /api/v1/projects/{project_id}/funnels/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/GET /api/v1/projects/{project_id}/funnels/ POST /api/v1/projects/{project_id}/funnels/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/import/POST /api/v1/projects/{project_id}/funnels/import/ {"funnel": <exported JSON>, "name": "optional"} Creates the funnel 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 that still need their form, goal or page chosen (PATCH the flow).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/templates/GET /api/v1/projects/{project_id}/funnels/templates/: the ready-made flows (POST /funnels/ with template=<id>).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/ PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/ PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/#405: the same partial update as PUT (only the fields sent change).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/ PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/analytics/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/analytics/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/duplicate/POST /api/v1/projects/{project_id}/funnels/{funnel_id}/duplicate/ {"project_id": "<other website>", "name": ...} A copy of the funnel on the same website, or on another website of the account (`project_id`), mapped there like an import.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/export/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/export/: the funnel as JSON (to import elsewhere).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/goals/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/goals/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/stats/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/stats/?period=30d&include_test=false&step=<id>|* The live numbers of every step: people, previous step, % that goes on, people lost, cost per person (with the Meta spend of the platform's own ad websites), the running A/B test of a page step, and for `step` (one id, or *) the breakdown by ad, platform and device plus the latest sign-ups. Same period parameters as the analytics (period / days / date_from / date_to). A paused funnel answers paused: true and no numbers.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/GET /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/reorder/POST /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/reorder/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
step_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
funnel_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
step_id | path | string (uuid) | yes |
gift-cards
/api/v1/projects/{project_id}/gift-cards/List gift cards
GET / POST /api/v1/projects/{project_id}/gift-cards/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | 1-200 (50) |
project_id | path | string (uuid) | yes | |
q | query | string | no | Code (or its last characters) or customer email |
usable | query | boolean | no | `1`: only active, unexpired, with balance |
/api/v1/projects/{project_id}/gift-cards/Create a gift card
A gift card is a code with a balance. At checkout the customer enters it next to the discount code; it pays what it can of the order total (after discounts, shipping and tax) and the rest is paid by card or bank transfer. An order fully paid by gift card is created as paid. Cancelling the order gives the amount back to the card. * `value` (required on create, 0.01-10000): initial balance, in the shop currency. * `code` (optional): 8-32 letters/digits (dashes and spaces ignored, any case); generated when missing (16 characters, shown as `ABCD-EFGH-JKLM-NPQR`). Unique per project. * `expires_at` (`YYYY-MM-DD` or null), `customer_email`, `note`, `is_active`. * The balance only changes through orders and `adjust/` (`{"amount": 10}` adds, `{"amount": -5}` takes; never below 0), and every change is listed in `transactions`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/gift-cards/{card_id}/Get a gift card
With its last 100 balance changes.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
card_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/gift-cards/{card_id}/GET / PATCH /api/v1/projects/{project_id}/gift-cards/{card_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
card_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/gift-cards/{card_id}/Update a gift card
`is_active`, `expires_at`, `customer_email`, `note`. Disable a card with `{"is_active": false}`; its history stays.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
card_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/gift-cards/{card_id}/adjust/Adjust a gift card balance
`amount` adds (positive) or takes (negative); the balance never goes below 0. Optional `note`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
card_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
grants
/api/v1/projects/{project_id}/grants/List access grants
Who can open what: one row per (customer, resource). Purchases create them (the product's access list), and so do manual grants. `valid` = active now (started, not ended, not revoked).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
email | query | string | no | Customer email (case-insensitive) |
limit | query | integer | no | Page size |
offset | query | integer | no | Items to skip (default 0) |
project_id | path | string (uuid) | yes | |
resource_id | query | string | no | |
resource_type | query | string | no | |
status | query | string (active | pending | revoked) | no | |
valid | query | boolean | no | true: only grants valid right now |
/api/v1/projects/{project_id}/grants/Give access to a customer
Grants one resource to an email (the customer account is created if needed). `resource_type` is one of `page`, `post`, `course`, `file`, `video`, `tier`; `resource_id` is the id of that resource in this website. Body: `email`, `resource_type`, `resource_id`, optional `name`, `duration_days` (1-36500, null = no end), `note`, `send_login_link` (default true: emails a sign-in link on a new grant). Giving the same resource again returns the existing grant with 200 and `created: false`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/grants/{grant_id}/Get an access grant
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
grant_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/grants/{grant_id}/Revoke an access grant
The customer loses access at once; the row stays (status `revoked`) for the history. `revoked` is false when it was already revoked.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
grant_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
reason | query | string | no | Stored as revoke_reason |
groups
/api/v1/projects/{project_id}/groups/GET: List groups. POST: Create group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/groups/GET: List groups. POST: Create group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/groups/{group_id}/GET/PATCH/DELETE a group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/groups/{group_id}/GET/PATCH/DELETE a group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/groups/{group_id}/GET/PATCH/DELETE a group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/groups/{group_id}/members/POST: Add user to group. DELETE: Remove user from group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/groups/{group_id}/members/POST: Add user to group. DELETE: Remove user from group.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
group_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
invitations
/api/v1/projects/{project_id}/invitations/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/invitations/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/invitations/{invitation_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
invitation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/invitations/{invitation_id}/resend/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
invitation_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
keys
/api/v1/keys/List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/
/api/v1/keys/List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/
/api/v1/keys/permissions/GET /api/v1/keys/permissions/: every permission a key can hold, grouped, and the presets (#416).
/api/v1/keys/{id}/One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/keys/{id}/One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/keys/{id}/One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
legal
/api/v1/projects/{project_id}/legal/The website's legal pages
The stored business details, each of the four pages (legal notice, privacy, cookies, terms; null if missing) and whether the footer links them.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/legal/Create the legal pages
Body: `business_name`, `tax_id`, `address`, `email`, optional `phone`, `registry`, `sells_physical`, `sells_digital`, `overwrite` (bool). Creates the legal notice, privacy, cookies and terms pages in the site's language and links them in the footer. Existing pages are kept unless `overwrite` is true. All or nothing: if one page cannot be made, none is. Starting templates, not legal advice. 201 when a page was created, 200 otherwise; `created` / `updated` / `kept` list the kinds.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
locales
/api/v1/projects/{project_id}/locales/List and create locales for a project.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/locales/List and create locales for a project.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/locales/{locale_id}/Get, update, or delete a locale.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
locale_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/locales/{locale_id}/Get, update, or delete a locale.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
locale_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/locales/{locale_id}/Get, update, or delete a locale.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
locale_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
mcp
/api/v1/mcpMCP JSON-RPC 2.0 endpoint. POST /api/v1/mcp/ Authorization: Bearer ef_xxxxxxxxxxxxxxxxxxxx Handles: initialize, tools/list, tools/call, resources/list
/api/v1/mcp/MCP JSON-RPC 2.0 endpoint. POST /api/v1/mcp/ Authorization: Bearer ef_xxxxxxxxxxxxxxxxxxxx Handles: initialize, tools/list, tools/call, resources/list
/api/v1/mcp/manifest/GET /api/v1/mcp/manifest Public MCP tool discovery endpoint.
media
/api/v1/projects/{project_id}/media/GET /api/v1/projects/{project_id}/media/ Query params: search: search title, filename, alt_text mime_type: filter by type (image/*, application/pdf) folder: filter by folder tag: filter by tag page, page_size: pagination
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/media/bulk-tag/POST /api/v1/projects/{project_id}/media/bulk-tag/ Body: {"ids": ["uuid1", "uuid2"], "tags": ["hero", "banner"]} Add tags to multiple media files at once.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/media/move/POST /api/v1/projects/{project_id}/media/move/ Body: {"ids": ["uuid1", "uuid2"], "folder": "/new/folder/"} Move multiple media files to a new folder.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/media/upload/POST /api/v1/projects/{project_id}/media/upload/ Generic image upload endpoint. Returns a CDN URL. Accepts multipart file upload or base64 data URI. Request (multipart/form-data): image: File (required) folder: string (optional, default: "media") Request (JSON): image_data: "data:image/jpeg;base64,..." filename: "photo.jpg" (optional) folder: "media" (optional) Response: {"success": true, "url": "https://cdn.example.com/media/abc123.jpg"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/media/{media_id}/GET /api/v1/projects/{project_id}/media/{media_id}/ — detail PUT /api/v1/projects/{project_id}/media/{media_id}/ — update metadata DELETE /api/v1/projects/{project_id}/media/{media_id}/ — delete
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
media_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/media/{media_id}/GET /api/v1/projects/{project_id}/media/{media_id}/ — detail PUT /api/v1/projects/{project_id}/media/{media_id}/ — update metadata DELETE /api/v1/projects/{project_id}/media/{media_id}/ — delete
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
media_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/media/{media_id}/GET /api/v1/projects/{project_id}/media/{media_id}/ — detail PUT /api/v1/projects/{project_id}/media/{media_id}/ — update metadata DELETE /api/v1/projects/{project_id}/media/{media_id}/ — delete
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
media_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
member-hooks
/api/v1/projects/{project_id}/member-hooks/List member hooks
Signing secrets are shown truncated here; GET one hook to see it whole.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-hooks/Create a member hook (payment provider webhook)
Connects a payment provider so its subscription events create, renew and end memberships. Body: `provider` (`lemonsqueezy`, `gumroad`, `paddle`, `stripe`, `generic`; one hook per provider), optional `default_tier` (slug or id, for products not matched by a tier's `external_ids`), `signing_secret` (16+ characters; generated if omitted). Paste the returned `url` and secret in the provider.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-hooks/{hook_id}/Get a member hook (with its signing secret)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
hook_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-hooks/{hook_id}/Update a member hook
Any of `default_tier`, `signing_secret`, `is_active`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
hook_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-hooks/{hook_id}/Delete a member hook
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
hook_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-hooks/{hook_id}/events/A member hook's received deliveries
Newest first, with what each one did (`result`, `message`); for debugging a provider setup.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
hook_id | path | string (uuid) | yes | |
limit | query | integer | no | Page size |
payload | query | boolean | no | Include the raw payload |
project_id | path | string (uuid) | yes |
member-subscriptions
/api/v1/projects/{project_id}/member-subscriptions/List member subscriptions
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
active | query | boolean | no | true: only those granting access now |
email | query | string | no | |
page | query | integer | no | |
page_size | query | integer | no | Default 50, max 200 |
project_id | path | string (uuid) | yes | |
source | query | string | no | |
status | query | string | no | active, trialing, past_due, paused, cancelled, expired |
tier | query | string | no | Tier slug |
/api/v1/projects/{project_id}/member-subscriptions/Give a membership by email
Body: `email`, `tier` (slug or id), optional `source` (`manual` | `comp`; provider subscriptions come from member hooks), `status` (active, trialing, past_due, paused, cancelled, expired; default active), `current_period_end`, `external_id`, `name`, `note`. Creates the member if needed (`created_member`).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-subscriptions/{sub_id}/Get a member subscription
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-subscriptions/{sub_id}/Update a member subscription
Any of `status`, `tier` (slug or id), `current_period_end`, `cancel_at_period_end`, `note`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-subscriptions/{sub_id}/Revoke a member subscription
Sets the status to `expired` (the row stays); access ends at once.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
member-tiers
/api/v1/projects/{project_id}/member-tiers/List member tiers
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-tiers/Create a member tier
Fields: `name`, `slug`, `description`, `is_paid`, `monthly_price`, `yearly_price`, `currency`, `trial_days`, `benefits` (list), `checkout_url` (where members pay: your provider), `external_ids` (the provider's product / price ids, matched by member hooks), `is_active`, `sort_order`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-tiers/{tier_id}/Get a member tier
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tier_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-tiers/{tier_id}/Update a member tier
Any of the create fields (PUT behaves like PATCH).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tier_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-tiers/{tier_id}/Update a member tier
Any of the create fields (PUT behaves like PATCH).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tier_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/member-tiers/{tier_id}/Delete a member tier
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
tier_id | path | string (uuid) | yes |
metafield-definitions
/api/v1/projects/{project_id}/metafield-definitions/List metafield definitions
`?owner_type=product|variant|collection`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/Create a metafield definition
A definition declares one typed field of the project's products, variants or collections: * `owner_type`: `product` (default), `variant` or `collection`. * `namespace` + `key` (lowercase letters, digits, `_`; start with a letter; max 50 each): the value's address, `namespace.key` (e.g. `specs.ram`). * `name` (required, shown in spec tables), `description`, `position` (display order). * `type`: single_line_text, multi_line_text, rich_text, integer, decimal, boolean, date, date_time, url, file_reference, color, money, rating, weight, dimension, volume, product_reference, collection_reference, json, list.single_line_text, list.integer, list.decimal, list.date, list.url, list.file_reference, list.color, list.product_reference, list.collection_reference, list.weight, list.dimension, list.volume. * `validations` (optional): `min` / `max`, `min_length` / `max_length` / `regex`, `choices`, `unit` (display unit for integer / decimal: `"GB"`), `scale_min` / `scale_max` (rating), `units` (allowed measurement units), `min_items` / `max_items` (lists). * `storefront_visible`: exposed by the public API and listed in the storefront specifications table. * `filterable`: usable in `mf.` / `mf_min.` / `mf_max.` filters and returned by `facets=1` (single_line_text, integer, decimal, boolean, date, color, rating, weight, dimension, volume, product_reference, collection_reference, list.single_line_text, list.integer, list.decimal, list.color). `type`, `namespace`, `key` and `owner_type` can't change while values exist (409): create a new definition and move the values with `POST /metafields/set/`. Deleting a definition deletes its values (`?keep_values=1` keeps them hidden in the owners' JSON).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/import/Copy technical_specs / attributes values into metafields
`mapping` maps a source label to a product definition: {"RAM": "specs.ram"}. Each product's value is converted to the definition's type ("16 GB" -> 16); values that don't fit are reported and skipped. Existing metafield values are kept unless `overwrite` is true. `remove_source: true` deletes each converted label from the source (so the spec table doesn't show it twice); otherwise the source is not changed. `dry_run: true` reports without saving.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/suggest/Suggest definitions from technical_specs / attributes
Reads the products' free-form `technical_specs` (or `?source=attributes`) and proposes one definition per label, with the type inferred from the values ("16 GB" -> integer, unit GB). Nothing is saved: create the ones you want, then `POST /metafield-definitions/import/` copies the values.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/Get a metafield definition
GET / PATCH / PUT / DELETE /api/v1/projects/{project_id}/metafield-definitions/{definition_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
definition_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/GET / PATCH / PUT / DELETE /api/v1/projects/{project_id}/metafield-definitions/{definition_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
definition_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/Update a metafield definition
A definition declares one typed field of the project's products, variants or collections: * `owner_type`: `product` (default), `variant` or `collection`. * `namespace` + `key` (lowercase letters, digits, `_`; start with a letter; max 50 each): the value's address, `namespace.key` (e.g. `specs.ram`). * `name` (required, shown in spec tables), `description`, `position` (display order). * `type`: single_line_text, multi_line_text, rich_text, integer, decimal, boolean, date, date_time, url, file_reference, color, money, rating, weight, dimension, volume, product_reference, collection_reference, json, list.single_line_text, list.integer, list.decimal, list.date, list.url, list.file_reference, list.color, list.product_reference, list.collection_reference, list.weight, list.dimension, list.volume. * `validations` (optional): `min` / `max`, `min_length` / `max_length` / `regex`, `choices`, `unit` (display unit for integer / decimal: `"GB"`), `scale_min` / `scale_max` (rating), `units` (allowed measurement units), `min_items` / `max_items` (lists). * `storefront_visible`: exposed by the public API and listed in the storefront specifications table. * `filterable`: usable in `mf.` / `mf_min.` / `mf_max.` filters and returned by `facets=1` (single_line_text, integer, decimal, boolean, date, color, rating, weight, dimension, volume, product_reference, collection_reference, list.single_line_text, list.integer, list.decimal, list.color). `type`, `namespace`, `key` and `owner_type` can't change while values exist (409): create a new definition and move the values with `POST /metafields/set/`. Deleting a definition deletes its values (`?keep_values=1` keeps them hidden in the owners' JSON).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
definition_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/Delete a metafield definition
Its values are deleted too; `?keep_values=1` leaves them (hidden) in the owners.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
definition_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
metafields
/api/v1/projects/{project_id}/metafields/set/Set metafield values in bulk (atomic)
Up to 250 values of any products / variants / collections of the project in one call. All or nothing: one invalid value rejects the whole call with every error listed. `value: null` deletes the value.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
orders
/api/v1/projects/{project_id}/orders/GET /projects/{id}/orders/ — List orders.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/orders/{order_id}/GET /projects/{id}/orders/{oid}/ — Order detail.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
order_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/orders/{order_id}/cancel/POST /projects/{id}/orders/{oid}/cancel/ — Cancel order (if pending or paid, before shipping).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
order_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/orders/{order_id}/edit/Edit an order
Before shipping (status pending or paid; not a card order still waiting for its payment): `changes` `[{"order_item_id", "quantity"}]` (0 removes the line), `add` (catalogue `{"product_id", "variant_id"?, "quantity", "price"?}` or custom `{"title", "price", "quantity"}` lines), `shipping_cost`, `reason`. Stock follows the change; totals and tax are recomputed (the discount amount and what gift cards paid stay). For a paid order the difference is in `edit.balance_due` (to collect) or `edit.refund_due` (to give back). History in `metadata.edits`; webhook `order.edited`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
order_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/orders/{order_id}/refund/POST /projects/{id}/orders/{oid}/refund/ — Refund order.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
order_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/orders/{order_id}/update/PUT /projects/{id}/orders/{oid}/ — Update order (admin: status, tracking, notes).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
order_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
page-templates
/api/v1/projects/{project_id}/page-templates/GET /api/v1/projects/{project_id}/page-templates/ POST /api/v1/projects/{project_id}/page-templates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/page-templates/GET /api/v1/projects/{project_id}/page-templates/ POST /api/v1/projects/{project_id}/page-templates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/page-templates/{template_id}/GET /api/v1/projects/{project_id}/page-templates/{template_id}/ PUT /api/v1/projects/{project_id}/page-templates/{template_id}/ DELETE /api/v1/projects/{project_id}/page-templates/{template_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
template_id | path | integer | yes |
/api/v1/projects/{project_id}/page-templates/{template_id}/GET /api/v1/projects/{project_id}/page-templates/{template_id}/ PUT /api/v1/projects/{project_id}/page-templates/{template_id}/ DELETE /api/v1/projects/{project_id}/page-templates/{template_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
template_id | path | integer | yes |
/api/v1/projects/{project_id}/page-templates/{template_id}/GET /api/v1/projects/{project_id}/page-templates/{template_id}/ PUT /api/v1/projects/{project_id}/page-templates/{template_id}/ DELETE /api/v1/projects/{project_id}/page-templates/{template_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
template_id | path | integer | yes |
pages
/api/v1/projects/{project_id}/pages/GET /api/v1/projects/{project_id}/pages/ POST /api/v1/projects/{project_id}/pages/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/GET /api/v1/projects/{project_id}/pages/ POST /api/v1/projects/{project_id}/pages/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/bulk/POST /api/v1/projects/{pid}/pages/bulk/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/bulk/DELETE /api/v1/projects/{pid}/pages/bulk/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/reorder/POST /api/v1/projects/{project_id}/pages/reorder/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/GET /api/v1/projects/{project_id}/pages/{page_id}/ PUT /api/v1/projects/{project_id}/pages/{page_id}/ DELETE /api/v1/projects/{project_id}/pages/{page_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/GET /api/v1/projects/{project_id}/pages/{page_id}/ PUT /api/v1/projects/{project_id}/pages/{page_id}/ DELETE /api/v1/projects/{project_id}/pages/{page_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/PATCH is treated as partial PUT for backward compatibility.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/GET /api/v1/projects/{project_id}/pages/{page_id}/ PUT /api/v1/projects/{project_id}/pages/{page_id}/ DELETE /api/v1/projects/{project_id}/pages/{page_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/analytics/GET /api/v1/projects/{project_id}/pages/{page_id}/analytics/ Returns pageviews, submissions, conversion rate for this page.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/GET /projects/{id}/pages/{page_id}/blocks/ — list all blocks POST /projects/{id}/pages/{page_id}/blocks/ — add a block
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/GET /projects/{id}/pages/{page_id}/blocks/ — list all blocks POST /projects/{id}/pages/{page_id}/blocks/ — add a block
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/reorder/PUT /projects/{id}/pages/{page_id}/blocks/reorder/ — reorder blocks.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/GET /projects/{id}/pages/{page_id}/blocks/{block_id}/ — get one block PUT /projects/{id}/pages/{page_id}/blocks/{block_id}/ — update block content DELETE /projects/{id}/pages/{page_id}/blocks/{block_id}/ — remove block
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
block_id | path | string | yes | |
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/Full replace of block content/config.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
block_id | path | string | yes | |
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/Partial merge — only updates the props/config keys sent. Existing keys preserved.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
block_id | path | string | yes | |
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/GET /projects/{id}/pages/{page_id}/blocks/{block_id}/ — get one block PUT /projects/{id}/pages/{page_id}/blocks/{block_id}/ — update block content DELETE /projects/{id}/pages/{page_id}/blocks/{block_id}/ — remove block
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
block_id | path | string | yes | |
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/clone/POST /api/v1/projects/{project_id}/pages/{page_id}/clone/ Body: {"slug": "new-slug", "title": "New Title"} (optional overrides)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/revisions/ Deprecated · removed 2026-12-14Pages version via LandingPage — override to use landing_page.id as object_id.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/revisions/{version_id}/ Deprecated · removed 2026-12-14GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/revisions/{version_id}/restore/ Deprecated · removed 2026-12-14POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/translations/GET /api/v1/projects/{project_id}/pages/{page_id}/translations/ List all translations of a page (linked by translation_group). POST /api/v1/projects/{project_id}/pages/{page_id}/translations/ Create a translation copy of a page in a new locale. Body: {"locale": "fr"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/translations/GET /api/v1/projects/{project_id}/pages/{page_id}/translations/ List all translations of a page (linked by translation_group). POST /api/v1/projects/{project_id}/pages/{page_id}/translations/ Create a translation copy of a page in a new locale. Body: {"locale": "fr"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/versions/Pages version via LandingPage — override to use landing_page.id as object_id.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/versions/diff/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/versions/{version_id}/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pages/{page_id}/versions/{version_id}/restore/POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
pickup-locations
/api/v1/projects/{project_id}/pickup-locations/GET/POST /projects/{id}/pickup-locations/ — list or create in-store pickup locations (#189).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pickup-locations/GET/POST /projects/{id}/pickup-locations/ — list or create in-store pickup locations (#189).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
pickup_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
pickup_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
pickup_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
pickup_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
portal
/api/v1/projects/{project_id}/portal/GET: is the member Portal on (a `warning` says when site user accounts were switched off under it). POST {text?, color?, button?}: turn it on / update — needs site user accounts on (PATCH auth-settings/ {"is_enabled": true}), otherwise 400 with field `accounts`. DELETE: turn it off.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/portal/GET: is the member Portal on (a `warning` says when site user accounts were switched off under it). POST {text?, color?, button?}: turn it on / update — needs site user accounts on (PATCH auth-settings/ {"is_enabled": true}), otherwise 400 with field `accounts`. DELETE: turn it off.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/portal/GET: is the member Portal on (a `warning` says when site user accounts were switched off under it). POST {text?, color?, button?}: turn it on / update — needs site user accounts on (PATCH auth-settings/ {"is_enabled": true}), otherwise 400 with field `accounts`. DELETE: turn it off.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
product-categories
/api/v1/projects/{project_id}/product-categories/tree/ Deprecated · removed 2026-12-14GET /api/v1/projects/{project_id}/categories/tree/ Returns all categories as a nested tree structure.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
products
/api/v1/projects/{project_id}/products/List or create products for a website. GET /api/v1/projects/{project_id}/products/ POST /api/v1/projects/{project_id}/products/ { "name": "Product Name", "price": 29.99, "description": "Product description", "image_url": "https://cdn.example.com/image.jpg", "category_id": "uuid-here", // optional "is_featured": true, "is_active": true }
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/List or create products for a website. GET /api/v1/projects/{project_id}/products/ POST /api/v1/projects/{project_id}/products/ { "name": "Product Name", "price": 29.99, "description": "Product description", "image_url": "https://cdn.example.com/image.jpg", "category_id": "uuid-here", // optional "is_featured": true, "is_active": true }
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/bulk/POST /api/v1/projects/{pid}/products/bulk/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/deleted/GET /projects/{id}/products/deleted/?since=<ISO 8601>: products deleted at or after that instant (kept 90 days), oldest first, at most 1000 per call (call again with since = the last deleted_at). With ?updated_since= on the products list it keeps an external copy exact.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/facets/GET /projects/{id}/products/facets/?category=slug Returns attribute facet counts for building filter sidebars: { "brand": {"Kingston": 12, "Corsair": 8}, "ram": {"16GB": 15, "32GB": 7}, "price_range": {"min": 49, "max": 499} }
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/suggest/GET /projects/{id}/products/suggest/?q=king Returns autocomplete suggestions (top 8 product names).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/Get, update, or delete a specific product. GET /api/v1/projects/{project_id}/products/{product_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/Get, update, or delete a specific product. GET /api/v1/projects/{project_id}/products/{product_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/Partial update: only the fields sent change (PUT is the same, kept for compatibility).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/Get, update, or delete a specific product. GET /api/v1/projects/{project_id}/products/{product_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/access/What buying a product unlocks
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/access/Set what buying a product unlocks
Replaces the list: `{"grants": [{resource_type, resource_id, duration_days}]}` (at most 50; `[]` removes every grant). `resource_type` is one of `page`, `post`, `course`, `file`, `video`, `tier`; `resource_id` is the id of that resource in this website. Needs customer accounts enabled on the website. Each paid order then gives the buyer one grant per entry.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/codes/A product's codes (masked)
Counts per pool (the product, or each variant) and the codes, masked (`••••` + the last characters). Filter with `variant_id`, `status` (available, delivered, void, revoked), `limit` (max 500) and `offset`. The codes themselves are never returned by the API: export them from the panel (audited).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/codes/Add codes to a product
`{"codes": ["AAAA-1111", "BBBB-2222"]}` (or one string, one code per line); `variant_id` for a product with variants. Duplicates (in the list or already loaded) are dropped. The product's stock becomes the number of available codes; paid orders waiting for codes get theirs now.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/codes/release/Put refunded codes back on sale
`{"ids": [...]}`: codes delivered to an order that was later refunded or cancelled stay out of the stock until you release them (only when you know they were not used).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/codes/void/Void codes
`{"ids": [...], "note": "…"}`: available codes (a bad or leaked batch), or codes of a refunded / cancelled order, are voided: never sold.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/files/A product's files and download limits
Buyers download them at /account/downloads/ once the order is paid.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/files/Add a file to a product
Two ways. **Direct**: multipart with `file` (up to 25 MB): stored and `ready`. **Large files**: JSON `{"filename", "size"}` returns `upload` (a URL and headers to PUT the bytes to); after the PUT, call `POST …/files/<id>/complete/`. Files live in a private bucket.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/files/Set the download limits
`{"download_limit": n | null, "download_days": n | null}`: downloads per purchase and days after the purchase (null = no limit).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/files/{file_id}/Get a product file
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
file_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/files/{file_id}/Delete a product file
Removed from storage too; buyers no longer see it.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
file_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/files/{file_id}/complete/Finish a large-file upload
After the PUT to the upload URL: checks the stored size and marks the file `ready`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
file_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/gallery/GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/gallery/GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/gallery/reorder/POST /projects/{id}/products/{pid}/gallery/reorder/ Body: {"image_ids": ["uuid1", "uuid2", "uuid3"]}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/gallery/{image_id}/GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
image_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/gallery/{image_id}/GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
image_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/gallery/{image_id}/GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
image_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/image/Upload an image for a product. POST /api/v1/projects/{project_id}/products/{product_id}/image/ Accepts multipart/form-data with 'image' file field. Also accepts base64 encoded image in JSON body for camera captures. Request (multipart/form-data): image: File (required) Request (JSON for camera capture): { "image_data": "data:image/jpeg;base64,/9j/4AAQ...", "filename": "camera_photo.jpg" } Response: { "success": true, "image_url": "https://cdn.example.com/image.jpg", "product": { ... } }
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/images/ Deprecated · removed 2026-12-14GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/images/ Deprecated · removed 2026-12-14GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/images/reorder/ Deprecated · removed 2026-12-14POST /projects/{id}/products/{pid}/gallery/reorder/ Body: {"image_ids": ["uuid1", "uuid2", "uuid3"]}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/images/{image_id}/ Deprecated · removed 2026-12-14GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
image_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/images/{image_id}/ Deprecated · removed 2026-12-14GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
image_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/images/{image_id}/ Deprecated · removed 2026-12-14GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
image_id | path | string (uuid) | yes | |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/related/Related products
GET /projects/{id}/products/{pid}/related/ Returns related products using heuristics.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | 1-12 (default 4) |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/reviews/List reviews of a product
Approved reviews, newest first. `all=true` includes pending and rejected ones (moderation). `rating_avg` / `rating_count` are computed from **approved** reviews only.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
all | query | boolean | no | `true`: every status, not only approved |
limit | query | integer | no | Page size |
offset | query | integer | no | Items to skip (default 0) |
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
sort | query | string (helpful | newest | rating_high | rating_low) | no | Order (default newest) |
/api/v1/projects/{project_id}/products/{product_id}/reviews/Create a review
Creates a **pending** review (it shows up publicly once approved). `author_name` defaults to the site user's name when the request carries one. Shoppers use the public, key-less `POST /shop/reviews/{product_id}/` on the site instead.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
rating | integer | yes | |
body | string | yes | |
title | string | no | |
author_name | string | no | |
order_id | string (uuid) | no | A delivered order: marks the review as a verified purchase |
/api/v1/projects/{project_id}/products/{product_id}/sync-stripe/POST /projects/{id}/products/{pid}/sync-stripe/ — Sync product to Stripe.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/translations/GET /api/v1/projects/{project_id}/products/{product_id}/translations/ POST /api/v1/projects/{project_id}/products/{product_id}/translations/ Body: {"locale": "fr"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/translations/GET /api/v1/projects/{project_id}/products/{product_id}/translations/ POST /api/v1/projects/{project_id}/products/{product_id}/translations/ Body: {"locale": "fr"}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/variants/List all variants for a product or create a new variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/ POST /api/v1/projects/{project_id}/products/{product_id}/variants/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/variants/List all variants for a product or create a new variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/ POST /api/v1/projects/{project_id}/products/{product_id}/variants/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/Get, update, or delete a specific product variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
variant_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/Get, update, or delete a specific product variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
variant_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/Partial update (PUT is the same, kept for compatibility).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
variant_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/Get, update, or delete a specific product variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
variant_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/versions/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/ List version history for a content object. Subclass and set `content_type` and `model_class`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/versions/diff/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/versions/{version_id}/GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/products/{product_id}/versions/{version_id}/restore/POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
version_id | path | string (uuid) | yes |
projects
/api/v1/projects/List all projects for the authenticated user.
/api/v1/projects/#360: create a website over REST, exactly as MCP escalateflow_projects_create does (same function: plan limits, subdomain rules, related rows, language). Idempotent: the same subdomain (or, without one, the same name) returns the existing project with already_existed=true (200) instead of a second site. 201 when created. Body: name (required), subdomain (optional; derived from the name and made unique), language (default es).
/api/v1/projects/list/ Deprecated · removed 2026-12-14List all projects (websites) for the authenticated user. GET /api/v1/projects/list/
/api/v1/projects/{id}/GET /api/v1/projects/{id}/ — Get project details DELETE /api/v1/projects/{id}/ — Delete a project and all its resources
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/projects/{id}/Update project settings.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/projects/{id}/Partial update project settings — alias for PUT with same logic.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
/api/v1/projects/{id}/GET /api/v1/projects/{id}/ — Get project details DELETE /api/v1/projects/{id}/ — Delete a project and all its resources
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | yes |
public
/api/v1/public/errors/Report a storefront JavaScript error
No API key: called from the published site (`EF.reportError(...)` in the runtime) and resolved by its Host. Body: `message` (required), optional `stack`, `page_url`, `user_agent`, `metadata` (object, over 1 KB is replaced by `{"_truncated": true}`); any other field is a 400. Rate limit: 60 reports per minute per IP. The IP is stored only as a salted hash.
/api/v1/public/videos/{video_id}/play/POST /public/videos/{vid}/play/ — public, unauthenticated play beacon fired by the player; increments the per-website monthly counter (#176). Always 204 (never leaks). Inflation controls (#186): a per-IP rate ceiling (throttle), a bot/programmatic-client filter (curl/python-requests/no-browser-headers never count), and per-visitor-per-day dedup so one viewer can't pump the counter. Still soft/approximate — phase 2 reconciles with Cloudflare logs.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
video_id | path | string (uuid) | yes |
/api/v1/public/{project_id}/categories/List active categories
Flat list in display order; build the tree with `parent_id`. `product_count` counts active products.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/public/{project_id}/categories/{slug}/Get an active category
With its active child categories and up to 12 preview products (featured first).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
slug | path | string | yes |
/api/v1/public/{project_id}/collections/List published collections
Published collections in display order with their page URL and active product count. Their products: `products/?collection=<slug>`. `Cache-Control: public, max-age=300`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/public/{project_id}/entries/{type_slug}/List published entries of a content type
GET /public/{project_id}/entries/{type_slug}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | max 100 |
locale | query | string | no | |
project_id | path | string (uuid) | yes | |
type_slug | path | string | yes |
/api/v1/public/{project_id}/posts/Latest published blog posts (20)
GET /public/{project_id}/posts/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/public/{project_id}/products/List active products
Active products of the project, newest first (or by relevance with `q`). No API key; `Cache-Control: private, no-store`. Prices come raw (`price`) and in the shop's display format (`price_formatted`).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
category | query | string | no | Category slug; includes its subcategories |
collection | query | string | no | Published collection slug: its products, in the collection's sort order (unless `q` ranks them). Unknown or unpublished collection: 404 (an empty collection is 200 with `count` 0) |
facets | query | boolean | no | `1`: also `facets` over every matching product (not just this page): `vendors` [{name, count}], `categories` [{name, slug, count}], `price` {min, max}, `in_stock` (count), `metafields` {"ns.key": {name, type, unit, values [{value, display, count}], min, max}} for the filterable, storefront-visible metafield definitions. Build filters from it instead of hard-coding them |
featured | query | boolean | no | `1`: featured only |
include | query | string | no | `metafields`: each product also carries its storefront-visible `metafields` {"namespace": {"key": {name, type, value, display, unit?}}} |
limit | query | integer | no | 1-100 (default 50). `count` is the total: page with `offset` until it is covered |
mf.<namespace>.<key> | query | string | no | Filter by a filterable metafield: `mf.specs.ram=16` (comma list = any of them); ranges `mf_min.specs.ram=16`, `mf_max.specs.screen=15.6`. Unknown or non-filterable keys: 400 |
offset | query | integer | no | Items to skip (default 0) |
project_id | path | string (uuid) | yes | |
q | query | string | no | Search: full text over name/description/tags (accents and plurals ignored, prefix match per word) plus a plain name match |
slug | query | string | no | Comma-separated product slugs (max 50), returned in that order |
updated_since | query | string (date-time) | no | ISO 8601: only products changed at or after it (sync / cache refresh) |
/api/v1/public/{project_id}/products/{slug_or_id}/Get an active product
By slug or UUID. Includes `variants` (active ones, display order) when the product has any.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
slug_or_id | path | string | yes | Product slug or product UUID |
/api/v1/public/{project_id}/products/{slug_or_id}/reviews/Approved reviews of a product
Approved reviews only, newest first, plus a summary over **all** approved reviews (`average` 0 when there are none, `distribution` counts per star 1-5). No API key; `Cache-Control: public, max-age=300`. Shoppers submit reviews with `POST /shop/reviews/{product_id}/` on the site host; they appear here after moderation.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | 1-50 (default 10) |
offset | query | integer | no | Items to skip (default 0) |
project_id | path | string (uuid) | yes | |
slug_or_id | path | string | yes | Product slug or product UUID |
redirects
/api/v1/projects/{project_id}/redirects/GET /api/v1/projects/{project_id}/redirects/ POST /api/v1/projects/{project_id}/redirects/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/GET /api/v1/projects/{project_id}/redirects/ POST /api/v1/projects/{project_id}/redirects/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/bulk/POST /api/v1/projects/{pid}/redirects/bulk/ — #413: up to 10.000 redirects at once (a website migration). Body: {"redirects": [{source_path, destination, redirect_type?, match_type?}, ...]} or {"csv": "source,destination [,type[,match]] ..."}; "dry_run": true only reports; "flatten_chains": true sends A→B→C straight to C (the saved redirects that point to an imported address too). One result per row (index from 0, status 201 created / 200 updated / 400 refused, error, warnings) and the report's summary. Nothing invalid is created; the plan limits (in total and for prefix / wildcard / regex) apply.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/export/GET /api/v1/projects/{project_id}/redirects/export/ — every redirect as CSV (#413).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/not-found/GET /api/v1/projects/{project_id}/redirects/not-found/ — the most requested addresses that answered 404 (people, not bots; 90 days), each with a suggested page (#413). ?limit= (1-500, default 100), ?all=1 also lists the ones a redirect or a page answers now.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/{redirect_id}/GET /api/v1/projects/{project_id}/redirects/{redirect_id}/ PUT /api/v1/projects/{project_id}/redirects/{redirect_id}/ DELETE /api/v1/projects/{project_id}/redirects/{redirect_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
redirect_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/{redirect_id}/GET /api/v1/projects/{project_id}/redirects/{redirect_id}/ PUT /api/v1/projects/{project_id}/redirects/{redirect_id}/ DELETE /api/v1/projects/{project_id}/redirects/{redirect_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
redirect_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/redirects/{redirect_id}/GET /api/v1/projects/{project_id}/redirects/{redirect_id}/ PUT /api/v1/projects/{project_id}/redirects/{redirect_id}/ DELETE /api/v1/projects/{project_id}/redirects/{redirect_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
redirect_id | path | string (uuid) | yes |
returns
/api/v1/projects/{project_id}/returns/List returns
Customers request returns from their order page when the shop has `returns_enabled` (shop settings) and the order is paid / shipped / delivered within `return_window_days` of its payment or delivery. You can also create one here. Flow: `requested` → `approve/` or `decline/` (optional `note`, emailed to the customer) → `receive/` (`{"restock": true}` puts the items back in stock) → `refund/` (optional `amount`, default the returned lines' price; card orders paid with Stripe are refunded at Stripe, other orders record the refund you make). When an order's refunds reach its total, the order becomes `refunded`. Webhooks: `return.requested`, `return.approved`, `return.declined`, `return.received`, `return.refunded`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | 1-200 (50) |
order_number | query | string | no | |
project_id | path | string (uuid) | yes | |
status | query | string | no | requested, approved, declined, received, refunded |
/api/v1/projects/{project_id}/returns/Create a return
`order_number` (or `order_id`), `lines` `[{"order_item_id", "quantity"}]`, optional `reason`. Created as `requested`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/returns/{return_id}/Get a return
GET /api/v1/projects/{project_id}/returns/{return_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
return_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/returns/{return_id}/approve/Approve a return
Optional `note` (emailed to the customer).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
return_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/returns/{return_id}/decline/Decline a return
Optional `note` (emailed to the customer).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
return_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/returns/{return_id}/receive/Mark a return received
`{"restock": true}` (default) puts the items back in stock.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
return_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/returns/{return_id}/refund/Refund a return
Optional `amount` (default the returned lines' price, capped at what is left to refund). Stripe-paid card orders are refunded at Stripe.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
return_id | path | string (uuid) | yes |
reviews
/api/v1/projects/{project_id}/reviews/List the project's reviews (moderation queue)
All products, newest first. Use `status=pending` for the moderation queue.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | Page size |
offset | query | integer | no | Items to skip (default 0) |
product | query | string (uuid) | no | Only reviews of this product |
project_id | path | string (uuid) | yes | |
status | query | string (all | approved | pending | rejected) | no | Filter by status (default `all`) |
/api/v1/projects/{project_id}/reviews/{review_id}/Get a review
GET / DELETE /projects/{id}/reviews/{review_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
review_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/reviews/{review_id}/Delete a review
Deletes the review and recomputes the product's rating from the approved reviews.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
review_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/reviews/{review_id}/helpful/Toggle a helpful vote
Needs a logged-in site user on the request; toggles their vote.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
review_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/reviews/{review_id}/moderate/Approve or reject a review
Sets the status and `moderated_at`, and recomputes the product's `rating_avg` / `rating_count` from its approved reviews (the cached storefront pages of the product refresh).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
review_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
status | ReviewModerateRequestStatusEnum | yes |
schemas
/api/v1/schemas/GET /api/v1/schemas/ Returns index of all available JSON Schemas.
/api/v1/schemas/{schema_name}/GET /api/v1/schemas/{name}/ Returns the full JSON Schema for a resource. Cached for 1 hour.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
schema_name | path | string | yes |
search
/api/v1/projects/{project_id}/search/GET /api/v1/projects/{pid}/search/ ?q=<query> ?type=pages,products,blog,submissions (default: all) ?limit=20&offset=0
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
settings
/api/v1/projects/{project_id}/settings/GET /api/v1/projects/{project_id}/settings/ PUT /api/v1/projects/{project_id}/settings/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/settings/GET /api/v1/projects/{project_id}/settings/ PUT /api/v1/projects/{project_id}/settings/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/settings/seo/ Deprecated · removed 2026-12-14GET /api/v1/projects/{project_id}/settings/seo/ Convenience endpoint for just SEO-related settings.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/settings/style-kit/GET /api/v1/projects/{project_id}/settings/style-kit/ PUT /api/v1/projects/{project_id}/settings/style-kit/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/settings/style-kit/GET /api/v1/projects/{project_id}/settings/style-kit/ PUT /api/v1/projects/{project_id}/settings/style-kit/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
shipping-zones
/api/v1/projects/{project_id}/shipping-zones/List shipping zones
Zones with their rates, in display order.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shipping-zones/Create a shipping zone
* `name` (required) and `countries`: ISO 3166-1 alpha-2 codes (`ES`, `PT`, `FR`...). A zone without countries is the **rest of the world** (one per project). A country can be in only one active zone. * `rates` (on create, optional): list of rates, see below. Rates are then managed with the `rates/` endpoints. * Rate fields: `name` (required), `price` (≥ 0), optional conditions `min_subtotal` / `max_subtotal` (products subtotal after discounts, `max` exclusive), `min_weight` / `max_weight` (cart weight in kg from the products' `weight` / `weight_unit`, `max` exclusive), `free_over` (the rate is free from that subtotal), `delivery_estimate` (text shown to the customer, e.g. "24-48 h"), `position`, `is_active`. * As soon as the project has an active zone with an active rate, the checkout asks for the country (select) and shows the rates that apply; the cart shows "calculated at checkout". Without zones, the flat shipping cost and free-shipping threshold of the project apply as before. * Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shipping-zones/quote/Quote shipping
The rates the checkout would offer for a destination and cart (`subtotal` = products subtotal after discounts, `weight` in kg). Also lists the selectable countries.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
country | query | string | no | ISO code or country name |
project_id | path | string (uuid) | yes | |
subtotal | query | number | no | |
weight | query | number | no |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/Get a shipping zone
GET / PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/GET / PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/Update a shipping zone
Partial update of `name`, `countries`, `position`, `is_active` (rates: `rates/`).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/Delete a shipping zone
Its rates are deleted too; past orders keep their shipping cost and method.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/Add a rate to a zone
* `name` (required) and `countries`: ISO 3166-1 alpha-2 codes (`ES`, `PT`, `FR`...). A zone without countries is the **rest of the world** (one per project). A country can be in only one active zone. * `rates` (on create, optional): list of rates, see below. Rates are then managed with the `rates/` endpoints. * Rate fields: `name` (required), `price` (≥ 0), optional conditions `min_subtotal` / `max_subtotal` (products subtotal after discounts, `max` exclusive), `min_weight` / `max_weight` (cart weight in kg from the products' `weight` / `weight_unit`, `max` exclusive), `free_over` (the rate is free from that subtotal), `delivery_estimate` (text shown to the customer, e.g. "24-48 h"), `position`, `is_active`. * As soon as the project has an active zone with an active rate, the checkout asks for the country (select) and shows the rates that apply; the cart shows "calculated at checkout". Without zones, the flat shipping cost and free-shipping threshold of the project apply as before. * Unknown fields are rejected (400).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
rate_id | path | integer | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/Update a rate
Partial update; send `null` to clear a condition.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
rate_id | path | integer | yes | |
zone_id | path | integer | yes |
/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/Delete a rate
PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
rate_id | path | integer | yes | |
zone_id | path | integer | yes |
shop
/api/v1/projects/{project_id}/shop/analytics/overview/KPI summary: revenue, orders, AOV, refunds, customers, cart rates.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/analytics/recent-orders/Most recent orders. Independent of date range.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/analytics/revenue/Day-by-day revenue + order count series for charting.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/analytics/status-breakdown/Order count + value per status in the window.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/analytics/top-products/Top N products by revenue.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/hero-slides/Manage hero slides for a shop. GET /api/v1/projects/{project_id}/shop/hero-slides/ - List all hero slides POST /api/v1/projects/{project_id}/shop/hero-slides/ - Create a new hero slide DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ - Delete a hero slide
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/hero-slides/Manage hero slides for a shop. GET /api/v1/projects/{project_id}/shop/hero-slides/ - List all hero slides POST /api/v1/projects/{project_id}/shop/hero-slides/ - Create a new hero slide DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ - Delete a hero slide
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/hero-slides/generate/Create default hero slides for a shop (uses Unsplash placeholder images). POST /api/v1/projects/{project_id}/shop/hero-slides/generate/ { "num_slides": 3 // 1-3 slides (optional, default 3) } Response: { "success": true, "slides": [ {"id": "uuid", "title": "Welcome to Shop", "image_url": "..."}, ... ], "message": "Created 3 default hero slides" } Note: This creates slides with default Unsplash images. Users can then update each slide with their own images via PUT /hero-slides/{id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/Manage a single hero slide. PUT /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
slide_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/Manage a single hero slide. PUT /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
slide_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/settings/Get or update shop settings for a website. GET /api/v1/projects/{project_id}/shop/settings/ PUT /api/v1/projects/{project_id}/shop/settings/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/settings/Get or update shop settings for a website. GET /api/v1/projects/{project_id}/shop/settings/ PUT /api/v1/projects/{project_id}/shop/settings/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/tax-rates/Get tax rates by country
Tax rate by destination country. `rates` replaces the whole list: an object `{"DE": 19, "FR": 20}` or a list `[{"country": "DE", "rate": 19}]` (ISO 3166-1 alpha-2 codes or country names; rate in percent, 0-100; `{}` clears them). A country without its own rate uses the shop-wide `tax_rate` (`shop/settings/`), and `prices_include_tax` applies to every rate. The country rates apply when the checkout knows the country before the order is placed, which is with shipping zones (the country select refreshes the totals): `applies` says whether that is the case for the project. The order records the rate used in `metadata.tax_rate`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/tax-rates/Set tax rates by country
Tax rate by destination country. `rates` replaces the whole list: an object `{"DE": 19, "FR": 20}` or a list `[{"country": "DE", "rate": 19}]` (ISO 3166-1 alpha-2 codes or country names; rate in percent, 0-100; `{}` clears them). A country without its own rate uses the shop-wide `tax_rate` (`shop/settings/`), and `prices_include_tax` applies to every rate. The country rates apply when the checkout knows the country before the order is placed, which is with shipping zones (the country select refreshes the totals): `applies` says whether that is the case for the project. The order records the rate used in `metadata.tax_rate`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/shop/tax-rates/GET / PUT /api/v1/projects/{project_id}/shop/tax-rates/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
site-protection
/api/v1/projects/{project_id}/site-protection/Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-protection/Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-protection/Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-protection/Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
site-users
/api/v1/projects/{project_id}/site-users/GET: List site users. POST: Create a site user (admin-created).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/GET: List site users. POST: Create a site user (admin-created).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/export/CSV export of site users.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/import/POST multipart file=<csv> or JSON {csv: "<text>"}; ?dry_run=true validates only; source comp|manual.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/stats/User registration stats.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/{user_id}/GET/PATCH/DELETE a site user.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
user_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/{user_id}/GET/PATCH/DELETE a site user.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
user_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/{user_id}/GET/PATCH/DELETE a site user.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
user_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/{user_id}/data-export/Everything this website keeps about one customer (#241, RGPD access / portability at the owner's request): the same document the customer downloads from «My account → My data».
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
user_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/site-users/{user_id}/reset-password/Force password reset for a site user.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
user_id | path | string (uuid) | yes |
smtp
/api/v1/projects/{project_id}/smtp/GET /api/v1/projects/{project_id}/smtp/ POST /api/v1/projects/{project_id}/smtp/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/smtp/GET /api/v1/projects/{project_id}/smtp/ POST /api/v1/projects/{project_id}/smtp/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/smtp/{smtp_id}/GET /api/v1/projects/{project_id}/smtp/{smtp_id}/ PUT /api/v1/projects/{project_id}/smtp/{smtp_id}/ DELETE /api/v1/projects/{project_id}/smtp/{smtp_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
smtp_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/smtp/{smtp_id}/GET /api/v1/projects/{project_id}/smtp/{smtp_id}/ PUT /api/v1/projects/{project_id}/smtp/{smtp_id}/ DELETE /api/v1/projects/{project_id}/smtp/{smtp_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
smtp_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/smtp/{smtp_id}/GET /api/v1/projects/{project_id}/smtp/{smtp_id}/ PUT /api/v1/projects/{project_id}/smtp/{smtp_id}/ DELETE /api/v1/projects/{project_id}/smtp/{smtp_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
smtp_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/smtp/{smtp_id}/test/POST /api/v1/projects/{project_id}/smtp/{smtp_id}/test/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
smtp_id | path | string (uuid) | yes |
stock-reservations
/api/v1/projects/{project_id}/stock-reservations/GET /api/v1/projects/{project_id}/stock-reservations/ List active (non-expired, non-consumed) stock reservations.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
storefront-theme
/api/v1/projects/{project_id}/storefront-theme/Get the storefront theme
The stored theme (`theme`), the effective theme with every default filled in (`effective`) and the available `section_types`. A project without a theme returns an empty, disabled one. **Theme JSON**: `{"settings": {...}, "templates": {...}}` — every key optional. * `settings` groups: `colors`, `typography`, `layout`, `product_card`, `cart`, `homepage`, `header` (logo, menu, search, cart icon, sticky) and `footer` (link columns, text, payment badges) (see `GET .../schema/` for every key, type, range and default). Missing keys use the defaults. * `templates`: `shop`, `collection`, `product`, `search`, `index` (the store homepage), each `{"sections": [...]}`. A missing template uses the default one. A section is `{"type", "id", "settings", "blocks": [{"type", "settings"}]}`; `id` is 1-40 chars of `a-z 0-9 _ -`, unique in the template; max 30 sections and 30 blocks per section. * `main_collection` only in shop / collection / search, `main_product`, `product_reviews` and `related_products` only in product; `main_collection` and `main_product` at most once per template. * Links: `https://...`, `/path` or `#anchor`; colors `#rgb` / `#rrggbb` (empty string = theme default in sections). * Errors are 400 with the path of the offending value, e.g. `templates.product.sections[1].settings.limit: must be between 2 and 12` (`error.field` = that path). * Every shop uses its theme; a shop without a saved theme uses the defaults.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/storefront-theme/Replace theme fields
Each field given (`settings`, `templates`) **replaces** the stored one entirely; fields not given are kept. Unknown fields are rejected. **Theme JSON**: `{"settings": {...}, "templates": {...}}` — every key optional. * `settings` groups: `colors`, `typography`, `layout`, `product_card`, `cart`, `homepage`, `header` (logo, menu, search, cart icon, sticky) and `footer` (link columns, text, payment badges) (see `GET .../schema/` for every key, type, range and default). Missing keys use the defaults. * `templates`: `shop`, `collection`, `product`, `search`, `index` (the store homepage), each `{"sections": [...]}`. A missing template uses the default one. A section is `{"type", "id", "settings", "blocks": [{"type", "settings"}]}`; `id` is 1-40 chars of `a-z 0-9 _ -`, unique in the template; max 30 sections and 30 blocks per section. * `main_collection` only in shop / collection / search, `main_product`, `product_reviews` and `related_products` only in product; `main_collection` and `main_product` at most once per template. * Links: `https://...`, `/path` or `#anchor`; colors `#rgb` / `#rrggbb` (empty string = theme default in sections). * Errors are 400 with the path of the offending value, e.g. `templates.product.sections[1].settings.limit: must be between 2 and 12` (`error.field` = that path). * Every shop uses its theme; a shop without a saved theme uses the defaults.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
settings | no | Theme settings groups | |
templates | no | {"shop"|"collection"|"product"|"search": {"sections": [...]}} |
/api/v1/projects/{project_id}/storefront-theme/Update the theme (merge)
`settings` merge one level deep: each group's keys over the stored group, `null` for a group or key removes it (back to the default). `templates` are replaced per template key, `null` removes it (back to the default template). **Theme JSON**: `{"settings": {...}, "templates": {...}}` — every key optional. * `settings` groups: `colors`, `typography`, `layout`, `product_card`, `cart`, `homepage`, `header` (logo, menu, search, cart icon, sticky) and `footer` (link columns, text, payment badges) (see `GET .../schema/` for every key, type, range and default). Missing keys use the defaults. * `templates`: `shop`, `collection`, `product`, `search`, `index` (the store homepage), each `{"sections": [...]}`. A missing template uses the default one. A section is `{"type", "id", "settings", "blocks": [{"type", "settings"}]}`; `id` is 1-40 chars of `a-z 0-9 _ -`, unique in the template; max 30 sections and 30 blocks per section. * `main_collection` only in shop / collection / search, `main_product`, `product_reviews` and `related_products` only in product; `main_collection` and `main_product` at most once per template. * Links: `https://...`, `/path` or `#anchor`; colors `#rgb` / `#rrggbb` (empty string = theme default in sections). * Errors are 400 with the path of the offending value, e.g. `templates.product.sections[1].settings.limit: must be between 2 and 12` (`error.field` = that path). * Every shop uses its theme; a shop without a saved theme uses the defaults.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
settings | no | Theme settings groups | |
templates | no | {"shop"|"collection"|"product"|"search": {"sections": [...]}} |
/api/v1/projects/{project_id}/storefront-theme/apply-preset/Apply a theme preset
`{"preset": "boutique"}` merges the preset's colors, typography, layout, product card and header / footer style over the theme (your logo, menu, footer columns and texts are kept). `"homepage": true` also replaces the `index` template with the preset's homepage layout, texts taken from the shop title / description.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
| Body field | Type | Required | Description |
|---|---|---|---|
preset | string | yes | |
homepage | boolean | no |
/api/v1/projects/{project_id}/storefront-theme/presets/Theme presets
Ready-made looks for Storefront v2 (`esencial`, `tecnologia`, `boutique`, `mercado`): name, description, main colors and fonts, and the settings each one applies.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/storefront-theme/reset/Reset the theme to defaults
Clears the stored settings and templates (the defaults apply).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/storefront-theme/schema/Theme schema
Everything a client needs to build a theme: `section_types` (description, settings with type / range / default, blocks, allowed templates, `max_per_template`), `theme_settings`, `templates`, `default_settings`, `default_templates` and `limits`.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
stripe
/api/v1/projects/{project_id}/stripe/callback/Kept for backward compat — same as POST /stripe/connect/ (it used to pass the DRF request back into stripe_connect's view wrapper, a 500 on every call).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/stripe/connect/POST /projects/{id}/stripe/connect/ — Connect Stripe by providing API keys. Body: {"secret_key": "sk_test_...", "publishable_key": "pk_test_...", "webhook_secret": "whsec_...", "default_currency": "eur"} The secret_key is validated by calling Stripe's Account API.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/stripe/disconnect/DELETE /projects/{id}/stripe/disconnect/ — Disconnect Stripe.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/stripe/status/GET /projects/{id}/stripe/status/ — Check connection status.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
styles
/api/v1/projects/{project_id}/styles/DEPRECATED alias (#348, owner 14/11): /api/v1/projects/{project_id}/styles/ -> theme/ (the standard). Answers exactly what theme/ answers, plus Deprecation/Sunset/Link. Each old method keeps its old meaning: GET -> GET theme/, PUT (it always deep-merged) -> PATCH theme/, PATCH -> PATCH theme/, DELETE (reset) -> POST theme/reset/. In the standard, PUT replaces and PATCH merges.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/styles/Replace style_config with validated body.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/styles/Deep-merge body onto existing style_config.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/styles/DEPRECATED alias (#348, owner 14/11): /api/v1/projects/{project_id}/styles/ -> theme/ (the standard). Answers exactly what theme/ answers, plus Deprecation/Sunset/Link. Each old method keeps its old meaning: GET -> GET theme/, PUT (it always deep-merged) -> PATCH theme/, PATCH -> PATCH theme/, DELETE (reset) -> POST theme/reset/. In the standard, PUT replaces and PATCH merges.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
submissions
/api/v1/projects/{project_id}/submissions/GET /api/v1/projects/{project_id}/submissions/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/bulk-delete/POST /api/v1/projects/{project_id}/submissions/bulk-delete/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/export/POST /api/v1/projects/{project_id}/submissions/export/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/{sub_id}/GET /api/v1/projects/{project_id}/submissions/{sub_id}/ PUT /api/v1/projects/{project_id}/submissions/{sub_id}/ — update status DELETE /api/v1/projects/{project_id}/submissions/{sub_id}/ — delete
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/{sub_id}/Update submission status.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/{sub_id}/Partial update — is_read, starred, replied_at, status.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/{sub_id}/Delete a single submission.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/{sub_id}/actions-log/GET /api/v1/projects/{project_id}/submissions/{sub_id}/actions-log/ Returns the execution log for all actions triggered by this submission. Shows: which email was sent, when, with what status, and if it bounced.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/submissions/{sub_id}/conversions/GET /api/v1/projects/{project_id}/submissions/{sub_id}/conversions/ What the form's conversion rules did with this lead: for each rule, whether its event was sent, where (pixel / connected platforms), with which id and value, and the reason (conditions met or which one failed, no advertising consent, the linked form was not answered, waiting...).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
subscriptions
/api/v1/projects/{project_id}/subscriptions/GET /projects/{id}/subscriptions/ — List subscriptions.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/subscriptions/{sub_id}/GET /projects/{id}/subscriptions/{sid}/ — Subscription detail.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/subscriptions/{sub_id}/cancel/POST /projects/{id}/subscriptions/{sid}/cancel/ — Cancel subscription.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
sub_id | path | string (uuid) | yes |
templates
/api/v1/templates/GET /api/v1/templates/ — list available block templates.
/api/v1/templates/{template_id}/GET /api/v1/templates/{template_id}/ — template with default_blocks.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
template_id | path | string | yes |
theme
/api/v1/projects/{project_id}/theme/GET / PUT / PATCH /api/v1/projects/{project_id}/theme/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/theme/Replace style_config with validated body.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/theme/Deep-merge body onto existing style_config.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/theme/apply-preset/POST /api/v1/projects/{project_id}/theme/apply-preset/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/theme/reset/POST /api/v1/projects/{project_id}/theme/reset/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
themes
/api/v1/themes/GET /api/v1/themes/ — list available themes.
/api/v1/themes/presets/GET /api/v1/themes/presets/ — all built-in presets with swatches.
/api/v1/themes/{theme_slug}/GET /api/v1/themes/{slug}/ — theme detail with style_kit + supported_blocks.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
theme_slug | path | string | yes |
usage
/api/v1/usage/GET /api/v1/usage/ Returns comprehensive usage summary: plan limits, current usage, percentages, and warnings for all tracked resources.
videos
/api/v1/projects/{project_id}/videos/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/videos/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/videos/{video_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
video_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/videos/{video_id}/Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
video_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/videos/{video_id}/complete/POST /projects/{id}/videos/{vid}/complete/ — finalize a presigned direct upload (#183).
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
video_id | path | string (uuid) | yes |
webhooks
/api/v1/projects/{project_id}/webhooks/GET /api/v1/projects/{project_id}/webhooks/ POST /api/v1/projects/{project_id}/webhooks/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/GET /api/v1/projects/{project_id}/webhooks/ POST /api/v1/projects/{project_id}/webhooks/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/{wh_id}/GET /api/v1/projects/{project_id}/webhooks/{wh_id}/ PUT /api/v1/projects/{project_id}/webhooks/{wh_id}/ DELETE /api/v1/projects/{project_id}/webhooks/{wh_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
wh_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/{wh_id}/GET /api/v1/projects/{project_id}/webhooks/{wh_id}/ PUT /api/v1/projects/{project_id}/webhooks/{wh_id}/ DELETE /api/v1/projects/{project_id}/webhooks/{wh_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
wh_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/{wh_id}/GET /api/v1/projects/{project_id}/webhooks/{wh_id}/ PUT /api/v1/projects/{project_id}/webhooks/{wh_id}/ DELETE /api/v1/projects/{project_id}/webhooks/{wh_id}/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
wh_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/GET /api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
wh_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/{delivery_id}/retry/POST /api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/{delivery_id}/retry/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
delivery_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes | |
wh_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/webhooks/{wh_id}/test/POST /api/v1/projects/{project_id}/webhooks/{wh_id}/test/
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes | |
wh_id | path | string (uuid) | yes |
/api/v1/webhooks/events/GET /api/v1/webhooks/events/ Catalog of valid webhook event types (mirrors /automations/triggers/).
wishlist
/api/v1/projects/{project_id}/wishlist/GET /projects/{id}/wishlist/ — list POST /projects/{id}/wishlist/ — add product
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/wishlist/GET /projects/{id}/wishlist/ — list POST /projects/{id}/wishlist/ — add product
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project_id | path | string (uuid) | yes |
/api/v1/projects/{project_id}/wishlist/{product_id}/DELETE /projects/{id}/wishlist/{product_id}/ — remove from wishlist
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
product_id | path | string (uuid) | yes | |
project_id | path | string (uuid) | yes |