API reference
Every endpoint of the 3x REST API v1 (619 routes), generated from the route contracts the API itself is built from.
The machine-readable form is the OpenAPI 3.1 document at GET /v1/openapi.json; an interactive reference is served at /docs/api and a markdown
rendering of the full schemas at /docs/api.md. Conventions (authentication, errors, pagination, idempotency, rate limits, filters) are described
in the other pages of the API section.
System
| Operation | Endpoint | Auth |
|---|---|---|
system.health | GET /v1/health | public |
system.cron | GET /v1/cron/{job} | CRON_SECRET |
system.health
GET /v1/health – Health check.
- Auth: public
- Response: 200 JSON (
Health)
system.cron
GET /v1/cron/{job} – Run scheduled jobs (Vercel Cron / external scheduler).
job = tick (all due jobs) or a single job name from the job registry. Bearer CRON_SECRET.
- Auth:
CRON_SECRET - Response: 200 JSON (
CronResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
job | string | yes |
Ingest
| Operation | Endpoint | Auth |
|---|---|---|
ingest.collect | POST /v1/e | publishable key (pk_3x_…) |
ingest.collectAlias | POST /v1/collect | publishable key (pk_3x_…) |
ingest.clientConfig | GET /v1/c/{pk} | publishable key (pk_3x_…) |
ingest.script | GET /v1/s/{file} | public |
ingest.sdkPackage | GET /v1/sdk/{file} | public |
ingest.replay | POST /v1/r | publishable key (pk_3x_…) |
ingest.replayCss | POST /v1/r/css | publishable key (pk_3x_…) |
ingest.heartbeat | GET /v1/hb/{pk} | publishable key (pk_3x_…) |
ingest.live | POST /v1/l | publishable key (pk_3x_…) |
ingest.snapSession | POST /v1/snap/session | publishable key (pk_3x_…) |
ingest.snap | POST /v1/snap | publishable key (pk_3x_…) |
ingest.privacyPage | GET /v1/privacy/{pk} | public |
ingest.privacyErase | POST /v1/privacy/{pk}/erase | public |
ingest.privacyExport | POST /v1/privacy/{pk}/export | public |
ingest.asset | GET /v1/a | public |
ingest.deployHook | POST /v1/hooks/page-version/{projectId} | webhook signature |
ingest.collect
POST /v1/e – Collect a tracking batch (browser SDK).
text/plain JSON WireBatch v2 with the publishable key in k. Always answers without body: 204 accepted or dropped (bots, budgets), 400 invalid, 403 origin/key, 413 too large, 429 rate limited.
- Auth: publishable key (
pk_3x_…) - Response: 204, no body
- Body: text/plain (
WireBatch)
ingest.collectAlias
POST /v1/collect – Alias of POST /v1/e (same handler; /v1/e is shorter and blocker-neutral).
- Auth: publishable key (
pk_3x_…) - Response: 204, no body
- Body: text/plain (
WireBatch)
ingest.clientConfig
GET /v1/c/{pk} – Client configuration for a publishable key.
- Auth: publishable key (
pk_3x_…) - Response: 200 JSON (
ClientConfig)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
ingest.script
GET /v1/s/{file} – Browser SDK script (x3.js, x3.full.js, x3.{video,sections,forms,identify,consent,bookings}.js, versioned x3@1.2.3.js); ?k=pk_… inlines the client config.
- Auth: public
- Response: 200 javascript
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
file | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
k | string | no |
ingest.sdkPackage
GET /v1/sdk/{file} – npm tarball of @x3growth/sdk built with this deployment (legacy install path and for self-hosters – recipes install @x3growth/sdk from the npm registry).
- Auth: public
- Response: 200 gzip
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
file | string | yes |
ingest.replay
POST /v1/r – Recording packet (X3R1, text/plain body); answers the text ok or off.
- Auth: publishable key (
pk_3x_…) - Response: 200 text
- Body: text/plain
ingest.replayCss
POST /v1/r/css – Stylesheet hash check before a full snapshot: answers the missing hashes.
- Auth: publishable key (
pk_3x_…) - Response: 200 text
- Body: text/plain
ingest.heartbeat
GET /v1/hb/{pk} – Live heartbeat every 30 s on visible tabs: {hz, replay:{allow}}.
- Auth: publishable key (
pk_3x_…) - Response: 200 text
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
s | string | yes | |
p | string | no | |
b | string | no | |
cs | string | no | |
v | string | no |
ingest.live
POST /v1/l – Live frame (≤ 2 KB, text/plain JSON, only while watched).
- Auth: publishable key (
pk_3x_…) - Response: 204, no body
- Body: text/plain
ingest.snapSession
POST /v1/snap/session – Owner capture: exchange the one-time token for a capture handle.
- Auth: publishable key (
pk_3x_…) - Response: 200 text
- Body: text/plain
ingest.snap
POST /v1/snap – Owner capture: upload the confirmed snapshot (≤ 5 MB).
- Auth: publishable key (
pk_3x_…) - Response: 201 text
- Body: text/plain
ingest.privacyPage
GET /v1/privacy/{pk} – Privacy center for visitors (DE/EN, Du-Form, in the name of the controller).
- Auth: public
- Response: 200 html
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
ingest.privacyErase
POST /v1/privacy/{pk}/erase – Erase the data of this device (sessions known on the device; device secret x3_psec).
- Auth: public
- Response: 202 text
- Body: text/plain
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
ingest.privacyExport
POST /v1/privacy/{pk}/export – Art. 15 export of this device's events (only with the device secret x3_psec).
- Auth: public
- Response: 200 text
- Body: text/plain
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
ingest.asset
GET /v1/a – Asset proxy of the stage (images and fonts of allowlisted hosts only, signed stage token).
- Auth: public
- Response: 200 text
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
u | string | yes | |
p | string | yes | |
t | string | yes |
ingest.deployHook
POST /v1/hooks/page-version/{projectId} – Page-version webhook (Vercel/GitHub, HMAC-signed): marks a new deploy for heatmaps and recordings (the token deploy webhook /v1/hooks/deploy/{token} does the same).
- Auth: webhook signature
- Response: 204, no body
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | yes |
Events
| Operation | Endpoint | Auth |
|---|---|---|
ingest.serverEvents | POST /v1/projects/{project}/events | secret key or user session · events:write · Idempotency-Key |
analytics.liveEvents | GET /v1/projects/{project}/events/live | secret key or user session · analytics:read |
events.catalog | GET /v1/projects/{project}/event-catalog | secret key or user session · analytics:read |
eventSchemas.upsert | PUT /v1/projects/{project}/event-schemas/{name} | secret key or user session · config:write |
eventSchemas.delete | DELETE /v1/projects/{project}/event-schemas/{name} | secret key or user session · config:write |
events.validate | POST /v1/events/validate | public |
ingest.serverEvents
POST /v1/projects/{project}/events – Send server-side events attached to a browser session.
- Auth: secret key or user session ·
events:write·Idempotency-Key - Response: 202 JSON (
ServerEventsResult) - Body: application/json (
ServerEvents)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
analytics.liveEvents
GET /v1/projects/{project}/events/live – Events received since a cursor (long-poll up to ?wait=20 seconds, ≤ 200 rows).
Filters (all optional, AND): names (event names; „pageview“ = page views), page (part of the path, case-insensitive), session (one visit id), channels (comma-separated channel keys). Filtered-out rows still advance the cursor.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LiveEvents)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | no | |
wait | string | no | |
names | string | string[] | no | |
page | string | no | |
session | string | no | |
channels | string | no | |
limit | string | no | |
include_test | "0" | "1" | "true" | "false" | no |
events.catalog
GET /v1/projects/{project}/event-catalog – Built-in events, presets, registered and observed custom events.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
eventSchemas.upsert
PUT /v1/projects/{project}/event-schemas/{name} – Register or update a custom event schema.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
EventSchema) - Body: application/json (
EventSchemaWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
name | string | yes |
eventSchemas.delete
DELETE /v1/projects/{project}/event-schemas/{name} – Remove a custom event schema (events stay; they become unregistered).
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
name | string | yes |
events.validate
POST /v1/events/validate – Validate a custom event payload against the built-in catalog (and a project's schemas when authorized).
- Auth: public
- Response: 200 JSON (
EventValidateResult) - Body: application/json (
EventValidate)
Auth
| Operation | Endpoint | Auth |
|---|---|---|
app.me | GET /v1/app/me | user session or X3 App token |
app.errors.report | POST /v1/app/errors | user session or X3 App token · X3 App |
auth.demoLogin | POST /v1/auth/demo | public |
tablePrefs.get | GET /v1/auth/me/tables/{table} | user session or X3 App token |
tablePrefs.put | PUT /v1/auth/me/tables/{table} | user session or X3 App token |
tablePrefs.reset | DELETE /v1/auth/me/tables/{table} | user session or X3 App token |
app.me
GET /v1/app/me – Start data of the X3 App for the signed-in person: organizations and projects within the credential, scopes in effect, role per project, locked features and the Free view lock (no prices, no plan names).
- Auth: user session or X3 App token
- Response: 200 JSON (
AppMe)
app.errors.report
POST /v1/app/errors – JS errors of the X3 App (error state of a screen, uncaught and fatal errors), written to the API log so app crashes are diagnosable.
Up to 20 reports per call. Fatal errors are kept on the phone and sent on the next start. Nothing is stored in the database; the log line app_js_error carries the person id, the version and OTA update of the app and the cut message and stack.
- Auth: user session or X3 App token · X3 App
- Response: 204, no body
- Body: application/json (
AppErrorReports)
auth.demoLogin
POST /v1/auth/demo – Public demo login (only with X3_DEMO_LOGIN=1): read-only viewer session for 2 hours.
- Auth: public
- Response: 201 JSON (
DemoLoginResult)
tablePrefs.get
GET /v1/auth/me/tables/{table} – Column layout and saved views of one data table for the current user (the X3 App applies the saved views read-only).
- Auth: user session or X3 App token
- Response: 200 JSON (
TablePrefs)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
table | string | yes |
tablePrefs.put
PUT /v1/auth/me/tables/{table} – Save the column layout and/or the saved views of one data table (each part replaces the stored one).
- Auth: user session or X3 App token
- Response: 200 JSON (
TablePrefs) - Body: application/json (
TablePrefsUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
table | string | yes |
tablePrefs.reset
DELETE /v1/auth/me/tables/{table} – Reset a data table: part=layout (default columns), views or all.
- Auth: user session or X3 App token
- Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
table | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
part | "layout" | "views" | "all" | no |
Projects
| Operation | Endpoint | Auth |
|---|---|---|
projects.logo.put | PUT /v1/projects/{project}/logo | secret key or user session · project:admin |
projects.logo.delete | DELETE /v1/projects/{project}/logo | secret key or user session · project:admin |
projects.list | GET /v1/projects | secret key or user session |
projects.create | POST /v1/orgs/{org}/projects | secret key or user session · project:create |
projects.presets | GET /v1/orgs/{org}/project-presets | secret key or user session |
projects.get | GET /v1/projects/{project} | secret key or user session |
projects.update | PATCH /v1/projects/{project} | secret key or user session · project:admin |
projects.delete | DELETE /v1/projects/{project} | secret key or user session · org:admin · sudo |
projects.moveTargets | GET /v1/projects/{project}/move/targets | secret key or user session · org:admin |
projects.movePreview | POST /v1/projects/{project}/move/preview | secret key or user session · org:admin |
projects.move | POST /v1/projects/{project}/move | secret key or user session · org:admin |
projects.getConfig | GET /v1/projects/{project}/config | secret key or user session · analytics:read |
projects.updateConfig | PATCH /v1/projects/{project}/config | secret key or user session · project:admin |
projects.origins.get | GET /v1/projects/{project}/origins | secret key or user session · analytics:read |
projects.origins.update | POST /v1/projects/{project}/origins | secret key or user session · project:admin |
projects.status | GET /v1/projects/{project}/status | secret key or user session · analytics:read |
projects.purgeData | POST /v1/projects/{project}/purge | secret key or user session · project:admin · sudo |
autoCapture.get | GET /v1/projects/{project}/auto-capture | secret key or user session · analytics:read |
autoCapture.update | PATCH /v1/projects/{project}/auto-capture | secret key or user session · config:write |
projects.modePreview | GET /v1/projects/{project}/mode-preview | secret key or user session · analytics:read |
projects.logo.put
PUT /v1/projects/{project}/logo – Upload a Growth Intelligence project's logo: PNG, JPEG, WebP or SVG as base64, at most 256 KB; SVGs are cleaned.
Shown in the project switcher, the portfolio and the X3 App. Needs project:admin. The file type is checked against the content (magic bytes); a mismatch is 422.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
Logo) - Body: application/json (
LogoUpload)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.logo.delete
DELETE /v1/projects/{project}/logo – Remove a project's logo (initials again).
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.list
GET /v1/projects – Projects the caller can access (all orgs).
- Auth: secret key or user session
- Response: 200 JSON
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | no | |
slug | string | no |
projects.create
POST /v1/orgs/{org}/projects – Create a project (returns it with its first publishable key); a project-narrowed key/grant gains access to it.
- Auth: secret key or user session ·
project:create - Response: 201 JSON (
ProjectCreated) - Body: application/json (
ProjectCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
projects.presets
GET /v1/orgs/{org}/project-presets – Project presets this organization may apply when creating a project (preset of POST /v1/orgs/{org}/projects).
- Auth: secret key or user session
- Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
projects.get
GET /v1/projects/{project} – Project.
- Auth: secret key or user session
- Response: 200 JSON (
Project)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.update
PATCH /v1/projects/{project} – Update project settings (name, time zone, currency, retention, limits …).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
Project) - Body: application/json (
ProjectUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.delete
DELETE /v1/projects/{project} – Delete a project and all its data (sudo).
- Auth: secret key or user session ·
org:admin· sudo - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.moveTargets
GET /v1/projects/{project}/move/targets – Organizations this project can move to: where the signed-in person is owner or admin (docs/guides/concepts/project-move.md).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
ProjectMoveTargets)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.movePreview
POST /v1/projects/{project}/move/preview – Preview of moving the project into another organization: what moves, what stays as history, which links are dissolved, what blocks. Writes nothing.
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
ProjectMovePreview) - Body: application/json (
ProjectMove)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.move
POST /v1/projects/{project}/move – Move the project with its data, keys, Sales link and rules into another organization (owner or admin in both; confirmName = the project name). One transaction, all or nothing.
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
ProjectMoveResult) - Body: application/json (
ProjectMoveConfirm)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.getConfig
GET /v1/projects/{project}/config – Tracking configuration (domains, origins, page groups, personal pages, consent, presets …).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ProjectTrackingConfigResponse)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.updateConfig
PATCH /v1/projects/{project}/config – Update tracking configuration (top-level keys replace stored values; bumps configRev).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
ProjectTrackingConfigResponse) - Body: application/json (
TrackingConfigPatch)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.origins.get
GET /v1/projects/{project}/origins – Allowed origins („Erlaubte Herkünfte“) with whether each host also counts as an own domain, the own domains and the localhost switch.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
OriginsView)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.origins.update
POST /v1/projects/{project}/origins – Add (host, optionally every subdomain) or remove allowed origins; an added host becomes an own domain too. Refuses placeholder addresses and subdomain wildcards on shared builder/hosting platforms, keeps at least one origin; dryRun previews.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
OriginsUpdateResult) - Body: application/json (
OriginsUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.status
GET /v1/projects/{project}/status – Tracking status: database, storage, cleanup, rescoring progress, budgets, proxy warning, last event.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ProjectStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.purgeData
POST /v1/projects/{project}/purge – Delete tracking data in a date range or all of it (sudo).
- Auth: secret key or user session ·
project:admin· sudo - Response: 200 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
scope | "all" | "range" | "test" | yes | |
from | string | no | |
to | string | no |
autoCapture.get
GET /v1/projects/{project}/auto-capture – Auto-capture switches (outbound links, downloads, 404 pages), download extensions and last-30-days activity per signal.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
AutoCaptureState)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
autoCapture.update
PATCH /v1/projects/{project}/auto-capture – Change the auto-capture switches and/or download extensions (bumps configRev; websites pick it up with the next config fetch).
Send configRev from autoCapture.get: when the tracking config changed in the meantime the API answers 409 conflict instead of overwriting.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
AutoCaptureState) - Body: application/json (
AutoCaptureUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
projects.modePreview
GET /v1/projects/{project}/mode-preview – What a mode change does: current vs new column sets and the last 30 days' numbers under both (data is never changed).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ModePreview)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
mode | "leads" | "shop" | "mixed" | no | |
lead_qualification | "0" | "1" | "true" | "false" | no | |
model | "last_click" | "first_touch" | "linear" | "position" | "time_decay" | "session" | no |
Organizations
| Operation | Endpoint | Auth |
|---|---|---|
logos.file | GET /v1/logos/{kind}/{id}/{version} | public |
mcpCalls.list | GET /v1/orgs/{org}/mcp-calls | secret key or user session · org:admin |
mcpCalls.export | GET /v1/orgs/{org}/mcp-calls/export.csv | secret key or user session · org:admin |
intelligenceAudit.list | GET /v1/orgs/{org}/intelligence/audit | secret key or user session · org:admin |
intelligenceAudit.export | GET /v1/orgs/{org}/intelligence/audit/export.csv | secret key or user session · org:admin |
logos.file
GET /v1/logos/{kind}/{id}/{version} – The logo file of an organization or project (public, versioned path, cached for a year; SVGs with a CSP that runs nothing).
Logos are branding shown on every screen of the products and the X3 App, so the file needs no sign-in; the path carries the id (UUID) and the version, an old version answers 404.
- Auth: public
- Response: 200 image
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
kind | "org" | "project" | yes | |
id | string | yes | |
version | string | yes |
mcpCalls.list
GET /v1/orgs/{org}/mcp-calls – MCP tool calls of the organization (AI apps): tool, result, client, redacted error – never arguments; shared list params sort, f.<column>, q, cursor.
- Auth: secret key or user session ·
org:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | no | |
limit | string | no | |
cursor | string | no | |
count | "capped" | "none" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: at, tool, result, client, label, duration_ms, rows |
fields | string | no | Comma-separated columns for CSV/MCP output: at, tool, result, client, label, project, duration_ms, rows, error |
q | string | no | Search: tool, app or key |
f.at | string | no | Time (date): before | after | between, e.g. after:2026-10-01 |
f.tool | string | no | Tool (text): eq | in | contains, e.g. contains:text |
f.result | string | no | Result (enum): eq | in, e.g. in:ok,error |
f.client | string | no | Access (enum): eq | in, e.g. in:oauth,claude_code_key |
f.label | string | no | App or key (text): eq | in | contains, e.g. contains:text |
f.duration_ms | string | no | Duration (ms) (number): eq | gte | lte | between, e.g. between:10,60 |
f.rows | string | no | Rows (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
mcpCalls.export
GET /v1/orgs/{org}/mcp-calls/export.csv – CSV of an MCP calls view: same filters, sort and search as mcpCalls.list; fields picks the columns (≤ 50,000 rows).
- Auth: secret key or user session ·
org:admin - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: at, tool, result, client, label, duration_ms, rows |
fields | string | no | Comma-separated columns for CSV/MCP output: at, tool, result, client, label, project, duration_ms, rows, error |
q | string | no | Search: tool, app or key |
f.at | string | no | Time (date): before | after | between, e.g. after:2026-10-01 |
f.tool | string | no | Tool (text): eq | in | contains, e.g. contains:text |
f.result | string | no | Result (enum): eq | in, e.g. in:ok,error |
f.client | string | no | Access (enum): eq | in, e.g. in:oauth,claude_code_key |
f.label | string | no | App or key (text): eq | in | contains, e.g. contains:text |
f.duration_ms | string | no | Duration (ms) (number): eq | gte | lte | between, e.g. between:10,60 |
f.rows | string | no | Rows (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
locale | "de" | "en" | no |
intelligenceAudit.list
GET /v1/orgs/{org}/intelligence/audit – Growth Intelligence's audit log of the organization (projects, settings, conversions, connections, reports; X3 Konto keeps the identity changes since the product split); shared list params sort, f.<column>, q, cursor (the legacy numeric cursor keeps working with the default sort).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | no | |
cursor | string | no | |
project | string | no | |
action | string | no | |
count | "capped" | "none" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: at, action, actor_kind, actor, target_type |
fields | string | no | Comma-separated columns for CSV/MCP output: at, action, actor_kind, actor, project, target_type |
q | string | no | Search: change, who |
f.at | string | no | When (date): before | after | between, e.g. after:2026-10-01 |
f.action | string | no | Change (enum): eq | in, e.g. in:org.create,org.update |
f.actor_kind | string | no | Who (kind) (enum): eq | in, e.g. in:user,secret_key |
f.actor | string | no | Who (text): eq | in | contains | isEmpty, e.g. contains:text |
f.target_type | string | no | Target (text): eq | in | contains | isEmpty, e.g. contains:text |
intelligenceAudit.export
GET /v1/orgs/{org}/intelligence/audit/export.csv – CSV of an audit log view: same filters, sort and search as intelligenceAudit.list; fields picks the columns (≤ 50,000 rows).
- Auth: secret key or user session ·
org:admin - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | no | |
action | string | no | |
locale | "de" | "en" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: at, action, actor_kind, actor, target_type |
fields | string | no | Comma-separated columns for CSV/MCP output: at, action, actor_kind, actor, project, target_type |
q | string | no | Search: change, who |
f.at | string | no | When (date): before | after | between, e.g. after:2026-10-01 |
f.action | string | no | Change (enum): eq | in, e.g. in:org.create,org.update |
f.actor_kind | string | no | Who (kind) (enum): eq | in, e.g. in:user,secret_key |
f.actor | string | no | Who (text): eq | in | contains | isEmpty, e.g. contains:text |
f.target_type | string | no | Target (text): eq | in | contains | isEmpty, e.g. contains:text |
Keys
| Operation | Endpoint | Auth |
|---|---|---|
publishableKeys.list | GET /v1/projects/{project}/publishable-keys | secret key or user session · analytics:read |
publishableKeys.create | POST /v1/projects/{project}/publishable-keys | secret key or user session · project:admin |
publishableKeys.roll | POST /v1/projects/{project}/publishable-keys/{id}/roll | secret key or user session · project:admin |
proxyKeys.list | GET /v1/projects/{project}/proxy-keys | secret key or user session · project:admin |
proxyKeys.create | POST /v1/projects/{project}/proxy-keys | secret key or user session · project:admin |
proxyKeys.revoke | DELETE /v1/projects/{project}/proxy-keys/{id} | secret key or user session · project:admin |
publishableKeys.revoke | DELETE /v1/projects/{project}/publishable-keys/{id} | secret key or user session · project:admin |
appConnect.authorize | POST /v1/projects/{project}/app-connect | dashboard user session · project:admin · sudo |
appConnect.token | POST /v1/app-connect/token | public |
publishableKeys.list
GET /v1/projects/{project}/publishable-keys – Publishable keys (pk_3x_…) of the project.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
publishableKeys.create
POST /v1/projects/{project}/publishable-keys – Create a publishable key.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
ApiKeyCreated) - Body: application/json (
PublishableKeyCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
publishableKeys.roll
POST /v1/projects/{project}/publishable-keys/{id}/roll – Roll a publishable key (old key keeps working during the overlap).
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
ApiKeyCreated) - Body: application/json (
KeyRoll)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
proxyKeys.list
GET /v1/projects/{project}/proxy-keys – First-party proxy keys of the project (secret keys with exactly ingest:proxy; never the secret).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
proxyKeys.create
POST /v1/projects/{project}/proxy-keys – Create a proxy key (scope ingest:proxy, bound to this project) – the value is returned once.
Requires project:admin and the right to grant ingest:proxy (owners/admins; keys and OAuth grants that hold ingest:proxy). Keys created by an OAuth grant or another key are bound to it.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
ApiKeyCreated) - Body: application/json (
ProxyKeyCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
proxyKeys.revoke
DELETE /v1/projects/{project}/proxy-keys/{id} – Revoke a proxy key.
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
publishableKeys.revoke
DELETE /v1/projects/{project}/publishable-keys/{id} – Revoke a publishable key.
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
appConnect.authorize
POST /v1/projects/{project}/app-connect – Connect an installed app (Shopware plugin) to this project: mints a project-limited key with the app's scopes and answers the app's callback with a one-time code.
The callback must be the app's fixed path on the host the person confirmed (https; http only for loopback). The code lives 10 minutes and works once, only together with the PKCE verifier of the app.
- Auth: dashboard user session ·
project:admin· sudo - Response: 201 JSON (
AppConnectAuthorized) - Body: application/json (
AppConnectAuthorize)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
appConnect.token
POST /v1/app-connect/token – Public: an app exchanges its one-time code and PKCE verifier for its secret key (once; unknown, used, expired and mismatching codes look the same).
- Auth: public
- Response: 200 JSON (
AppConnectGrant) - Body: application/json (
AppConnectToken)
Analytics
| Operation | Endpoint | Auth |
|---|---|---|
analytics.overview | GET /v1/projects/{project}/analytics/overview | secret key or user session · analytics:read |
analytics.leads | GET /v1/projects/{project}/analytics/leads | secret key or user session · analytics:read |
analytics.timeseries | GET /v1/projects/{project}/analytics/timeseries | secret key or user session · analytics:read |
analytics.funnel | GET /v1/projects/{project}/analytics/funnel | secret key or user session · analytics:read |
analytics.funnelTrend | GET /v1/projects/{project}/analytics/funnel/trend | secret key or user session · analytics:read |
analytics.funnelBreakdown | GET /v1/projects/{project}/analytics/funnel/breakdown | secret key or user session · analytics:read |
analytics.funnelChanges | GET /v1/projects/{project}/analytics/funnel/changes | secret key or user session · analytics:read |
analytics.funnelCohorts | GET /v1/projects/{project}/analytics/funnel/cohorts | secret key or user session · analytics:read |
analytics.funnelTiming | GET /v1/projects/{project}/analytics/funnel/timing | secret key or user session · analytics:read |
analytics.funnelDropoff | GET /v1/projects/{project}/analytics/funnel/dropoff | secret key or user session · analytics:read |
analytics.breakdown | GET /v1/projects/{project}/analytics/breakdown | secret key or user session · analytics:read |
analytics.relevanceRanking | GET /v1/projects/{project}/analytics/relevance-ranking | secret key or user session · analytics:read |
analytics.pages | GET /v1/projects/{project}/analytics/pages | secret key or user session · analytics:read |
analytics.scroll | GET /v1/projects/{project}/analytics/scroll | secret key or user session · analytics:read |
analytics.sections | GET /v1/projects/{project}/analytics/sections | secret key or user session · analytics:read |
analytics.engagement | GET /v1/projects/{project}/analytics/engagement | secret key or user session · analytics:read |
analytics.clicks | GET /v1/projects/{project}/analytics/clicks | secret key or user session · analytics:read |
analytics.videos | GET /v1/projects/{project}/analytics/videos | secret key or user session · analytics:read |
analytics.videoRetention | GET /v1/projects/{project}/analytics/videos/{video}/retention | secret key or user session · analytics:read |
analytics.videoTimeline | GET /v1/projects/{project}/analytics/videos/{video}/timeline | secret key or user session · analytics:read |
analytics.videoTitle | PUT /v1/projects/{project}/analytics/videos/{video}/title | secret key or user session · config:write |
analytics.answers | GET /v1/projects/{project}/analytics/answers | secret key or user session · analytics:read |
analytics.flow | GET /v1/projects/{project}/analytics/flow | secret key or user session · analytics:read |
analytics.goals | GET /v1/projects/{project}/analytics/goals | secret key or user session · analytics:read |
analytics.filterOptions | GET /v1/projects/{project}/analytics/filter-options | secret key or user session · analytics:read |
analytics.events | GET /v1/projects/{project}/analytics/events | secret key or user session · analytics:read |
sql.query | POST /v1/projects/{project}/sql | secret key or user session · analytics:read |
schema.get | GET /v1/projects/{project}/schema | secret key or user session · analytics:read |
analytics.outboundLinks | GET /v1/projects/{project}/analytics/outbound-links | secret key or user session · analytics:read |
analytics.downloads | GET /v1/projects/{project}/analytics/downloads | secret key or user session · analytics:read |
analytics.notFound | GET /v1/projects/{project}/analytics/not-found | secret key or user session · analytics:read |
analytics.overview
GET /v1/projects/{project}/analytics/overview – KPIs, extras, time series, default funnel, previous-period comparison.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
bucket | "hour" | "day" | "week" | no | |
compare | "0" | "1" | "true" | "false" | no |
analytics.leads
GET /v1/projects/{project}/analytics/leads – Real leads of the filtered segment: total, previous period, zero-filled series (leads joined to their visit).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
bucket | "hour" | "day" | "week" | no | |
compare | "0" | "1" | "true" | "false" | no |
analytics.timeseries
GET /v1/projects/{project}/analytics/timeseries – Zero-filled series of sessions, visitors, pageviews, conversions.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
bucket | "hour" | "day" | "week" | no | |
compare | "previous" | "previous_year" | no | adds previous: the comparison period, aligned bucket by bucket (index and weekday) |
split | "channel_group" | "channel" | "device" | "entry_group" | "relevance_band" | no | adds split: published sessions per bucket and value (top N, the rest as „Weitere“); relevance_band = the tier bands |
top | string | no | values of split (default 6) |
analytics.funnel
GET /v1/projects/{project}/analytics/funnel – Funnel steps (default funnel or ?funnel=<key>).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no |
analytics.funnelTrend
GET /v1/projects/{project}/analytics/funnel/trend – Funnel over time: units entering and reaching each step per day, week or month (optionally the comparison range aligned bucket by bucket).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FunnelTrend)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no | |
bucket | "day" | "week" | "month" | no |
analytics.funnelBreakdown
GET /v1/projects/{project}/analytics/funnel/breakdown – Funnel per value of a dimension (channel, campaign, ad, device, browser, country, landing page, new/returning, experiment variant, relevance tier).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FunnelBreakdown)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no | |
dimension | "channel" | "utm_source" | "utm_medium" | "utm_campaign" | "utm_content" | "ad_campaign" | "ad" | "device" | "browser" | "os" | "country" | "entry_page" | "visitor_type" | "experiment_arm" | "relevance_tier" | yes | |
limit | string | no |
analytics.funnelChanges
GET /v1/projects/{project}/analytics/funnel/changes – What changed: step transitions and segments with the biggest change against the comparison range, ranked by impact.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FunnelChanges)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no |
analytics.funnelCohorts
GET /v1/projects/{project}/analytics/funnel/cohorts – Cohorts by week of the first step: how many reached each step within N days.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FunnelCohorts)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no | |
days | string | no |
analytics.funnelTiming
GET /v1/projects/{project}/analytics/funnel/timing – Time to convert between steps and overall: median, p75, p90 and distribution.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FunnelTiming)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no |
analytics.funnelDropoff
GET /v1/projects/{project}/analytics/funnel/dropoff – Drop-off at one step: where they went instead, exit pages, time before leaving and the funnel_step filter of these visits.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FunnelDropoff)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
funnel | string | no | Funnel key (default funnel when omitted) |
order | "sequential" | "any" | "independent" | no | sequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode |
unit | "session" | "visitor" | "journey" | no | session (default), visitor (across days only with consent, else the daily hash) or journey |
window | string | no | Conversion window in seconds from the first step (default: the visit for session, 7 days otherwise) |
compare | "previous" | "previous_year" | "custom" | "off" | no | Comparison range: previous, previous_year, custom (compare_from/compare_to) or off (default) |
compare_from | string | no | |
compare_to | string | no | |
step | string | yes |
analytics.breakdown
GET /v1/projects/{project}/analytics/breakdown – Full session aggregate per value of a dimension.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Breakdown)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
dimension | "channel" | "utm_source" | "utm_medium" | "utm_campaign" | "utm_content" | "utm_term" | "utm_id" | "ref_host" | "entry_page" | "entry_group" | "variant" | "device" | "browser" | "os" | "country" | "lang" | "exit_page" | "exit_group" | "entry_host" | "screen" | "stitch" | "attr_from" | "click_id" | "converted" | "quiz_answers" | "consent" | "relevance_tier" | "channel_group" | "relevance_band" | "visitor_type" | "goal" | "ad_platform" | "ad_campaign" | "ad_adset" | "ad" | "day" | "week" | "month" | "hour_of_day" | "weekday" | "platform" | "app_version" | yes | |
sort | string | no | |
dir | "asc" | "desc" | no | |
limit | string | no | |
min_sessions | string | no | |
model | object | no |
analytics.relevanceRanking
GET /v1/projects/{project}/analytics/relevance-ranking – Rank values of a dimension by relevance (default utm_campaign).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RelevanceRanking)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
dimension | "channel" | "utm_source" | "utm_medium" | "utm_campaign" | "utm_content" | "utm_term" | "utm_id" | "ref_host" | "entry_page" | "entry_group" | "variant" | "device" | "browser" | "os" | "country" | "lang" | no | |
sort | "avg" | "hot" | "hot_rate" | "engaged_rate" | "sessions" | no | |
min_sessions | string | no | |
limit | string | no |
analytics.pages
GET /v1/projects/{project}/analytics/pages – Pages: pageviews, sessions, entries, exits, engagement, scroll, fold-only, clicks, video.
Shared list contract on the aggregated page rows (sort=field:dir,… up to 3 keys; f.<field>=<op>:<value>; q; fields; offset cursor). Entry-based columns (interestedRate, leads, leadRate) count visits that landed on the page; model picks the counting rule for leads (default: per visit). Without sort the rows keep the legacy order (pageviews desc).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
limit | string | no | |
cursor | string | no | |
model | object | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: page, group, sessions, pageviews, entries, interestedRate, foldOnlyRate, avgEngagedS, leads, leadRate, interested, hot, hotRate, interestedToLead, hotToLead, qualifiedLeads, exits, exitRate, avgScrollPct, medianScrollPct, clicks, clicksPerPageview, videoPlays, videoStartRate |
fields | string | no | Comma-separated columns for CSV/MCP output: page, group, sessions, pageviews, entries, interestedRate, foldOnlyRate, avgEngagedS, leads, leadRate, interested, hot, hotRate, interestedToLead, hotToLead, qualifiedLeads, exits, exitRate, avgScrollPct, medianScrollPct, clicks, clicksPerPageview, videoPlays, videoStartRate, variants |
q | string | no | Search: page or page group |
f.page | string | no | Page (text): eq | in | contains, e.g. contains:text |
f.group | string | no | Page group (text): eq | in | contains, e.g. contains:text |
f.sessions | string | no | Visits (number): eq | gte | lte | between, e.g. between:10,60 |
f.pageviews | string | no | Views (number): eq | gte | lte | between, e.g. between:10,60 |
f.entries | string | no | Entries (number): eq | gte | lte | between, e.g. between:10,60 |
f.interestedRate | string | no | Interested (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.foldOnlyRate | string | no | Top only (number): eq | gte | lte | between, e.g. between:10,60 |
f.avgEngagedS | string | no | Avg. active (number): eq | gte | lte | between, e.g. between:10,60 |
f.leads | string | no | Leads (number): eq | gte | lte | between, e.g. between:10,60 |
f.leadRate | string | no | Lead rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.interested | string | no | Interested entries (number): eq | gte | lte | between, e.g. between:10,60 |
f.hot | string | no | Hot entries (number): eq | gte | lte | between, e.g. between:10,60 |
f.hotRate | string | no | Hot % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.interestedToLead | string | no | Interested → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.hotToLead | string | no | Hot → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.qualifiedLeads | string | no | Qualified leads (number): eq | gte | lte | between, e.g. between:10,60 |
f.exits | string | no | Exits (number): eq | gte | lte | between, e.g. between:10,60 |
f.exitRate | string | no | Exit rate (number): eq | gte | lte | between, e.g. between:10,60 |
f.avgScrollPct | string | no | Avg. scroll depth (number): eq | gte | lte | between, e.g. between:10,60 |
f.medianScrollPct | string | no | Median scroll depth (number): eq | gte | lte | between, e.g. between:10,60 |
f.clicks | string | no | Clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.clicksPerPageview | string | no | Clicks per view (number): eq | gte | lte | between, e.g. between:10,60 |
f.videoPlays | string | no | Video plays (number): eq | gte | lte | between, e.g. between:10,60 |
f.videoStartRate | string | no | Views with video (number): eq | gte | lte | between, e.g. between:10,60 |
f.variants | string | no | Variants (text): eq | in | contains | isEmpty, e.g. contains:text |
analytics.scroll
GET /v1/projects/{project}/analytics/scroll – Scroll curve, fold-only rate, fold share, milestones (restored scroll positions excluded).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
analytics.sections
GET /v1/projects/{project}/analytics/sections – Section reach per page.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
limit | string | no |
analytics.engagement
GET /v1/projects/{project}/analytics/engagement – Engaged-time distribution per pageview or session.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
level | "pageview" | "session" | no |
analytics.clicks
GET /v1/projects/{project}/analytics/clicks – Top clicks by label/kind/tag/href/section.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
limit | string | no |
analytics.videos
GET /v1/projects/{project}/analytics/videos – Video plays, start rate, watched time, coverage, completion, retention.
Per video with its display name (title, titleSource). Shared list contract in memory (sort, f.<field>, q, fields, offset cursor); without sort the rows keep the legacy order (plays desc).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
limit | string | no | |
cursor | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: title, video, titleSource, plays, sessions, startRate, hookRate, halfRate, completionRate, avgWatchedS, avgCoveragePct, avgDurationS, leads, leadRate, lastPlayAt |
fields | string | no | Comma-separated columns for CSV/MCP output: title, video, titleSource, plays, sessions, startRate, hookRate, halfRate, completionRate, avgWatchedS, avgCoveragePct, avgDurationS, leads, leadRate, lastPlayAt |
q | string | no | Search: video name or id |
f.title | string | no | Video (text): eq | in | contains, e.g. contains:text |
f.video | string | no | Id (text): eq | in | contains, e.g. contains:text |
f.titleSource | string | no | Name from (enum): eq | in, e.g. in:manual,attribute |
f.plays | string | no | Plays (number): eq | gte | lte | between, e.g. between:10,60 |
f.sessions | string | no | Visits with a play (number): eq | gte | lte | between, e.g. between:10,60 |
f.startRate | string | no | Start rate (number): eq | gte | lte | between, e.g. between:10,60 |
f.hookRate | string | no | Watch 3 s (number): eq | gte | lte | between, e.g. between:10,60 |
f.halfRate | string | no | To the middle (number): eq | gte | lte | between, e.g. between:10,60 |
f.completionRate | string | no | To the end (number): eq | gte | lte | between, e.g. between:10,60 |
f.avgWatchedS | string | no | Avg. watched (number): eq | gte | lte | between, e.g. between:10,60 |
f.avgCoveragePct | string | no | Avg. watched (share) (number): eq | gte | lte | between, e.g. between:10,60 |
f.avgDurationS | string | no | Length (number): eq | gte | lte | between, e.g. between:10,60 |
f.leads | string | no | Leads afterwards (number): eq | gte | lte | between, e.g. between:10,60 |
f.leadRate | string | no | Lead rate (number): eq | gte | lte | between, e.g. between:10,60 |
f.lastPlayAt | string | no | Last played (date): before | after | between | isEmpty, e.g. after:2026-10-01 |
analytics.videoRetention
GET /v1/projects/{project}/analytics/videos/{video}/retention – Downsampled retention curve of one video, overall and per format.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
video | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
step | string | no |
analytics.videoTimeline
GET /v1/projects/{project}/analytics/videos/{video}/timeline – Second-by-second retention of one video: watching, exits, rewatches and skips per bucket, drop-off/rewatch/skip zones and frame sources.
Plan feature video_analytics (Projekt Growth and up). Buckets of one second (20–300 buckets, longer videos coarser); format limits to one format, all places each play on its own duration.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
video | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
format | "all" | "landscape" | "portrait" | "unknown" | no |
analytics.videoTitle
PUT /v1/projects/{project}/analytics/videos/{video}/title – Rename a video (display name in dashboard, MCP and exports); title null returns to the name from the page.
- Auth: secret key or user session ·
config:write - Response: 200 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
video | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
title | string | null | yes |
analytics.answers
GET /v1/projects/{project}/analytics/answers – Questionnaire (quiz) funnel and option distribution per question.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
questionnaire | string | no |
analytics.flow
GET /v1/projects/{project}/analytics/flow – Entry pages, exit pages and page transitions.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
limit | string | no |
analytics.goals
GET /v1/projects/{project}/analytics/goals – Goal completions (sessions, rate, value).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
analytics.filterOptions
GET /v1/projects/{project}/analytics/filter-options – Top values per filter dimension for the date range.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
FilterOptions)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
analytics.events
GET /v1/projects/{project}/analytics/events – Raw events with session context (names, prop containment, prop text search); shared list params: sort (e.g. name:asc,at:desc), f.<column>, q (order = legacy direction of the time sort).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
names | string | string[] | no | |
props | string | no | |
prop_key | string | no | |
prop_text | string | no | |
session_id | string | no | |
order | "asc" | "desc" | no | |
limit | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: at, name, page, channel, utm_campaign, utm_content, device, source |
fields | string | no | Comma-separated columns for CSV/MCP output: at, name, page, channel, utm_campaign, utm_content, device, source, props |
q | string | no | Search: event, page, campaign |
f.at | string | no | Time (date): before | after | between, e.g. after:2026-10-01 |
f.name | string | no | Event (text): eq | in | contains, e.g. contains:text |
f.page | string | no | Page (text): eq | in | contains, e.g. contains:text |
f.channel | string | no | Channel (enum): eq | in, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_content | string | no | Content (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.device | string | no | Device (enum): eq | in, e.g. in:mobile,tablet |
f.source | string | no | Source (enum): eq | in, e.g. in:web,server |
sql.query
POST /v1/projects/{project}/sql – Read-only SQL over the project's analytics tables (one SELECT/WITH, row-level isolated).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SqlResult) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
maxRows | int | no |
schema.get
GET /v1/projects/{project}/schema – Tables and columns available to SQL, filter semantics, conventions.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SchemaDoc)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
analytics.outboundLinks
GET /v1/projects/{project}/analytics/outbound-links – Outbound links: clicks per external host, sessions, source pages, leads.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
sort | string | no | |
q | string | no | |
limit | string | no | |
f.host | string | no | |
f.clicks | string | no | |
f.sessions | string | no | |
f.leads | string | no | |
f.lastAt | string | no |
analytics.downloads
GET /v1/projects/{project}/analytics/downloads – File downloads: downloads per file, extension, sessions, source pages, leads.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
sort | string | no | |
q | string | no | |
limit | string | no | |
f.file | string | no | |
f.ext | string | no | |
f.downloads | string | no | |
f.sessions | string | no | |
f.leads | string | no | |
f.lastAt | string | no |
analytics.notFound
GET /v1/projects/{project}/analytics/not-found – 404 pages: requested paths, hits, sessions, referrers (internal broken links marked).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
sort | string | no | |
q | string | no | |
limit | string | no | |
f.path | string | no | |
f.hits | string | no | |
f.sessions | string | no | |
f.internalHits | string | no | |
f.via | string | no | |
f.firstDay | string | no | |
f.lastAt | string | no |
Sessions
| Operation | Endpoint | Auth |
|---|---|---|
sessions.list | GET /v1/projects/{project}/sessions | secret key or user session · analytics:read |
sessions.export | GET /v1/projects/{project}/sessions/export.csv | secret key or user session · analytics:read |
sessions.get | GET /v1/projects/{project}/sessions/{sessionId} | secret key or user session · analytics:read |
sessions.markTest | POST /v1/projects/{project}/sessions/mark-test | secret key or user session · project:admin · Idempotency-Key |
sessions.unseen | GET /v1/projects/{project}/sessions/unseen | secret key or user session · analytics:read |
sessions.seen | POST /v1/projects/{project}/sessions/seen | secret key or user session · analytics:read · X3 App · Idempotency-Key |
sessions.seenAll | POST /v1/projects/{project}/sessions/seen-all | secret key or user session · analytics:read · X3 App · Idempotency-Key |
sessions.leadCandidates | GET /v1/projects/{project}/sessions/{sessionId}/lead-candidates | secret key or user session · analytics:read + leads:read |
sessions.list
GET /v1/projects/{project}/sessions – Sessions explorer (sortable, paginated).
Shared list contract (sort=field:dir,… up to 3 keys; f.<field>=<op>:<value> per column; q; cursor). sort without :dir takes dir (legacy single key). cursor (keyset, from nextCursor) wins over offset. count: exact (default), capped (exact up to 10,000, then totalCapped) or none.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SessionList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
sort | string | no | field[:dir],… (max. 3); legacy single key started_at|relevance|engaged|pages|clicks|scroll|video with dir. Sortable: started_at, channel, utm_campaign, utm_source, utm_medium, utm_content, ad_platform, ref_host, entry_page, exit_page, device, browser, os, country, platform, app_version, pages, engaged, duration, clicks, scroll, video, relevance, has_lead, lead, converted, consent, stitch, variant, recording, playable, friction, rage, dead, notable, seen |
dir | "asc" | "desc" | no | |
fields | string | no | Comma-separated columns for CSV/MCP output: started_at, channel, utm_campaign, utm_source, utm_medium, utm_content, ad_platform, ref_host, entry_page, exit_page, device, browser, os, country, platform, app_version, pages, engaged, duration, clicks, scroll, video, relevance, has_lead, lead, converted, goals, consent, stitch, variant, recording, playable, timeline, friction, rage, dead, notable, seen |
q | string | no | Search: campaign, page, source |
f.started_at | string | no | Start (date): before | after | between, e.g. after:2026-10-01 |
f.channel | string | no | Channel (enum): eq | in, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_source | string | no | Source (utm_source) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_medium | string | no | Medium (utm_medium) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_content | string | no | Content (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.ad_platform | string | no | Ad platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads |
f.ref_host | string | no | Referrer (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains, e.g. contains:text |
f.exit_page | string | no | Exit page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.device | string | no | Device (enum): eq | in, e.g. in:mobile,tablet |
f.browser | string | no | Browser (enum): eq | in, e.g. in:chrome,safari |
f.os | string | no | OS (enum): eq | in, e.g. in:windows,macos |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.platform | string | no | Platform (enum): eq | in, e.g. in:web,ios |
f.app_version | string | no | App version (text): eq | in | contains | isEmpty, e.g. contains:text |
f.pages | string | no | Pages (number): eq | gte | lte | between, e.g. between:10,60 |
f.engaged | string | no | Active (number): eq | gte | lte | between, e.g. between:10,60 |
f.duration | string | no | Total duration (number): eq | gte | lte | between, e.g. between:10,60 |
f.clicks | string | no | Clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.scroll | string | no | Scroll depth (number): eq | gte | lte | between, e.g. between:10,60 |
f.video | string | no | Video watched (number): eq | gte | lte | between, e.g. between:10,60 |
f.relevance | string | no | Interest (number): eq | gte | lte | between, e.g. between:10,60 |
f.has_lead | string | no | With inquiry (boolean): eq, e.g. eq:true |
f.lead | string | no | Lead (boolean): eq, e.g. eq:true |
f.converted | string | no | Goal reached (boolean): eq, e.g. eq:true |
f.consent | string | no | Consent (boolean): eq, e.g. eq:true |
f.stitch | string | no | Stitching (enum): eq | in, e.g. in:new,memory |
f.variant | string | no | Page variant (text): eq | in | contains | isEmpty, e.g. contains:text |
f.recording | string | no | Recording (enum): eq | in | isEmpty, e.g. in:recording,reconstruction |
f.playable | string | no | Playable (boolean): eq, e.g. eq:true |
f.friction | string | no | Friction (number): eq | gte | lte | between, e.g. between:10,60 |
f.rage | string | no | Rage clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.dead | string | no | Dead clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.notable | string | no | Notable for (enum): eq | in | isEmpty, e.g. in:lead,converted |
f.seen | string | no | Seen (boolean): eq, e.g. eq:true |
limit | string | no | |
offset | string | no | |
cursor | string | no | |
count | "exact" | "capped" | "none" | no | |
playlist | "lost_leads" | "quiz_drop" | "rage" | "whatsapp_no_lead" | "inquired" | "frustrated" | "converted" | "wa_no_lead" | "rage_clicks" | no | Smart playlist as an extra filter: lost_leads (hot, paid, no lead, last 24 h), quiz_drop, rage, whatsapp_no_lead, inquired (lead or goal), frustrated (any friction); aliases converted, wa_no_lead, rage_clicks. „This ad“ is the filter ad_id. |
markers | "0" | "1" | "true" | "false" | no | true = each row carries markers, the mini timeline of the visit (≤ 12) |
queue | "0" | "1" | "true" | "false" | no | true = queue: the playable visits of the view in its order (first 200) and their total length – what „Alle abspielen“ plays |
sessions.export
GET /v1/projects/{project}/sessions/export.csv – CSV of a sessions view: same filter, sort, column filters and search as sessions.list; fields picks the columns (≤ 50,000 rows, streamed).
- Auth: secret key or user session ·
analytics:read - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
sort | string | no | field[:dir],… (max. 3); legacy single key started_at|relevance|engaged|pages|clicks|scroll|video with dir. Sortable: started_at, channel, utm_campaign, utm_source, utm_medium, utm_content, ad_platform, ref_host, entry_page, exit_page, device, browser, os, country, platform, app_version, pages, engaged, duration, clicks, scroll, video, relevance, has_lead, lead, converted, consent, stitch, variant, recording, playable, friction, rage, dead, notable, seen |
dir | "asc" | "desc" | no | |
fields | string | no | Comma-separated columns for CSV/MCP output: started_at, channel, utm_campaign, utm_source, utm_medium, utm_content, ad_platform, ref_host, entry_page, exit_page, device, browser, os, country, platform, app_version, pages, engaged, duration, clicks, scroll, video, relevance, has_lead, lead, converted, goals, consent, stitch, variant, recording, playable, timeline, friction, rage, dead, notable, seen |
q | string | no | Search: campaign, page, source |
f.started_at | string | no | Start (date): before | after | between, e.g. after:2026-10-01 |
f.channel | string | no | Channel (enum): eq | in, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_source | string | no | Source (utm_source) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_medium | string | no | Medium (utm_medium) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_content | string | no | Content (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.ad_platform | string | no | Ad platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads |
f.ref_host | string | no | Referrer (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains, e.g. contains:text |
f.exit_page | string | no | Exit page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.device | string | no | Device (enum): eq | in, e.g. in:mobile,tablet |
f.browser | string | no | Browser (enum): eq | in, e.g. in:chrome,safari |
f.os | string | no | OS (enum): eq | in, e.g. in:windows,macos |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.platform | string | no | Platform (enum): eq | in, e.g. in:web,ios |
f.app_version | string | no | App version (text): eq | in | contains | isEmpty, e.g. contains:text |
f.pages | string | no | Pages (number): eq | gte | lte | between, e.g. between:10,60 |
f.engaged | string | no | Active (number): eq | gte | lte | between, e.g. between:10,60 |
f.duration | string | no | Total duration (number): eq | gte | lte | between, e.g. between:10,60 |
f.clicks | string | no | Clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.scroll | string | no | Scroll depth (number): eq | gte | lte | between, e.g. between:10,60 |
f.video | string | no | Video watched (number): eq | gte | lte | between, e.g. between:10,60 |
f.relevance | string | no | Interest (number): eq | gte | lte | between, e.g. between:10,60 |
f.has_lead | string | no | With inquiry (boolean): eq, e.g. eq:true |
f.lead | string | no | Lead (boolean): eq, e.g. eq:true |
f.converted | string | no | Goal reached (boolean): eq, e.g. eq:true |
f.consent | string | no | Consent (boolean): eq, e.g. eq:true |
f.stitch | string | no | Stitching (enum): eq | in, e.g. in:new,memory |
f.variant | string | no | Page variant (text): eq | in | contains | isEmpty, e.g. contains:text |
f.recording | string | no | Recording (enum): eq | in | isEmpty, e.g. in:recording,reconstruction |
f.playable | string | no | Playable (boolean): eq, e.g. eq:true |
f.friction | string | no | Friction (number): eq | gte | lte | between, e.g. between:10,60 |
f.rage | string | no | Rage clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.dead | string | no | Dead clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.notable | string | no | Notable for (enum): eq | in | isEmpty, e.g. in:lead,converted |
f.seen | string | no | Seen (boolean): eq, e.g. eq:true |
playlist | "lost_leads" | "quiz_drop" | "rage" | "whatsapp_no_lead" | "inquired" | "frustrated" | "converted" | "wa_no_lead" | "rage_clicks" | no | Smart playlist as an extra filter: lost_leads (hot, paid, no lead, last 24 h), quiz_drop, rage, whatsapp_no_lead, inquired (lead or goal), frustrated (any friction); aliases converted, wa_no_lead, rage_clicks. „This ad“ is the filter ad_id. |
locale | "de" | "en" | no |
sessions.get
GET /v1/projects/{project}/sessions/{sessionId} – One session: attribution, relevance breakdown, pageviews with merged timeline, conversions, leads.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SessionDetail)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessionId | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
sections | "0" | "1" | "true" | "false" | no | |
locale | "en" | "de" | no |
sessions.markTest
POST /v1/projects/{project}/sessions/mark-test – Mark visits as test traffic afterwards (one-way, never deletes; their leads follow, daily figures are recomputed; audited).
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 200 JSON (
SessionsMarkTestResult) - Body: application/json (
SessionsMarkTest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessions.unseen
GET /v1/projects/{project}/sessions/unseen – Badge of „Sitzungen“: the caller's unseen visits from the tier „Neugierig“ on, started in „Letzte 7 Tage“ (7 local days incl. today), without test traffic.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SessionsUnseen)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessions.seen
POST /v1/projects/{project}/sessions/seen – Mark visits as seen (or back to unseen) for the caller only – other members keep their own state.
- Auth: secret key or user session ·
analytics:read· X3 App ·Idempotency-Key - Response: 200 JSON (
SessionsSeenResult) - Body: application/json (
SessionsSeen)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessions.seenAll
POST /v1/projects/{project}/sessions/seen-all – Mark every visit of a view (same filter, column filters and search as sessions.list; ≤ 50,000) as seen or unseen for the caller.
- Auth: secret key or user session ·
analytics:read· X3 App ·Idempotency-Key - Response: 200 JSON (
SessionsSeenResult) - Body: application/json (
SessionsSeenAll)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
fields | string | no | Comma-separated columns for CSV/MCP output: started_at, channel, utm_campaign, utm_source, utm_medium, utm_content, ad_platform, ref_host, entry_page, exit_page, device, browser, os, country, platform, app_version, pages, engaged, duration, clicks, scroll, video, relevance, has_lead, lead, converted, goals, consent, stitch, variant, recording, playable, timeline, friction, rage, dead, notable, seen |
q | string | no | Search: campaign, page, source |
f.started_at | string | no | Start (date): before | after | between, e.g. after:2026-10-01 |
f.channel | string | no | Channel (enum): eq | in, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_source | string | no | Source (utm_source) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_medium | string | no | Medium (utm_medium) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.utm_content | string | no | Content (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text |
f.ad_platform | string | no | Ad platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads |
f.ref_host | string | no | Referrer (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains, e.g. contains:text |
f.exit_page | string | no | Exit page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.device | string | no | Device (enum): eq | in, e.g. in:mobile,tablet |
f.browser | string | no | Browser (enum): eq | in, e.g. in:chrome,safari |
f.os | string | no | OS (enum): eq | in, e.g. in:windows,macos |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.platform | string | no | Platform (enum): eq | in, e.g. in:web,ios |
f.app_version | string | no | App version (text): eq | in | contains | isEmpty, e.g. contains:text |
f.pages | string | no | Pages (number): eq | gte | lte | between, e.g. between:10,60 |
f.engaged | string | no | Active (number): eq | gte | lte | between, e.g. between:10,60 |
f.duration | string | no | Total duration (number): eq | gte | lte | between, e.g. between:10,60 |
f.clicks | string | no | Clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.scroll | string | no | Scroll depth (number): eq | gte | lte | between, e.g. between:10,60 |
f.video | string | no | Video watched (number): eq | gte | lte | between, e.g. between:10,60 |
f.relevance | string | no | Interest (number): eq | gte | lte | between, e.g. between:10,60 |
f.has_lead | string | no | With inquiry (boolean): eq, e.g. eq:true |
f.lead | string | no | Lead (boolean): eq, e.g. eq:true |
f.converted | string | no | Goal reached (boolean): eq, e.g. eq:true |
f.consent | string | no | Consent (boolean): eq, e.g. eq:true |
f.stitch | string | no | Stitching (enum): eq | in, e.g. in:new,memory |
f.variant | string | no | Page variant (text): eq | in | contains | isEmpty, e.g. contains:text |
f.recording | string | no | Recording (enum): eq | in | isEmpty, e.g. in:recording,reconstruction |
f.playable | string | no | Playable (boolean): eq, e.g. eq:true |
f.friction | string | no | Friction (number): eq | gte | lte | between, e.g. between:10,60 |
f.rage | string | no | Rage clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.dead | string | no | Dead clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.notable | string | no | Notable for (enum): eq | in | isEmpty, e.g. in:lead,converted |
f.seen | string | no | Seen (boolean): eq, e.g. eq:true |
playlist | "lost_leads" | "quiz_drop" | "rage" | "whatsapp_no_lead" | "inquired" | "frustrated" | "converted" | "wa_no_lead" | "rage_clicks" | no | Smart playlist as an extra filter: lost_leads (hot, paid, no lead, last 24 h), quiz_drop, rage, whatsapp_no_lead, inquired (lead or goal), frustrated (any friction); aliases converted, wa_no_lead, rage_clicks. „This ad“ is the filter ad_id. |
sessions.leadCandidates
GET /v1/projects/{project}/sessions/{sessionId}/lead-candidates – Leads a visit belongs to and suggestions to assign it (same consented visitor, same journey, lead shortly after the visit) or a search by name, e-mail or phone.
Returns contact data, so it needs leads:read. E-mail and phone are matched by their hash – an exact address or number finds the lead even when no plaintext is stored.
- Auth: secret key or user session ·
analytics:read+leads:read - Response: 200 JSON (
LeadCandidates)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessionId | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
q | string | no | |
limit | string | no |
Leads
| Operation | Endpoint | Auth |
|---|---|---|
leads.markTest | POST /v1/projects/{project}/leads/mark-test | secret key or user session · project:admin · Idempotency-Key |
leads.list | GET /v1/projects/{project}/leads | secret key or user session |
leads.report | POST /v1/projects/{project}/leads/{id}/report | secret key or user session · conversions:write + leads:read · X3 App |
leads.get | GET /v1/projects/{project}/leads/{id} | secret key or user session |
leads.state | GET /v1/projects/{project}/leads/{id}/state | secret key or user session |
leads.create | POST /v1/projects/{project}/leads | secret key or user session · leads:write · X3 App · Idempotency-Key |
leads.delete | DELETE /v1/projects/{project}/leads/{id} | secret key or user session · leads:write |
leads.export | GET /v1/projects/{project}/leads.csv | secret key or user session · leads:read |
leads.exportView | GET /v1/projects/{project}/leads/view.csv | secret key or user session |
leads.sessions | GET /v1/projects/{project}/leads/{id}/sessions | secret key or user session · analytics:read + leads:summary |
leads.sessions.link | POST /v1/projects/{project}/leads/{id}/sessions | secret key or user session · leads:write · X3 App |
leads.sessions.unlink | POST /v1/projects/{project}/leads/{id}/sessions/unlink | secret key or user session · leads:write · X3 App |
leads.revealContact | POST /v1/projects/{project}/leads/{id}/reveal-contact | secret key or user session · leads:read · X3 App |
leads.updatePipeline | PATCH /v1/projects/{project}/leads/{id}/pipeline | secret key or user session · leads:status · X3 App |
leads.notes.list | GET /v1/projects/{project}/leads/{id}/notes | secret key or user session · leads:status |
leads.notes.create | POST /v1/projects/{project}/leads/{id}/notes | secret key or user session · leads:status · X3 App |
leads.revenueImport | POST /v1/projects/{project}/leads/revenue | secret key or user session · leads:status · Idempotency-Key |
leads.statusHistory | GET /v1/projects/{project}/leads/{id}/status-history | secret key or user session |
leads.undoStatus | POST /v1/projects/{project}/leads/{id}/status/undo | secret key or user session · leads:status · X3 App |
leads.merge | POST /v1/projects/{project}/leads/{id}/merge | secret key or user session · leads:status · X3 App |
leads.merged | GET /v1/projects/{project}/leads/{id}/merged | secret key or user session |
leadReasons.list | GET /v1/projects/{project}/lead-reasons | secret key or user session · analytics:read |
leadReasons.create | POST /v1/projects/{project}/lead-reasons | secret key or user session · config:write · Idempotency-Key |
leadReasons.update | PATCH /v1/projects/{project}/lead-reasons/{id} | secret key or user session · config:write |
leadReasons.archive | POST /v1/projects/{project}/lead-reasons/{id}/archive | secret key or user session · config:write |
leads.visitorNote | POST /v1/projects/{project}/leads/notes | secret key or user session · leads:write |
crm.browserLead | POST /v1/leads | publishable key (pk_3x_…) |
leads.update | PATCH /v1/projects/{project}/leads/{id} | secret key or user session · leads:write |
leads.markTest
POST /v1/projects/{project}/leads/mark-test – Mark leads as test leads afterwards, also leads without a visit (one-way, never deletes; their visit follows unless it carries a real lead, open conversions are cancelled, daily figures are recomputed; audited).
For the own test inquiries that were counted as real ones. A test lead no longer counts anywhere (leads, Pulse, portfolio, experiments, reports), is never sent to an ad platform (pending and held conversions of the lead are skipped; conversions.alreadySent lists what a platform already received) and is pushed to a CRM only on explicit release, like every test lead. Notifications are not sent again. Idempotent: leads that are already test leads come back in alreadyTest.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 200 JSON (
LeadsMarkTestResult) - Body: application/json (
LeadsMarkTest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leads.list
GET /v1/projects/{project}/leads – Leads – with leads:read incl. contact data, with leads:summary without (display name, status, origin).
Dashboard sessions always get masked contact data (plain text only via reveal-contact); secret keys and OAuth grants default to contact=full with leads:read (audited as lead.pii_viewed per call). from/to/preset filter by inquiry date (project time zone) and win over days.
- Auth: secret key or user session
- Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no | |
from | string | no | |
to | string | no | |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | |
form | string | no | |
source | "identify" | "api" | "import" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
include_spam | "0" | "1" | "true" | "false" | no | |
status | string | string[] | no | |
grade | string | string[] | no | |
q | string | no | |
model | object | no | |
has_journey | "0" | "1" | "true" | "false" | no | |
counts | "0" | "1" | "true" | "false" | no | |
contact | "masked" | "full" | no | |
limit | string | no | |
cursor | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: channel, utm_campaign, entry_page, form, source, grade, status, reason, score, value, appointment_at, country, created_at |
fields | string | no | Comma-separated columns for CSV/MCP output: name, origin, channel, utm_campaign, entry_page, form, source, visits, grade, status, reason, score, value, appointment_at, country, created_at |
f.channel | string | no | Channel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.form | string | no | Form (text): eq | in | contains | isEmpty, e.g. contains:text |
f.source | string | no | Captured via (enum): eq | in, e.g. in:identify,api |
f.grade | string | no | Fit (text): eq | in | contains | isEmpty, e.g. contains:text |
f.status | string | no | Status (enum): eq | in, e.g. in:new,contacted |
f.reason | string | no | Reason (text): eq | in | contains | isEmpty, e.g. contains:text |
f.score | string | no | Score (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.value | string | no | Value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.appointment_at | string | no | Appointment (date): before | after | between | isEmpty, e.g. after:2026-10-01 |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.created_at | string | no | Received (date): before | after | between, e.g. after:2026-10-01 |
count | "capped" | "none" | no |
leads.report
POST /v1/projects/{project}/leads/{id}/report – Report one lead to one ad platform by hand: preview (default) or confirm.
Without confirm nothing is stored or sent: the answer shows the definition, event time and id, the match keys the platform would get, how long it accepts the event, warnings and why it is blocked. confirm: true creates the conversion (the project's lead definition, else the manual-contact definition of the lead's channel; event id lead:<lead>:<definition>) or re-sends the existing one for this platform only. A platform that already has an upload of the lead is never sent twice (blocked already_reported); too old events, a destination that is off or not live and the counting rule block it (409 on confirm). Audit action lead.reported.
- Auth: secret key or user session ·
conversions:write+leads:read· X3 App - Response: 200 JSON (
LeadReportResult) - Body: application/json (
LeadReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.get
GET /v1/projects/{project}/leads/{id} – One lead (contact data as for leads.list; 410 lead_deleted when it was erased).
- Auth: secret key or user session
- Response: 200 JSON (
Lead)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
model | object | no | |
contact | "masked" | "full" | no |
leads.state
GET /v1/projects/{project}/leads/{id}/state – Cheap existence check of one lead (200 active, 404 unknown, 410 lead_deleted) – no view is built.
- Auth: secret key or user session
- Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.create
POST /v1/projects/{project}/leads – Record a lead from the site's server (optionally with a conversion).
- Auth: secret key or user session ·
leads:write· X3 App ·Idempotency-Key - Response: 201 JSON
- Body: application/json (
LeadCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leads.delete
DELETE /v1/projects/{project}/leads/{id} – Erase a lead (GDPR); linked conversions lose their hashed identifiers.
- Auth: secret key or user session ·
leads:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.export
GET /v1/projects/{project}/leads.csv – CSV export of leads.
- Auth: secret key or user session ·
leads:read - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no | |
include_test | "0" | "1" | "true" | "false" | no | |
include_spam | "0" | "1" | "true" | "false" | no |
leads.exportView
GET /v1/projects/{project}/leads/view.csv – CSV of a leads view: the rows and columns of leads.list with the same filters, sort and search (display names, never contact data; ≤ 50,000 rows).
- Auth: secret key or user session
- Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no | |
from | string | no | |
to | string | no | |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | |
form | string | no | |
source | "identify" | "api" | "import" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
include_spam | "0" | "1" | "true" | "false" | no | |
status | string | string[] | no | |
grade | string | string[] | no | |
q | string | no | |
model | object | no | |
has_journey | "0" | "1" | "true" | "false" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: channel, utm_campaign, entry_page, form, source, grade, status, reason, score, value, appointment_at, country, created_at |
fields | string | no | Comma-separated columns for CSV/MCP output: name, origin, channel, utm_campaign, entry_page, form, source, visits, grade, status, reason, score, value, appointment_at, country, created_at |
f.channel | string | no | Channel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.form | string | no | Form (text): eq | in | contains | isEmpty, e.g. contains:text |
f.source | string | no | Captured via (enum): eq | in, e.g. in:identify,api |
f.grade | string | no | Fit (text): eq | in | contains | isEmpty, e.g. contains:text |
f.status | string | no | Status (enum): eq | in, e.g. in:new,contacted |
f.reason | string | no | Reason (text): eq | in | contains | isEmpty, e.g. contains:text |
f.score | string | no | Score (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.value | string | no | Value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.appointment_at | string | no | Appointment (date): before | after | between | isEmpty, e.g. after:2026-10-01 |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.created_at | string | no | Received (date): before | after | between, e.g. after:2026-10-01 |
locale | "de" | "en" | no |
leads.sessions
GET /v1/projects/{project}/leads/{id}/sessions – Every visit of a lead (before and after the inquiry) with the evidence that links it, first touch, visits and returns.
One source of truth for lead ↔ session links: the lead's own visit, WhatsApp reference codes, conversions, x3.identify({ leadId }) calls, the same hashed identity, manual assignments and – through the lead's journeys – visits with the same consented visitor id, the same ad click id or the same daily visitor hash (same day only). Visits of duplicates merged into the lead are included. No contact data.
- Auth: secret key or user session ·
analytics:read+leads:summary - Response: 200 JSON (
LeadSessions)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
include_test | "0" | "1" | "true" | "false" | no |
leads.sessions.link
POST /v1/projects/{project}/leads/{id}/sessions – Assign a visit to a lead by hand (evidence manual); the visit's journey – e.g. other visits with the same consented visitor id – joins the lead.
- Auth: secret key or user session ·
leads:write· X3 App - Response: 200 JSON (
LeadSessionLinkResult) - Body: application/json (
LeadSessionLinkBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.sessions.unlink
POST /v1/projects/{project}/leads/{id}/sessions/unlink – Remove a visit from a lead: manual and x3.identify links of the visit to this lead are deleted and the visit is detached from the lead's journey.
The lead's own visit (its inquiry) cannot be removed (422).
- Auth: secret key or user session ·
leads:write· X3 App - Response: 200 JSON (
LeadSessionLinkResult) - Body: application/json (
LeadSessionUnlinkBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.revealContact
POST /v1/projects/{project}/leads/{id}/reveal-contact – Show a lead's contact details in plain text (logged, 60 per hour per user, never cached).
- Auth: secret key or user session ·
leads:read· X3 App - Response: 200 JSON (
LeadContactReveal)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.updatePipeline
PATCH /v1/projects/{project}/leads/{id}/pipeline – Set a lead's status (new, contacted, appointment, customer, lost, disqualified), value, appointment and reason – appointment/customer report to ad platforms, disqualified never reports anything.
disqualified (only with lead qualification on) and lost take an optional reasonCode/reasonNote (the note is hidden from readers without leads:read); duplicate with duplicateOf merges the lead into the original (leads.merge). expectedChangedAt (the pipeline.changedAt the client saw) makes the change conflict-safe: a change by somebody else meanwhile answers 409 conflict with details.changedBy/changedAt, unless the stored state already equals the request (unchanged).
- Auth: secret key or user session ·
leads:status· X3 App - Response: 200 JSON (
LeadPipelineResult) - Body: application/json (
LeadPipelineUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.notes.list
GET /v1/projects/{project}/leads/{id}/notes – Notes and automatic history entries of a lead.
- Auth: secret key or user session ·
leads:status - Response: 200 JSON (
LeadNotes)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.notes.create
POST /v1/projects/{project}/leads/{id}/notes – Add a note to a lead.
- Auth: secret key or user session ·
leads:status· X3 App - Response: 201 JSON (
LeadNote) - Body: application/json (
LeadNoteCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.revenueImport
POST /v1/projects/{project}/leads/revenue – Revenue upload hook: bulk appointment/customer/lost per lead (id or hashed e-mail/phone), idempotent per row – runs as background run leads.revenue_import with progress and a result per row.
dryRun answers right away (nothing is written). Otherwise the import runs as a background run (kind leads.revenue_import, idempotent for the same rows): up to 50 rows finish within the request and the answer carries every row; larger imports answer at once with run (queued/running, rows empty) – follow it with runs.get / runs.events, the finished run's result holds the same per-row report (updated, unchanged, not_found, ambiguous, invalid, value_too_high with message).
- Auth: secret key or user session ·
leads:status·Idempotency-Key - Response: 200 JSON
- Body: application/json (
LeadRevenueImport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leads.statusHistory
GET /v1/projects/{project}/leads/{id}/status-history – Status history of a lead: who changed what when, with reason (the note only for readers with PII rights).
- Auth: secret key or user session
- Response: 200 JSON (
LeadStatusHistory)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.undoStatus
POST /v1/projects/{project}/leads/{id}/status/undo – Undo the latest status change of a lead (restores the previous status, writes a history entry; conversions already reported stay reported).
history_id (from the change's answer) makes the undo conflict-safe: when somebody changed the status after that entry, the API answers 409 conflict (details.changedBy/changedAt) instead of undoing the other person's change. Undoing a merge („Doppelt“) separates the duplicate again.
- Auth: secret key or user session ·
leads:status· X3 App - Response: 200 JSON (
LeadUndoStatusResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
history_id | string | no |
leads.merge
POST /v1/projects/{project}/leads/{id}/merge – Merge a duplicate into the original (into): the duplicate becomes „Disqualifiziert · Doppelt“ and never counts as a lead; the original shows its visits, notes and conversions (read time, nothing is moved); dryRun shows what the original would show.
Same as leads.updatePipeline with status disqualified, reasonCode duplicate and duplicateOf (scope leads:status like every status change). A merged original resolves to its root (chains), cycles and leads of another project or organization are refused with 422. Conversions already reported stay reported. leads.undoStatus on the duplicate separates them again.
- Auth: secret key or user session ·
leads:status· X3 App - Response: 200 JSON (
LeadMergeResult) - Body: application/json (
LeadMerge)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.merged
GET /v1/projects/{project}/leads/{id}/merged – Merge group of a lead: the original it was merged into, or the duplicates merged into it (display names, counts, visits shown on the timeline).
- Auth: secret key or user session
- Response: 200 JSON (
LeadMergeGroup)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leadReasons.list
GET /v1/projects/{project}/lead-reasons – Reasons for „Disqualifiziert“ and „Verloren“: built-ins plus the organization's own (with usage counts).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadReasonList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
kind | "disqualified" | "lost" | no | |
include_archived | "0" | "1" | "true" | "false" | no |
leadReasons.create
POST /v1/projects/{project}/lead-reasons – Add an own reason to the organization's list (applies to every project of the organization).
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 201 JSON (
LeadReason) - Body: application/json (
LeadReasonCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadReasons.update
PATCH /v1/projects/{project}/lead-reasons/{id} – Rename, reorder or (un)archive an own reason (built-ins are read-only).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
LeadReason) - Body: application/json (
LeadReasonUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leadReasons.archive
POST /v1/projects/{project}/lead-reasons/{id}/archive – Archive an own reason (hidden from the picker; leads keep it). Unused reasons are deleted instead (archived: false in the answer).
- Auth: secret key or user session ·
config:write - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
leads.visitorNote
POST /v1/projects/{project}/leads/notes – Follow-up free text from the visitor for an existing lead (by lead id or the idempotency key of leads.create) – never a new lead or conversion.
Stored as a lead note with origin visitor: personal data, readable only with leads:read. Answers 404 lead_not_found while the original create is still unknown (the server SDK retries for up to 60 s).
- Auth: secret key or user session ·
leads:write - Response: 201 JSON (
VisitorLeadNoteCreated) - Body: application/json (
VisitorLeadNoteCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.browserLead
POST /v1/leads – Browser lead (x3.lead): publishable key + allowed origin, only with browser capture on; ≤ 16 KB, 3/min/IP; the CRM push follows in the background after the spam check.
- Auth: publishable key (
pk_3x_…) - Response: 202, no body
- Body: text/plain (
BrowserLead)
leads.update
PATCH /v1/projects/{project}/leads/{id} – Edit a lead's name, company, email or phone (e.g. name a WhatsApp contact); syncCrm also changes them in linked CRMs.
- Auth: secret key or user session ·
leads:write - Response: 200 JSON (
LeadUpdated) - Body: application/json (
LeadUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Goals & funnels
| Operation | Endpoint | Auth |
|---|---|---|
goals.list | GET /v1/projects/{project}/goals | secret key or user session · analytics:read |
goals.create | POST /v1/projects/{project}/goals | secret key or user session · config:write |
goals.update | PATCH /v1/projects/{project}/goals/{key} | secret key or user session · config:write |
goals.delete | DELETE /v1/projects/{project}/goals/{key} | secret key or user session · config:write |
funnels.list | GET /v1/projects/{project}/funnels | secret key or user session · analytics:read |
funnels.create | POST /v1/projects/{project}/funnels | secret key or user session · config:write |
funnels.update | PATCH /v1/projects/{project}/funnels/{key} | secret key or user session · config:write |
funnels.delete | DELETE /v1/projects/{project}/funnels/{key} | secret key or user session · config:write |
questionnaires.list | GET /v1/projects/{project}/questionnaires | secret key or user session · analytics:read |
questionnaires.upsert | PUT /v1/projects/{project}/questionnaires/{id} | secret key or user session · config:write |
questionnaires.delete | DELETE /v1/projects/{project}/questionnaires/{id} | secret key or user session · config:write |
goals.list
GET /v1/projects/{project}/goals – Goals.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
archived | "0" | "1" | "true" | "false" | no |
goals.create
POST /v1/projects/{project}/goals – Create a goal (bumps goalsVersion → sessions are recomputed in the background).
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
Goal) - Body: application/json (
GoalWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
goals.update
PATCH /v1/projects/{project}/goals/{key} – Update a goal.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
Goal) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | |
match | object | no | |
isConversion | boolean | no | |
role | "lead" | "contact" | "step" | no | |
value | number | null | no | |
sort | int | no | |
archived | boolean | no |
goals.delete
DELETE /v1/projects/{project}/goals/{key} – Delete a goal.
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
funnels.list
GET /v1/projects/{project}/funnels – Funnel definitions.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
funnels.create
POST /v1/projects/{project}/funnels – Create a funnel.
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
Funnel) - Body: application/json (
FunnelWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
funnels.update
PATCH /v1/projects/{project}/funnels/{key} – Update a funnel.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
Funnel) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | |
mode | "independent" | "sequential" | no | |
steps | object[] | no | |
isDefault | boolean | no | |
sort | int | no |
funnels.delete
DELETE /v1/projects/{project}/funnels/{key} – Delete a funnel.
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
questionnaires.list
GET /v1/projects/{project}/questionnaires – Questionnaire (quiz) definitions.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
questionnaires.upsert
PUT /v1/projects/{project}/questionnaires/{id} – Create or replace a questionnaire (validates quiz_answer events, labels answer analytics).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
Questionnaire) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
label | string | object | yes | |
questions | object[] | yes |
questionnaires.delete
DELETE /v1/projects/{project}/questionnaires/{id} – Delete a questionnaire.
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Relevance
| Operation | Endpoint | Auth |
|---|---|---|
relevance.get | GET /v1/projects/{project}/relevance | secret key or user session · analytics:read |
relevance.update | PUT /v1/projects/{project}/relevance | secret key or user session · config:write |
relevance.preview | POST /v1/projects/{project}/relevance/preview | secret key or user session · analytics:read |
relevance.rescore | POST /v1/projects/{project}/relevance/rescore | secret key or user session · config:write |
relevance.get
GET /v1/projects/{project}/relevance – Active relevance model, version history and rescoring progress.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RelevanceState)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
relevance.update
PUT /v1/projects/{project}/relevance – Save a new relevance model version (all sessions are rescored retroactively).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
RelevanceState) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
config | object | yes | |
note | string | no |
relevance.preview
POST /v1/projects/{project}/relevance/preview – Score distribution of a proposed model on recent sessions (nothing is stored).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RelevancePreview) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
config | object | yes | |
sample | int | no |
relevance.rescore
POST /v1/projects/{project}/relevance/rescore – Run a rescoring chunk now (normally done by the scheduler).
- Auth: secret key or user session ·
config:write - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Conversions
| Operation | Endpoint | Auth |
|---|---|---|
conversions.list | GET /v1/projects/{project}/conversions | secret key or user session · conversions:read |
conversions.create | POST /v1/projects/{project}/conversions | secret key or user session · conversions:write · X3 App · Idempotency-Key |
conversions.export | GET /v1/projects/{project}/conversions/export.csv | secret key or user session · conversions:read |
conversions.get | GET /v1/projects/{project}/conversions/{id} | secret key or user session · conversions:read |
conversions.retry | POST /v1/projects/{project}/conversions/{id}/retry | secret key or user session · conversions:write |
conversions.retryRun | POST /v1/projects/{project}/conversions/{id}/retry-run | secret key or user session · conversions:write |
conversions.bulkRetry | POST /v1/projects/{project}/conversions/bulk-retry | secret key or user session · conversions:write |
conversions.unreported | GET /v1/projects/{project}/conversions/unreported | secret key or user session · conversions:read |
conversions.retryUnreported | POST /v1/projects/{project}/conversions/retry-unreported | secret key or user session · conversions:write |
conversions.updateStatus | PATCH /v1/projects/{project}/conversions/{id}/status | secret key or user session · conversions:write |
conversions.beacon | POST /v1/cb | publishable key (pk_3x_…) |
conversions.googleAdsFeed | GET /v1/projects/{project}/feeds/google-ads.csv | public |
conversionDefinitions.list | GET /v1/projects/{project}/conversion-definitions | secret key or user session · conversions:read |
conversionDefinitions.upsert | PUT /v1/projects/{project}/conversion-definitions/{key} | secret key or user session · conversions:write + config:write |
conversionDefinitions.delete | DELETE /v1/projects/{project}/conversion-definitions/{key} | secret key or user session · conversions:write + config:write |
destinations.list | GET /v1/projects/{project}/destinations | secret key or user session · conversions:read |
destinations.update | PUT /v1/projects/{project}/destinations/{provider} | secret key or user session · project:admin · sudo |
destinations.test | POST /v1/projects/{project}/destinations/{provider}/test | secret key or user session · project:admin |
destinations.targets | GET /v1/projects/{project}/destinations/{provider}/targets | secret key or user session · project:admin |
destinations.createTarget | POST /v1/projects/{project}/destinations/{provider}/targets | secret key or user session · project:admin |
destinations.backfill | POST /v1/projects/{project}/destinations/{provider}/backfill | secret key or user session · conversions:write |
adSignals.list | GET /v1/projects/{project}/ad-signals | secret key or user session · conversions:read |
adSignals.update | PATCH /v1/projects/{project}/ad-signals | secret key or user session · project:admin |
adSignals.preview | POST /v1/projects/{project}/ad-signals/preview | secret key or user session · conversions:read |
adSignals.sendTest | POST /v1/projects/{project}/ad-signals/test | secret key or user session · project:admin |
adSignals.backfill | POST /v1/projects/{project}/ad-signals/backfill | secret key or user session · project:admin |
adSignals.metaStats | POST /v1/projects/{project}/ad-signals/meta-stats | secret key or user session · conversions:read |
adSignals.googleActions | GET /v1/projects/{project}/ad-signals/google-actions | secret key or user session · conversions:read |
adSignals.customList | GET /v1/projects/{project}/ad-signals/custom | secret key or user session · conversions:read |
adSignals.customCreate | POST /v1/projects/{project}/ad-signals/custom | secret key or user session · project:admin |
adSignals.customUpdate | PATCH /v1/projects/{project}/ad-signals/custom/{key} | secret key or user session · project:admin |
adSignals.customDelete | DELETE /v1/projects/{project}/ad-signals/custom/{key} | secret key or user session · project:admin |
adSignals.customBackfill | POST /v1/projects/{project}/ad-signals/custom/{key}/backfill | secret key or user session · project:admin |
adSignals.customPreview | POST /v1/projects/{project}/ad-signals/custom/preview | secret key or user session · conversions:read |
conversions.matchQuality | GET /v1/projects/{project}/analytics/match-quality | secret key or user session · conversions:read |
purchases.create | POST /v1/projects/{project}/purchases | secret key or user session · conversions:write · Idempotency-Key |
purchases.refund | POST /v1/projects/{project}/purchases/refunds | secret key or user session · conversions:write · Idempotency-Key |
conversions.list
GET /v1/projects/{project}/conversions – Conversions with per-provider upload status (never hashes, IP, user agent).
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | "held" | "pending" | "uploaded" | "skipped" | no | |
source | "quiz" | "booking" | "whatsapp_manual" | "manual" | "event" | "goal" | "lead" | "api" | "purchase" | "leadmagnet" | no | |
definition | string | no | |
session_id | string | no | |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | no | |
provider_status | "pending" | "uploaded" | "feed" | "failed" | "skipped" | "not_configured" | "dry_run" | "error" | no | |
days | string | no | |
from | string | no | |
to | string | no | |
lead_id | string | no | |
include_test | "0" | "1" | "true" | "false" | no | |
limit | string | no | |
cursor | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: created_at, occurred_at, definition, source, origin, status, value, channel, utm_campaign, entry_page, attempts, skip_reason, order_id, refunded_value |
fields | string | no | Comma-separated columns for CSV/MCP output: created_at, occurred_at, definition, source, origin, status, value, channel, utm_campaign, entry_page, uploads, attempts, skip_reason, order_id, refunded_value |
q | string | no | Search: goal, campaign, page |
f.created_at | string | no | Recorded (date): before | after | between, e.g. after:2026-10-01 |
f.occurred_at | string | no | Occurred (date): before | after | between, e.g. after:2026-10-01 |
f.definition | string | no | Conversion (text): eq | in | contains | isEmpty, e.g. contains:text |
f.source | string | no | Trigger (enum): eq | in, e.g. in:quiz,booking |
f.origin | string | no | Captured via (enum): eq | in, e.g. in:web,server |
f.status | string | no | Status (enum): eq | in, e.g. in:held,pending |
f.value | string | no | Value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.channel | string | no | Channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.attempts | string | no | Attempts (number): eq | gte | lte | between, e.g. between:10,60 |
f.skip_reason | string | no | Skipped because (enum): eq | in | isEmpty, e.g. in:held_expired,web_daily_cap |
f.order_id | string | no | Order id (text): eq | in | contains | isEmpty, e.g. contains:text |
f.refunded_value | string | no | Refunded (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
count | "capped" | "none" | no |
conversions.create
POST /v1/projects/{project}/conversions – Record a conversion and upload it to the configured destinations.
sessionId (from the browser's getIds()) or match {at, windowMinutes, …} to find the session; contact data is hashed on receipt. Ambiguous matches return ≤ 10 candidates. Idempotent via eventId and the Idempotency-Key header.
- Auth: secret key or user session ·
conversions:write· X3 App ·Idempotency-Key - Response: 200 JSON (
ConversionCreateResult) - Body: application/json (
ConversionCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
conversions.export
GET /v1/projects/{project}/conversions/export.csv – CSV of a conversions view: same filters, sort and search as conversions.list; fields picks the columns (≤ 50,000 rows).
- Auth: secret key or user session ·
conversions:read - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | "held" | "pending" | "uploaded" | "skipped" | no | |
source | "quiz" | "booking" | "whatsapp_manual" | "manual" | "event" | "goal" | "lead" | "api" | "purchase" | "leadmagnet" | no | |
definition | string | no | |
session_id | string | no | |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | no | |
provider_status | "pending" | "uploaded" | "feed" | "failed" | "skipped" | "not_configured" | "dry_run" | "error" | no | |
days | string | no | |
from | string | no | |
to | string | no | |
lead_id | string | no | |
include_test | "0" | "1" | "true" | "false" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: created_at, occurred_at, definition, source, origin, status, value, channel, utm_campaign, entry_page, attempts, skip_reason, order_id, refunded_value |
fields | string | no | Comma-separated columns for CSV/MCP output: created_at, occurred_at, definition, source, origin, status, value, channel, utm_campaign, entry_page, uploads, attempts, skip_reason, order_id, refunded_value |
q | string | no | Search: goal, campaign, page |
f.created_at | string | no | Recorded (date): before | after | between, e.g. after:2026-10-01 |
f.occurred_at | string | no | Occurred (date): before | after | between, e.g. after:2026-10-01 |
f.definition | string | no | Conversion (text): eq | in | contains | isEmpty, e.g. contains:text |
f.source | string | no | Trigger (enum): eq | in, e.g. in:quiz,booking |
f.origin | string | no | Captured via (enum): eq | in, e.g. in:web,server |
f.status | string | no | Status (enum): eq | in, e.g. in:held,pending |
f.value | string | no | Value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.channel | string | no | Channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.attempts | string | no | Attempts (number): eq | gte | lte | between, e.g. between:10,60 |
f.skip_reason | string | no | Skipped because (enum): eq | in | isEmpty, e.g. in:held_expired,web_daily_cap |
f.order_id | string | no | Order id (text): eq | in | contains | isEmpty, e.g. contains:text |
f.refunded_value | string | no | Refunded (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
locale | "de" | "en" | no |
conversions.get
GET /v1/projects/{project}/conversions/{id} – One conversion.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
Conversion)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
conversions.retry
POST /v1/projects/{project}/conversions/{id}/retry – Retry uploads (default: every provider not uploaded/feed); force resets attempts.
- Auth: secret key or user session ·
conversions:write - Response: 200 JSON (
Conversion) - Body: application/json (
ConversionRetry)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
conversions.retryRun
POST /v1/projects/{project}/conversions/{id}/retry-run – Retry the uploads of one conversion as a background run (live progress via runs.events); idempotent while the run is active – held, already reported and (without force) imported-history conversions are refused (409).
- Auth: secret key or user session ·
conversions:write - Response: 202 JSON (
Run) - Body: application/json (
ConversionRetry)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
conversions.bulkRetry
POST /v1/projects/{project}/conversions/bulk-retry – Bulk upload as a background run: every failed report (filter failed), every waiting one now (filter waiting → conversions.upload) or a selection of ids; never sends mirrored or already reported conversions.
- Auth: secret key or user session ·
conversions:write - Response: 202 JSON (
Run) - Body: application/json (
ConversionBulkRetry)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
conversions.unreported
GET /v1/projects/{project}/conversions/unreported – What „Nicht Gemeldetes nachholen“ would send: per switched-on destination the real conversions (purchases without a lead too) of the last days days (default 7) never reported to that platform, too old ones and skipped ones with the reason; sends nothing.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
ConversionCatchUpList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no |
conversions.retryUnreported
POST /v1/projects/{project}/conversions/retry-unreported – „Nicht gemeldete der letzten 7 Tage jetzt melden“: sends every real conversion never reported to one platform (or every switched-on one) again with its original event id – the same logic as MCP conversions_retry_unreported; at most 50 per platform and call.
- Auth: secret key or user session ·
conversions:write - Response: 200 JSON (
ConversionCatchUpList) - Body: application/json (
ConversionCatchUpRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
conversions.updateStatus
PATCH /v1/projects/{project}/conversions/{id}/status – Manual bookkeeping of conversion/provider status.
- Auth: secret key or user session ·
conversions:write - Response: 200 JSON (
Conversion) - Body: application/json (
ConversionStatusUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
conversions.beacon
POST /v1/cb – Browser conversion beacon (booking parity): allowed origins only, ≤ 4 KB, 4/min/IP, one per session and definition.
- Auth: publishable key (
pk_3x_…) - Response: 202, no body
- Body: text/plain
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
k | string | yes | |
definition | string | yes | |
eventId | string | yes | |
sid | string | null | yes | |
pv | string | null | yes | |
url | string | null | yes | |
attr | object | null | yes | |
test | boolean | yes | |
em | string | no | |
emg | string | no | |
fn | string | no | |
ln | string | no | |
ph | string | no | |
fbp | string | no | |
fbc | string | no | |
ttp | string | no |
conversions.googleAdsFeed
GET /v1/projects/{project}/feeds/google-ads.csv – Google Ads scheduled-upload CSV (HTTP Basic with the feed credentials; last 60 days).
- Auth: public
- Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
source | string | no | |
definition | string | no |
conversionDefinitions.list
GET /v1/projects/{project}/conversion-definitions – Conversion definitions (trigger → provider events).
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
conversionDefinitions.upsert
PUT /v1/projects/{project}/conversion-definitions/{key} – Create or replace a conversion definition.
- Auth: secret key or user session ·
conversions:write+config:write - Response: 200 JSON (
ConversionDefinition) - Body: application/json (
ConversionDefinitionWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
conversionDefinitions.delete
DELETE /v1/projects/{project}/conversion-definitions/{key} – Delete a conversion definition (existing conversions keep it as text).
- Auth: secret key or user session ·
conversions:write+config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
destinations.list
GET /v1/projects/{project}/destinations – Conversion destinations (Meta, LinkedIn, Google Ads, TikTok) – secrets are never returned.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
destinations.update
PUT /v1/projects/{project}/destinations/{provider} – Configure a destination (settings, encrypted secrets, transport direct/composio/feed, mode).
- Auth: secret key or user session ·
project:admin· sudo - Response: 200 JSON (
Destination) - Body: application/json (
DestinationWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | yes |
destinations.test
POST /v1/projects/{project}/destinations/{provider}/test – Send a test event (Meta test_event_code, Google validateOnly, LinkedIn/TikTok validation).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
DestinationTestResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | yes |
destinations.targets
GET /v1/projects/{project}/destinations/{provider}/targets – What a moment can be reported as: LinkedIn conversion rules, Google Ads conversion actions or Meta/TikTok standard events.
Reads the platform through the project's ad connection (read-only). Also states whether the connection is usable (connected, expired, LinkedIn app approval pending, missing conversion permission, no ad account) and lists the project's ad accounts (LinkedIn, Google Ads) or pixels (Meta) to choose from. Never fails on a platform problem: problem says what is wrong.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
ConversionTargetList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
account | string | no |
destinations.createTarget
POST /v1/projects/{project}/destinations/{provider}/targets – Create a named conversion target at the platform (LinkedIn conversion rule for the Conversions API, Google Ads offline conversion action).
Creates „X3 · Neuer Lead“ etc. through the project's ad connection – only LinkedIn and Google Ads (Meta/TikTok use standard events). Idempotent by name: an existing target with the same name is returned with created: false. Never touches campaigns, budgets or ads. 409 missing_scope when the connection may not manage conversions.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
ConversionTargetCreateResult) - Body: application/json (
ConversionTargetCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | yes |
destinations.backfill
POST /v1/projects/{project}/destinations/{provider}/backfill – „Nachmelden“: report leads of the last days (max 90) with the platform's click id that never reached it – dryRun (default) only counts.
Candidates: leads of the window (not test, not spam) carrying the platform's click id (Google gclid/gbraid/wbraid, Meta fbclid, LinkedIn li_fat_id, TikTok ttclid) and without a real upload to that platform. Each goes through the rules of leads.report (definition, destination live, platform's max event age, match keys); at most 50 per call (more). Audit action lead.reported per sent lead.
- Auth: secret key or user session ·
conversions:write - Response: 200 JSON (
LeadBackfillResult) - Body: application/json (
LeadBackfillRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
provider | "meta" | "linkedin" | "google_ads" | "tiktok" | yes |
adSignals.list
GET /v1/projects/{project}/ad-signals – Signals to ad platforms: every candidate (interest tiers, events, goals) with defaults, the stored override, the effective mapping per platform, volume and last send.
Signals are behaviour that is not a lead (quiz started, video watched to the end, visit became „Heiß“). They go to Meta as custom events and to Google Ads as SECONDARY conversion actions (observation only) unless a person promotes one; they never count as conversions in X3. moments lists the conversions (Lead, Termin, Kunde, Kauf) that stay the optimisation targets.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
AdSignalList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.update
PATCH /v1/projects/{project}/ad-signals – Change signal settings (mode off/dry_run/live, consent, daily cap) and per-signal overrides (null = default); creates the X3-named Google Ads / LinkedIn targets of enabled signals.
Google Ads actions are created as UPLOAD_CLICKS with primaryForGoal false („X3 · …“, idempotent by name). Only an explicit role primary in this request makes one primary (and back) – X3 never changes the role of an action it did not create. dryRun validates (Google validateOnly) and stores nothing. Never touches campaigns, budgets or ads.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
AdSignalUpdateResult) - Body: application/json (
AdSignalUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.preview
POST /v1/projects/{project}/ad-signals/preview – Dry run: what the current signal settings would have sent per platform in the last days (consent and click ids applied) – sends nothing.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
AdSignalPreview) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
days | int | no |
adSignals.sendTest
POST /v1/projects/{project}/ad-signals/test – Sends every signal enabled for Meta or TikTok once as a test event, so the event names appear in Events Manager (custom conversions); no person data.
Each event carries only a fixed test external id (SHA-256 of x3-signal-test:<project>), event id x3test:<signal>:<time>, action source system_generated, no value. With testEventCode it lands under Test Events only; without one it is a real event of the dataset – the way Meta lists a custom event name for custom conversions. Conversions (Lead, Schedule, Purchase) are not sent. Audit action ad_signals.test.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
AdSignalTestResult) - Body: application/json (
AdSignalTestRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.backfill
POST /v1/projects/{project}/ad-signals/backfill – „Nachmelden“ of interest tiers: visits of the last days (max 7) that reached „Interessiert“/„Heiß“, once per person and tier, with the visit's start as the time – dryRun (default) only counts.
Only relevance signals that are enabled for the platform; the consent rule and the click ids apply (Google: gclid/gbraid/wbraid). Same event ids as the live signals (sig:relevance:<tier>:<person>), so nothing goes out twice. Writes signal rows only – never a lead or a conversion. Rows the platform does not take yet (Google „just created“) are retried automatically.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
AdSignalBackfillResult) - Body: application/json (
AdSignalBackfillRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.metaStats
POST /v1/projects/{project}/ad-signals/meta-stats – Read back from Meta what the project's dataset counted (Graph API /{dataset}/stats per event name and per source, with the stored Conversions API token) – checks that signals and conversions really arrive.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
AdSignalMetaStats) - Body: application/json (
AdSignalMetaStatsRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.googleActions
GET /v1/projects/{project}/ad-signals/google-actions – Read back the Google Ads actions of the signals from Google (primary_for_goal, status, category) to check X3 and Google agree.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
AdSignalGoogleActions)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.customList
GET /v1/projects/{project}/ad-signals/custom – Own signals (Eigene Signale): the project's composite optimisation events with their rules, platforms, Google action and sends, plus what a rule can refer to.
A custom signal is sent under its own name (Meta/TikTok custom event, Google Ads action „X3 · <name>“) once per person when its rules first hold: include = groups (AND inside a group, OR between groups), exclude = groups (any match excludes). Mode, consent rule and daily cap of „Signale an Werbeplattformen“ apply. Never a conversion of X3.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
CustomSignalList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.customCreate
POST /v1/projects/{project}/ad-signals/custom – Create an own signal: name (event name at the platforms, validated per platform), description, platforms, include/exclude rule groups, dedupe window (default once per person), value; dryRun checks only.
422 when the name breaks a platform's rules (Meta/TikTok: letters, digits, _, ≤ 40, starts with a letter; no Meta standard event), 409 when another own signal or an enabled built-in signal already uses the name. Enabled Google Ads / LinkedIn platforms get their „X3 · <name>“ action / rule once signals are on (secondary unless role primary). Audit ad_signals.custom_create.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
CustomSignalSaveResult) - Body: application/json (
CustomSignalCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adSignals.customUpdate
PATCH /v1/projects/{project}/ad-signals/custom/{key} – Change an own signal (only the fields sent); dryRun checks only.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
CustomSignalSaveResult) - Body: application/json (
CustomSignalUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
adSignals.customDelete
DELETE /v1/projects/{project}/ad-signals/custom/{key} – Delete an own signal (its sends stay as history; its Google action / LinkedIn rule stays at the platform).
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
adSignals.customBackfill
POST /v1/projects/{project}/ad-signals/custom/{key}/backfill – „Nachmelden“ of an own signal: persons whose rules held in a visit of the last days (max 7, Meta's limit) and who did not get it yet, once per person – dryRun (default) only counts.
Same rules, consent and test-visit exclusion as the live signal; the earliest qualifying visit's start is the event time and the event id is the live one (sig:c:<key>:<person>), so nothing goes out twice. Answers found, without consent, already sent, sent, uploaded and the platforms' rejections by reason. Audit ad_signals.custom_backfill.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
CustomSignalBackfillResult) - Body: application/json (
CustomSignalBackfillRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
adSignals.customPreview
POST /v1/projects/{project}/ad-signals/custom/preview – Dry-run count of an own signal (stored key or unsaved draft) over the last days: visits, persons, with consent, per platform, per week, lead rate of the matched persons – sends nothing.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
CustomSignalPreview) - Body: application/json (
CustomSignalPreviewRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
conversions.matchQuality
GET /v1/projects/{project}/analytics/match-quality – Match parameters sent per destination (fbc, fbp, em, ph, external_id, gclid, …) and the estimated match quality.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
MatchQualityReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no |
purchases.create
POST /v1/projects/{project}/purchases – Record a purchase (value, currency, order id): one conversion per order, reported to the enabled platforms every time – repeat purchases count.
- Auth: secret key or user session ·
conversions:write·Idempotency-Key - Response: 201 JSON (
PurchaseResult) - Body: application/json (
PurchaseInput)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
purchases.refund
POST /v1/projects/{project}/purchases/refunds – Refund an order fully or partly: revenue becomes net of refunds, the conversion stays (idempotent – the same refund again changes nothing).
- Auth: secret key or user session ·
conversions:write·Idempotency-Key - Response: 200 JSON (
RefundResult) - Body: application/json (
RefundInput)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Ads
| Operation | Endpoint | Auth |
|---|---|---|
ads.connections.list | GET /v1/projects/{project}/ad-connections | secret key or user session · ads:read |
ads.connections.create | POST /v1/projects/{project}/ad-connections | dashboard user session · ads:write · sudo |
ads.connections.complete | POST /v1/projects/{project}/ad-connections/{id}/complete | dashboard user session · ads:write |
ads.connections.discover | GET /v1/projects/{project}/ad-connections/{id}/accounts | secret key or user session · ads:write |
ads.connections.get | GET /v1/projects/{project}/ad-connections/{id} | secret key or user session · ads:read |
ads.connections.delete | DELETE /v1/projects/{project}/ad-connections/{id} | secret key or user session · ads:write · sudo |
ads.accounts.list | GET /v1/projects/{project}/ad-accounts | secret key or user session · ads:read |
ads.accounts.select | PUT /v1/projects/{project}/ad-accounts | secret key or user session · ads:write |
ads.sync.run | POST /v1/projects/{project}/ads/sync | secret key or user session · ads:write · X3 App |
ads.sync.runs | GET /v1/projects/{project}/ads/sync-runs | secret key or user session · ads:read |
ads.report | GET /v1/projects/{project}/ads/report | secret key or user session · ads:read |
ads.preview | GET /v1/projects/{project}/ads/{platform}/{adId}/preview | secret key or user session · ads:read |
ads.media | GET /v1/projects/{project}/ads/media | secret key or user session · ads:read |
ads.accounts.confirm | POST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/confirm | secret key or user session · ads:write |
ads.campaignScopes.list | GET /v1/projects/{project}/ads/campaign-scopes | secret key or user session · ads:read |
ads.campaignScope.get | GET /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope | secret key or user session · ads:read |
ads.campaignScope.preview | POST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope/preview | secret key or user session · ads:read |
ads.campaignScope.set | PUT /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope | secret key or user session · ads:write |
ads.accounts.reject | POST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/reject | secret key or user session · ads:write |
ads.timeseries | GET /v1/projects/{project}/ads/timeseries | secret key or user session · ads:read |
ads.unmatched | GET /v1/projects/{project}/ads/unmatched | secret key or user session · ads:read |
ads.gaps | GET /v1/projects/{project}/ads/unmatched/diagnosis | secret key or user session · ads:read |
ads.urlSuffix.get | GET /v1/projects/{project}/ads/url-suffix | secret key or user session · ads:read |
ads.urlSuffix.set | POST /v1/projects/{project}/ads/url-suffix | secret key or user session · ads:write |
ads.entities | GET /v1/projects/{project}/ads/entities | secret key or user session · ads:read |
ads.mappingRules.list | GET /v1/projects/{project}/ads/mapping-rules | secret key or user session · ads:read |
ads.mappingRules.create | POST /v1/projects/{project}/ads/mapping-rules | secret key or user session · ads:write |
ads.mappingRules.delete | DELETE /v1/projects/{project}/ads/mapping-rules/{id} | secret key or user session · ads:write |
ads.unknownCampaigns | GET /v1/projects/{project}/ads/unknown-campaigns | secret key or user session · ads:read |
ads.manualEntities.list | GET /v1/projects/{project}/ads/manual-entities | secret key or user session · ads:read |
ads.manualEntities.upsert | PUT /v1/projects/{project}/ads/manual-entities | secret key or user session · ads:write |
ads.manualEntities.delete | DELETE /v1/projects/{project}/ads/manual-entities/{id} | secret key or user session · ads:write |
ads.manualEntities.acknowledge | POST /v1/projects/{project}/ads/manual-entities/{id}/acknowledge | secret key or user session · ads:write |
ads.utmTemplates | GET /v1/projects/{project}/ads/utm-templates | secret key or user session · ads:read |
ads.orgConnections.list | GET /v1/orgs/{org}/ad-connections | secret key or user session · org:admin |
ads.orgConnections.create | POST /v1/orgs/{org}/ad-connections | dashboard user session · org:admin · sudo |
ads.orgConnections.complete | POST /v1/orgs/{org}/ad-connections/{id}/complete | dashboard user session · org:admin |
ads.orgConnections.discover | GET /v1/orgs/{org}/ad-connections/{id}/accounts | secret key or user session · org:admin |
ads.orgConnections.delete | DELETE /v1/orgs/{org}/ad-connections/{id} | dashboard user session · org:admin · sudo |
ads.webhook | POST /v1/webhooks/composio | webhook signature |
adConnectLinks.create | POST /v1/projects/{project}/ad-connect-links | secret key or user session · ads:write |
adConnectLinks.list | GET /v1/projects/{project}/ad-connect-links | secret key or user session · ads:read |
adConnectLinks.revoke | DELETE /v1/projects/{project}/ad-connect-links/{id} | secret key or user session · ads:write |
ads.statusHistory | GET /v1/projects/{project}/ads/status-history | secret key or user session · ads:read |
media.thumb | GET /v1/media/thumb | public |
ads.connections.list
GET /v1/projects/{project}/ad-connections – Ad-platform connections of the project.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.connections.create
POST /v1/projects/{project}/ad-connections – Start connecting an ad platform (returns the hosted OAuth URL, valid 10 minutes).
- Auth: dashboard user session ·
ads:write· sudo - Response: 201 JSON (
AdConnectionStarted) - Body: application/json (
AdConnectionCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.connections.complete
POST /v1/projects/{project}/ad-connections/{id}/complete – Finish the OAuth callback (nonce + connected account verified) and discover ad accounts.
- Auth: dashboard user session ·
ads:write - Response: 200 JSON
- Body: application/json (
AdConnectionComplete)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.connections.discover
GET /v1/projects/{project}/ad-connections/{id}/accounts – Ad accounts reachable through a connection.
- Auth: secret key or user session ·
ads:write - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.connections.get
GET /v1/projects/{project}/ad-connections/{id} – One connection with where its sign-in stands (ready, pending, abandoned, broken, removed) and the working connection to continue with.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
AdConnectionResume)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.connections.delete
DELETE /v1/projects/{project}/ad-connections/{id} – Disconnect (revoke at Composio); cost data is kept unless purge=true.
- Auth: secret key or user session ·
ads:write· sudo - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
purge | "true" | "false" | no |
ads.accounts.list
GET /v1/projects/{project}/ad-accounts – Ad accounts assigned to the project.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.accounts.select
PUT /v1/projects/{project}/ad-accounts – Assign ad accounts of a connection to the project (starts a 90-day backfill).
- Auth: secret key or user session ·
ads:write - Response: 200 JSON
- Body: application/json (
AdAccountsSelect)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.sync.run
POST /v1/projects/{project}/ads/sync – Queue a sync (entities, metrics, Google click_view, backfill, session matching).
- Auth: secret key or user session ·
ads:write· X3 App - Response: 202 JSON
- Body: application/json (
AdSyncRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.sync.runs
GET /v1/projects/{project}/ads/sync-runs – Recent sync runs and their status.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | no | |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no |
ads.report
GET /v1/projects/{project}/ads/report – Spend × sessions × conversions: CPC, cost per session, cost per relevant session, CPL, ROAS.
Rows are aggregated, then sorted, filtered and paged on the server with the shared list contract: sort=field:dir,… (max. 3; a single key without :dir takes dir), f.<field>=<op>:<value>, q (name search), cursor (nextCursor). total counts the matching rows.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
level | "platform" | "campaign" | "adset" | "ad" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: name, platform, spend, leads, cpl, qualified, sessions, relevantSessions, engagedPlusSessions, hotPlusSessions, avgRelevance, impressions, clicks, cpc, ctr, costPerSession, costPerRelevantSession, costPerEngagedSession, conversions, conversionValue, costPerConversion, roas, platformConversions, platformCpa, platformRoas, hookRate, visitors, visitRate, cpm, engagedPlusRate, hotPlusRate, leadRate, engagedToLead, hotToLead, contactAttempts, contactRate, conversionRate, bounceRate, avgEngagedS, avgPages, costPerHotSession, status, effective_status, qualified_leads, cost_per_qualified_lead, disqualified_share, customers, crm_revenue, roas_crm, cost_per_customer, purchases, revenue, cost_per_purchase, aov, conversion_rate |
fields | string | no | Comma-separated columns for CSV/MCP output: name, platform, spend, leads, cpl, qualified, sessions, relevantSessions, engagedPlusSessions, hotPlusSessions, avgRelevance, impressions, clicks, cpc, ctr, costPerSession, costPerRelevantSession, costPerEngagedSession, conversions, conversionValue, costPerConversion, roas, platformConversions, platformCpa, platformRoas, hookRate, visitors, visitRate, cpm, engagedPlusRate, hotPlusRate, leadRate, engagedToLead, hotToLead, contactAttempts, contactRate, conversionRate, bounceRate, avgEngagedS, avgPages, costPerHotSession, status, effective_status, qualified_leads, cost_per_qualified_lead, disqualified_share, customers, crm_revenue, roas_crm, cost_per_customer, purchases, revenue, cost_per_purchase, aov, conversion_rate |
q | string | no | Search: campaign, ad set or ad name |
f.name | string | no | Name (text): eq | in | contains, e.g. contains:text |
f.platform | string | no | Platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads |
f.spend | string | no | Spend (number): eq | gte | lte | between, e.g. between:10,60 |
f.leads | string | no | Leads (number): eq | gte | lte | between, e.g. between:10,60 |
f.cpl | string | no | Cost per lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.qualified | string | no | Fit by questionnaire (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.sessions | string | no | Visits (number): eq | gte | lte | between, e.g. between:10,60 |
f.relevantSessions | string | no | Interested visits (number): eq | gte | lte | between, e.g. between:10,60 |
f.engagedPlusSessions | string | no | Interested (number): eq | gte | lte | between, e.g. between:10,60 |
f.hotPlusSessions | string | no | Hot visitors (number): eq | gte | lte | between, e.g. between:10,60 |
f.avgRelevance | string | no | Avg. interest (number): eq | gte | lte | between, e.g. between:10,60 |
f.impressions | string | no | Impressions (number): eq | gte | lte | between, e.g. between:10,60 |
f.clicks | string | no | Clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.cpc | string | no | Cost per click (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.ctr | string | no | CTR (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.costPerSession | string | no | Cost per visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.costPerRelevantSession | string | no | Cost per interested visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.costPerEngagedSession | string | no | Per interested visitor (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.conversions | string | no | Conversions (number): eq | gte | lte | between, e.g. between:10,60 |
f.conversionValue | string | no | Conversion value (number): eq | gte | lte | between, e.g. between:10,60 |
f.costPerConversion | string | no | Cost per conversion (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.roas | string | no | ROAS (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.platformConversions | string | no | Platform conversions (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.platformCpa | string | no | Platform CPA (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.platformRoas | string | no | Platform ROAS (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.hookRate | string | no | Hook rate (3 s) (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.visitors | string | no | Visitors (number): eq | gte | lte | between, e.g. between:10,60 |
f.visitRate | string | no | Click to visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.cpm | string | no | CPM (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.engagedPlusRate | string | no | Interested % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.hotPlusRate | string | no | Hot % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.leadRate | string | no | Lead rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.engagedToLead | string | no | Interested → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.hotToLead | string | no | Hot → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.contactAttempts | string | no | Contact attempts (number): eq | gte | lte | between, e.g. between:10,60 |
f.contactRate | string | no | Contact attempts % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.conversionRate | string | no | Conversion share (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.bounceRate | string | no | Bounce rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.avgEngagedS | string | no | Avg. active time (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.avgPages | string | no | Pages per visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.costPerHotSession | string | no | Cost per hot visitor (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.status | string | no | Status (own) (enum): eq | in | isEmpty, e.g. in:active,paused |
f.effective_status | string | no | Status (enum): eq | in | isEmpty, e.g. in:active,paused |
f.qualified_leads | string | no | Qualified leads (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.cost_per_qualified_lead | string | no | Cost per qualified lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.disqualified_share | string | no | Disqualified share (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.customers | string | no | Customers (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.crm_revenue | string | no | Revenue (customers) (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.roas_crm | string | no | Real ROAS (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.cost_per_customer | string | no | Cost per customer (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.purchases | string | no | Purchases (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.revenue | string | no | Revenue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.cost_per_purchase | string | no | Cost per purchase (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.aov | string | no | Avg. order value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.conversion_rate | string | no | Conversion rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
dir | "asc" | "desc" | no | |
limit | string | no | |
cursor | string | no | |
relevant_min | string | no | |
model | object | no | |
models | "all" | no | |
status | string | string[] | no | Effective statuses to keep (repeat or comma-separate): active, paused, paused_parent, in_review, rejected, learning, learning_limited, ended, draft, deleted, unknown |
quick | object | no | Quick filter: active_or_spend (default in the dashboard), active, with_spend, all |
hide_deleted | "0" | "1" | "true" | "false" | no | Hide deleted/archived entities (default true when a quick filter is given) |
ads.preview
GET /v1/projects/{project}/ads/{platform}/{adId}/preview – Ad preview: creative (image, video, text, carousel), texts, CTA, placement, status and the ad's numbers in the range.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
adId | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | |
from | string | no | |
to | string | no | |
media | "signed" | no | signed: thumbUrl/mediaUrl (and the variants') are absolute 10-minute media.thumb URLs instead of dashboard proxy paths (X3 App) |
ads.media
GET /v1/projects/{project}/ads/media – Mirrored ad media (thumbnail or video of an ad preview): a signed download URL valid for 60 seconds.
key comes from an ad preview (thumbUrl/mediaUrl = /api/thumb?m={project}:{key} on the dashboard). Only keys of the project's own ad media are served; the dashboard fetches the URL server-side and streams the file.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
AdMediaLink)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
key | string | yes |
ads.accounts.confirm
POST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/confirm – Confirm an ad account a client connected through a link – only then its costs count.
- Auth: secret key or user session ·
ads:write - Response: 200 JSON (
AdAccountConfirmResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
accountId | string | yes |
ads.campaignScopes.list
GET /v1/projects/{project}/ads/campaign-scopes – Campaign selection of every ad account linked to the project (mode all | only | except, selected ids, name rules, campaigns excluded right now).
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.campaignScope.get
GET /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope – Campaign selection of one ad account for the project with every campaign (status, 30-day spend, first/last spend day, landing host) and whether it counts.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
CampaignScopeView)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
accountId | string | yes |
ads.campaignScope.preview
POST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope/preview – Preview a campaign selection without saving: which campaigns would count, and the 30-day spend that comes in or goes out.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
CampaignScopeView) - Body: application/json (
CampaignScopeWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
accountId | string | yes |
ads.campaignScope.set
PUT /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope – Save the campaign selection of one ad account for the project (all | only | except, ids, name rules); applies to all history right away, nothing is deleted.
- Auth: secret key or user session ·
ads:write - Response: 200 JSON (
CampaignScopeView) - Body: application/json (
CampaignScopeWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
accountId | string | yes |
ads.accounts.reject
POST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/reject – Reject a wrong client-connected ad account (disabled, its costs never count).
- Auth: secret key or user session ·
ads:write - Response: 200 JSON (
AdAccountConfirmResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
accountId | string | yes |
ads.timeseries
GET /v1/projects/{project}/ads/timeseries – Daily/weekly spend next to sessions, relevant sessions and conversions.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
bucket | "day" | "week" | no |
ads.unmatched
GET /v1/projects/{project}/ads/unmatched – Paid sessions whose UTMs could not be tied to an ad entity (level=platform, default) or only to a campaign / ad set (level=ad), with the reason.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
limit | string | no | |
level | "platform" | "ad" | no |
ads.gaps
GET /v1/projects/{project}/ads/unmatched/diagnosis – Why paid visits have no campaign: per cause (click sync pending, connected after the visits, URL parameters missing, account not connected, campaign unknown) with the action that fixes it.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
CampaignGapDiagnosis)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
ads.urlSuffix.get
GET /v1/projects/{project}/ads/url-suffix – The ad account's final URL suffix as the platform reports it, and the merged suffix X3 would set (Google Ads; read-only).
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
UrlSuffixState)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | yes | |
account_id | string | yes |
ads.urlSuffix.set
POST /v1/projects/{project}/ads/url-suffix – Sets the account-level final URL suffix (merged with an existing one, never overwritten). Only the tracking setting changes: no campaign, budget or ad. dryRun previews; confirm must equal the previewed suffix.
- Auth: secret key or user session ·
ads:write - Response: 200 JSON (
UrlSuffixResult) - Body: application/json (
UrlSuffixSet)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.entities
GET /v1/projects/{project}/ads/entities – Synced campaigns, ad sets and ads (search by name/id).
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
level | "campaign" | "adset" | "ad" | no | |
q | string | no | |
limit | string | no | |
status | string | string[] | no | Effective statuses to keep (repeat or comma-separate): active, paused, paused_parent, in_review, rejected, learning, learning_limited, ended, draft, deleted, unknown |
quick | object | no | Quick filter: active_or_spend (default in the dashboard), active, with_spend, all |
hide_deleted | "0" | "1" | "true" | "false" | no | Hide deleted/archived entities (default true when a quick filter is given) |
ads.mappingRules.list
GET /v1/projects/{project}/ads/mapping-rules – Manual UTM → ad entity mapping rules.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.mappingRules.create
POST /v1/projects/{project}/ads/mapping-rules – Create a mapping rule (sessions are re-matched in the background).
- Auth: secret key or user session ·
ads:write - Response: 201 JSON (
AdMappingRule) - Body: application/json (
AdMappingRuleWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.mappingRules.delete
DELETE /v1/projects/{project}/ads/mapping-rules/{id} – Delete a mapping rule.
- Auth: secret key or user session ·
ads:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.unknownCampaigns
GET /v1/projects/{project}/ads/unknown-campaigns – Unknown campaign ids: paid visits whose campaign/ad set/ad ids belong to no synced or named entity (e.g. a boosted post of an unconnected ad account), grouped campaign → ad set → ad.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
include_ignored | "0" | "1" | "true" | "false" | no | |
limit | string | no |
ads.manualEntities.list
GET /v1/projects/{project}/ads/manual-entities – Campaigns, ad sets and ads named by hand (with estimated spend and whether a synced entity superseded them).
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.manualEntities.upsert
PUT /v1/projects/{project}/ads/manual-entities – Name (or ignore) an unknown campaign, ad set or ad by its platform id, optionally with estimated spend; matching visits are re-assigned right away.
- Auth: secret key or user session ·
ads:write - Response: 200 JSON (
AdManualEntityResult) - Body: application/json (
AdManualEntityWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.manualEntities.delete
DELETE /v1/projects/{project}/ads/manual-entities/{id} – Delete a manual name (its visits fall back to the platform right away, its estimated spend is removed).
- Auth: secret key or user session ·
ads:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.manualEntities.acknowledge
POST /v1/projects/{project}/ads/manual-entities/{id}/acknowledge – Hide the notice that a synced entity superseded this manual name.
- Auth: secret key or user session ·
ads:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.utmTemplates
GET /v1/projects/{project}/ads/utm-templates – Recommended ID-based UTM templates per platform.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
ads.orgConnections.list
GET /v1/orgs/{org}/ad-connections – Org-level ad-platform connections (usable by every project of the organization).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
ads.orgConnections.create
POST /v1/orgs/{org}/ad-connections – Start an org-level ad-platform connection (returns the hosted OAuth URL, valid 10 minutes).
- Auth: dashboard user session ·
org:admin· sudo - Response: 201 JSON (
AdConnectionStarted) - Body: application/json (
AdConnectionCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
ads.orgConnections.complete
POST /v1/orgs/{org}/ad-connections/{id}/complete – Finish the OAuth callback of an org-level connection and discover ad accounts.
- Auth: dashboard user session ·
org:admin - Response: 200 JSON
- Body: application/json (
AdConnectionComplete)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
ads.orgConnections.discover
GET /v1/orgs/{org}/ad-connections/{id}/accounts – Ad accounts reachable through an org-level connection.
- Auth: secret key or user session ·
org:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
ads.orgConnections.delete
DELETE /v1/orgs/{org}/ad-connections/{id} – Disconnect an org-level connection (its accounts are removed from every project); cost data is kept unless purge=true.
- Auth: dashboard user session ·
org:admin· sudo - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
purge | "true" | "false" | no |
ads.webhook
POST /v1/webhooks/composio – Composio webhook (connected account expired/activated); signature verified.
- Auth: webhook signature
- Response: 204, no body
adConnectLinks.create
POST /v1/projects/{project}/ad-connect-links – Link for the client to connect their ad account (read-only, no password, valid 1–14 days).
- Auth: secret key or user session ·
ads:write - Response: 201 JSON (
AdConnectLinkCreated) - Body: application/json (
AdConnectLinkCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adConnectLinks.list
GET /v1/projects/{project}/ad-connect-links – Client connection links of the project.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
adConnectLinks.revoke
DELETE /v1/projects/{project}/ad-connect-links/{id} – Revoke a client connection link.
- Auth: secret key or user session ·
ads:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
ads.statusHistory
GET /v1/projects/{project}/ads/status-history – Status changes of campaigns, ad sets and ads (newest first; filter by platform, level, entity).
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
AdStatusHistory)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
level | "campaign" | "adset" | "ad" | no | |
entity_id | string | no | |
limit | string | no | |
cursor | string | no |
media.thumb
GET /v1/media/thumb – Public: one ad creative (image or video) behind a signed 10-minute token from ads.preview?media=signed.
No session needed: the token (t) binds the media – an allowlisted ad-platform CDN URL or a mirrored copy of the project's own ad media – to the project and an expiry of 10 minutes. Image and video types only, provider media up to 8 MB, mirrored videos up to 25 MB. 403 for an invalid or expired token (load the preview again), 404 for missing media.
- Auth: public
- Response: 200, no body
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
t | string | yes | signed media token (m1.…) |
Setup
| Operation | Endpoint | Auth |
|---|---|---|
setup.frameworks | GET /v1/setup/frameworks | public |
setup.detect | POST /v1/setup/detect | public |
setup.instructions | GET /v1/setup/instructions | public |
setup.snippet | GET /v1/projects/{project}/setup/snippet | secret key or user session · project:admin |
setup.verify | POST /v1/projects/{project}/setup/verify | secret key or user session · project:admin |
setup.status | GET /v1/projects/{project}/setup/status | secret key or user session · analytics:read |
setup.progress | PATCH /v1/projects/{project}/setup | secret key or user session · analytics:read |
setup.installation | GET /v1/projects/{project}/setup/installation | secret key or user session · analytics:read |
setup.prompts | GET /v1/projects/{project}/setup/prompts | secret key or user session · analytics:read |
setup.prompt | GET /v1/projects/{project}/setup/prompts/{kind} | secret key or user session · analytics:read |
setup.testConversion | POST /v1/projects/{project}/setup/test-conversion | secret key or user session · project:admin |
setup.mcpActivity | GET /v1/projects/{project}/setup/mcp-activity | secret key or user session · analytics:read |
setup.detectStack | POST /v1/projects/{project}/setup/detect-stack | secret key or user session · analytics:read |
setup.claude | GET /v1/projects/{project}/setup/claude | secret key or user session · analytics:read |
setup.claudeEvents | GET /v1/projects/{project}/setup/claude/events | secret key or user session · analytics:read |
setup.claudeUndo | POST /v1/projects/{project}/setup/claude/undo | dashboard user session · config:write |
setup.frameworks
GET /v1/setup/frameworks – Supported frameworks and proxy options.
- Auth: public
- Response: 200 JSON
setup.detect
POST /v1/setup/detect – Detect framework/router/proxy option from package.json dependencies and a file list.
- Auth: public
- Response: 200 JSON (
DetectStackResult) - Body: application/json (
DetectStackInput)
setup.instructions
GET /v1/setup/instructions – Ordered install steps (files, code, env vars, commands) for a framework.
- Auth: public
- Response: 200 JSON (
SetupInstructions)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
framework | "next-app" | "next-pages" | "react-vite" | "astro" | "wordpress" | "webflow-html" | "shopify" | "other" | yes | |
proxy | "route-handler" | "cloudflare-worker" | "nginx" | "netlify" | "wordpress" | "cname" | "none" | no | |
consent | "none" | "custom" | "cookiebot" | "usercentrics" | "complianz" | "borlabs" | "google_consent_mode" | no | |
typescript | "true" | "false" | no | |
project | string | no |
setup.snippet
GET /v1/projects/{project}/setup/snippet – Install code with the project's real publishable key, API origin and proxy path.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
SetupInstructions)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
framework | "next-app" | "next-pages" | "react-vite" | "astro" | "wordpress" | "webflow-html" | "shopify" | "other" | yes | |
proxy | "route-handler" | "cloudflare-worker" | "nginx" | "netlify" | "wordpress" | "cname" | "none" | no | |
consent | "none" | "custom" | "cookiebot" | "usercentrics" | "complianz" | "borlabs" | "google_consent_mode" | no | |
typescript | "true" | "false" | no |
setup.verify
POST /v1/projects/{project}/setup/verify – Verify an installation: fetch the page (SSRF-guarded), check snippet/proxy/CSP, look for recent events.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
VerifyInstallationResult) - Body: application/json (
VerifyInstallationInput)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.status
GET /v1/projects/{project}/setup/status – Onboarding status per step, derived from real data (tracking, goals, ad platforms, conversions, Claude/MCP, team).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.progress
PATCH /v1/projects/{project}/setup – Wizard position, dismissal and manual step overrides (skip, re-open, team done).
Each key in steps needs one of the step's scopes (goals: config:write, ads: ads:write, conversions: project:admin, ai: analytics:read, team: org:admin); dismissed needs project:admin; lastStep alone needs analytics:read. Returns the fresh status.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupStatus) - Body: application/json (
SetupProgressUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.installation
GET /v1/projects/{project}/setup/installation – Live installation check: hosts seen, SDK version, proxy, consent, custom events, last verification (test traffic included).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupInstallation)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
since | string | no |
setup.prompts
GET /v1/projects/{project}/setup/prompts – Ready-made Claude Code prompts for this project (titles and descriptions).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupPromptList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
locale | "de" | "en" | no |
setup.prompt
GET /v1/projects/{project}/setup/prompts/{kind} – One project-specific Claude Code prompt (never contains secrets).
Kinds install, events, server_conversions and full_setup need config:write or project:admin; mcp_analysis, troubleshoot and connection_test need analytics:read. target adapts the intro to the tool the prompt is pasted into (claude_code default, codex, cursor, windsurf, vscode_copilot, gemini_cli, other, claude_ai).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupPrompt)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
kind | "install" | "events" | "server_conversions" | "mcp_analysis" | "troubleshoot" | "connection_test" | "full_setup" | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
stack | "next-app" | "next-pages" | "react-vite" | "astro" | "wordpress" | "webflow-html" | "shopify" | "other" | "auto" | no | |
site_url | string | no | |
proxy | "auto" | "on" | "off" | no | |
locale | "de" | "en" | no | |
target | "claude_code" | "codex" | "cursor" | "windsurf" | "vscode_copilot" | "gemini_cli" | "other" | "claude_ai" | no |
setup.testConversion
POST /v1/projects/{project}/setup/test-conversion – Send one synthetic test conversion to a configured provider in its test mode and return the provider's answer.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
SetupTestConversionResult) - Body: application/json (
SetupTestConversion)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.mcpActivity
GET /v1/projects/{project}/setup/mcp-activity – Newest MCP calls for this project (Claude connection test).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupMcpActivity)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | no |
setup.detectStack
POST /v1/projects/{project}/setup/detect-stack – Guess the website's stack from its HTML (SSRF-guarded fetch of an allowed origin).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupDetectStackResult) - Body: application/json (
SetupDetectStack)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.claude
GET /v1/projects/{project}/setup/claude – Claude sets X3 up (onboarding v2): the caller's Claude connection, the newest setup session with its seven stages and the open lead-setup proposal.
Stages tick only from actions of the session's own OAuth grant or key since the session started, or from an independent signal (the first visit). Claude's chat text is only a quote. The proposal is applied by a person with leadSetup.proposalApply.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SetupClaude)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.claudeEvents
GET /v1/projects/{project}/setup/claude/events – Server-sent events of the Claude setup: event: claude with SetupClaude on every change of the session, the proposal or the connection; closes after 55 s (reconnect with Last-Event-ID).
text/event-stream. Reads one setup_sessions row once per second. Each event has id: <session id or none>:<version>:<proposal ms>; event: bye announces the planned close after 55 s.
- Auth: secret key or user session ·
analytics:read - Response: 200 event-stream
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
setup.claudeUndo
POST /v1/projects/{project}/setup/claude/undo – „Rückgängig“ for what Claude created directly in its setup session: the path to the inquiry (funnels as before the session) or the visitor scoring (the template before the session).
- Auth: dashboard user session ·
config:write - Response: 200 JSON (
SetupClaude) - Body: application/json (
SetupClaudeUndo)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Docs
| Operation | Endpoint | Auth |
|---|---|---|
docs.openapi | GET /v1/openapi.json | public |
docs.list | GET /v1/docs | public |
docs.search | GET /v1/docs/search | public |
docs.get | GET /v1/docs/{slug} | public |
docs.getMarkdown | GET /v1/docs/{slug}.md | public |
docs.reference | GET /docs/api | public |
docs.referenceMarkdown | GET /docs/api.md | public |
docs.llms | GET /llms.txt | public |
docs.llmsFull | GET /llms-full.txt | public |
docs.openapi
GET /v1/openapi.json – OpenAPI 3.1 document.
- Auth: public
- Response: 200 JSON
docs.list
GET /v1/docs – Documentation index.
- Auth: public
- Response: 200 JSON
docs.search
GET /v1/docs/search – Full-text search over guides and the API reference.
- Auth: public
- Response: 200 JSON
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | |
limit | string | no |
docs.get
GET /v1/docs/{slug} – One guide as markdown (slug with slashes URL-encoded or as path segments).
- Auth: public
- Response: 200 JSON (
Doc)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes |
docs.getMarkdown
GET /v1/docs/{slug}.md – One guide as raw markdown (links point to other .md guides).
- Auth: public
- Response: 200 markdown
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes |
docs.reference
GET /docs/api – Interactive API reference (Scalar) rendered from the OpenAPI document.
- Auth: public
- Response: 200 html
docs.referenceMarkdown
GET /docs/api.md – API reference as markdown (every endpoint with auth, scopes, parameters).
- Auth: public
- Response: 200 markdown
docs.llms
GET /llms.txt – llms.txt index of the documentation (https://llmstxt.org).
- Auth: public
- Response: 200 text
docs.llmsFull
GET /llms-full.txt – Every guide concatenated as markdown, for LLM context.
- Auth: public
- Response: 200 text
Journeys
| Operation | Endpoint | Auth |
|---|---|---|
journeys.list | GET /v1/projects/{project}/journeys | secret key or user session · analytics:read |
journeys.export | GET /v1/projects/{project}/journeys/export.csv | secret key or user session · analytics:read |
journeys.get | GET /v1/projects/{project}/journeys/{id} | secret key or user session · analytics:read |
journeys.link | POST /v1/projects/{project}/journeys/link | secret key or user session · leads:write |
journeys.unlink | POST /v1/projects/{project}/journeys/unlink | secret key or user session · leads:write |
journeys.coverage | GET /v1/projects/{project}/analytics/journeys | secret key or user session · analytics:read |
journeys.list
GET /v1/projects/{project}/journeys – Customer journeys with a session in the range (newest activity first).
Journeys link the sessions of one person across days and devices: with consent through the first-party visitor id (x3_vid) and consented ad cookies, without consent only through the same ad click id, the same hashed identity of a lead, the daily visitor hash (same day) or manual links.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
min_sessions | string | no | |
limit | string | no | |
cursor | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: last_seen_at, first_seen_at, sessions, span_days, devices, leads, lead_status, converted, conversions, first_channel, last_channel, first_campaign, last_campaign, first_source, entry_page, engaged, max_relevance |
fields | string | no | Comma-separated columns for CSV/MCP output: last_seen_at, first_seen_at, sessions, span_days, devices, leads, lead, lead_status, converted, conversions, first_channel, last_channel, first_campaign, last_campaign, first_source, entry_page, engaged, max_relevance |
q | string | no | Search: campaign, source, landing page |
f.last_seen_at | string | no | Last seen (date): before | after | between, e.g. after:2026-10-01 |
f.first_seen_at | string | no | First visit (date): before | after | between, e.g. after:2026-10-01 |
f.sessions | string | no | Visits (number): eq | gte | lte | between, e.g. between:10,60 |
f.span_days | string | no | Span (days) (number): eq | gte | lte | between, e.g. between:10,60 |
f.devices | string | no | Devices (number): eq | gte | lte | between, e.g. between:10,60 |
f.leads | string | no | Inquiries (number): eq | gte | lte | between, e.g. between:10,60 |
f.lead_status | string | no | Lead status (enum): eq | in | isEmpty, e.g. in:new,contacted |
f.converted | string | no | Goal reached (boolean): eq, e.g. eq:true |
f.conversions | string | no | Goals reached (number): eq | gte | lte | between, e.g. between:10,60 |
f.first_channel | string | no | First channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.last_channel | string | no | Last channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.first_campaign | string | no | First campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.last_campaign | string | no | Last campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.first_source | string | no | First source (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | First landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.engaged | string | no | Total active time (number): eq | gte | lte | between, e.g. between:10,60 |
f.max_relevance | string | no | Peak interest (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
count | "capped" | "none" | no |
journeys.export
GET /v1/projects/{project}/journeys/export.csv – CSV of a journeys view: same range, min_sessions, sort, column filters and search as journeys.list; fields picks the columns (≤ 50,000 rows, streamed).
Lead columns (lead, lead_status) are filled only for callers with leads:summary or leads:read and never contain contact data.
- Auth: secret key or user session ·
analytics:read - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
min_sessions | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: last_seen_at, first_seen_at, sessions, span_days, devices, leads, lead_status, converted, conversions, first_channel, last_channel, first_campaign, last_campaign, first_source, entry_page, engaged, max_relevance |
fields | string | no | Comma-separated columns for CSV/MCP output: last_seen_at, first_seen_at, sessions, span_days, devices, leads, lead, lead_status, converted, conversions, first_channel, last_channel, first_campaign, last_campaign, first_source, entry_page, engaged, max_relevance |
q | string | no | Search: campaign, source, landing page |
f.last_seen_at | string | no | Last seen (date): before | after | between, e.g. after:2026-10-01 |
f.first_seen_at | string | no | First visit (date): before | after | between, e.g. after:2026-10-01 |
f.sessions | string | no | Visits (number): eq | gte | lte | between, e.g. between:10,60 |
f.span_days | string | no | Span (days) (number): eq | gte | lte | between, e.g. between:10,60 |
f.devices | string | no | Devices (number): eq | gte | lte | between, e.g. between:10,60 |
f.leads | string | no | Inquiries (number): eq | gte | lte | between, e.g. between:10,60 |
f.lead_status | string | no | Lead status (enum): eq | in | isEmpty, e.g. in:new,contacted |
f.converted | string | no | Goal reached (boolean): eq, e.g. eq:true |
f.conversions | string | no | Goals reached (number): eq | gte | lte | between, e.g. between:10,60 |
f.first_channel | string | no | First channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.last_channel | string | no | Last channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.first_campaign | string | no | First campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.last_campaign | string | no | Last campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.first_source | string | no | First source (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | First landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.engaged | string | no | Total active time (number): eq | gte | lte | between, e.g. between:10,60 |
f.max_relevance | string | no | Peak interest (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
locale | "de" | "en" | no |
journeys.get
GET /v1/projects/{project}/journeys/{id} – One customer journey: every session with source, ad, device, key events, link reasons; conversions with model credits and match quality.
by=session or by=lead looks the journey up by a session or lead id (lead lookups need leads:read). Lead details are included only for callers with leads:read.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Journey)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
by | "journey" | "session" | "lead" | no |
journeys.link
POST /v1/projects/{project}/journeys/link – Manually link a session into a journey (e.g. a WhatsApp lead confirmed to a session).
- Auth: secret key or user session ·
leads:write - Response: 200 JSON (
JourneyLinkResult) - Body: application/json (
JourneyLinkBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
journeys.unlink
POST /v1/projects/{project}/journeys/unlink – Detach a session from its journey; automatic links no longer apply to it.
- Auth: secret key or user session ·
leads:write - Response: 200 JSON (
JourneyLinkResult) - Body: application/json (
JourneyUnlinkBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
journeys.coverage
GET /v1/projects/{project}/analytics/journeys – Journey coverage: share of conversions with a multi-session journey, link reasons, sessions to convert.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
Insights
| Operation | Endpoint | Auth |
|---|---|---|
portfolio.summary | GET /v1/portfolio | secret key or user session · analytics:read |
portfolio.leadsExport | GET /v1/portfolio/leads/export.csv | secret key or user session · leads:summary |
portfolio.live | GET /v1/portfolio/live | secret key or user session · analytics:read |
portfolio.leads | GET /v1/portfolio/leads | secret key or user session · leads:summary |
pulse.get | GET /v1/projects/{project}/pulse | secret key or user session · analytics:read |
pulse.badges | GET /v1/projects/{project}/pulse/badges | secret key or user session · analytics:read |
recommendations.list | GET /v1/projects/{project}/recommendations | secret key or user session · analytics:read + ads:read |
recommendations.feedback | POST /v1/projects/{project}/recommendations/{id}/feedback | secret key or user session · ads:write · X3 App |
alerts.list | GET /v1/alerts | secret key or user session · analytics:read |
alerts.project | GET /v1/projects/{project}/alerts | secret key or user session · analytics:read |
alerts.update | PATCH /v1/alerts/{id} | secret key or user session · X3 App |
notices.list | GET /v1/notices | secret key or user session · analytics:read |
notices.update | PATCH /v1/orgs/{org}/notices/{key} | secret key or user session · config:write · X3 App |
notices.updateMine | PATCH /v1/notices/{key} | user session or X3 App token · X3 App |
health.get | GET /v1/projects/{project}/health | secret key or user session · analytics:read |
explain.get | GET /v1/projects/{project}/explain | secret key or user session · analytics:read |
search.query | GET /v1/search | secret key or user session · analytics:read |
budget.get | GET /v1/projects/{project}/budget | secret key or user session · ads:read |
budget.put | PUT /v1/projects/{project}/budget | secret key or user session · ads:write · Idempotency-Key |
orgs.clientReport | POST /v1/orgs/{org}/client-report | secret key or user session · org:admin |
orgs.clientReportSettings | GET /v1/orgs/{org}/client-report | secret key or user session · org:admin |
portfolio.summary
GET /v1/portfolio – Cockpit: leads, spend, cost per lead and qualified leads over every visible project.
Visibility: sessions = memberships, secret keys = their organization (and project narrowing), OAuth grants = their orgs/projects. No model (cockpit numbers do not depend on the counting rule).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PortfolioSummary)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Range when from/to are absent. Default 7d (Letzte 7 Tage). |
from | string | no | |
to | string | no | |
cmp | "prev" | "yoy" | "off" | "previous" | "previous_year" | no | |
org | string | no | |
fields | "switcher" | "full" | no | |
display_currency | string | no | |
tz | string | no |
portfolio.leadsExport
GET /v1/portfolio/leads/export.csv – CSV of the „Alle Leads“ view over every client: the rows and columns of portfolio.leads with the same filters, sort and search (display names, never contact data; ≤ 50,000 rows).
- Auth: secret key or user session ·
leads:summary - Response: 200 csv
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Range when from/to are absent. Default 7d (Letzte 7 Tage). |
from | string | no | |
to | string | no | |
cmp | "prev" | "yoy" | "off" | "previous" | "previous_year" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: client, channel, utm_campaign, entry_page, form, status, reason, grade, score, value, appointment_at, country, created_at |
fields | string | no | Comma-separated columns for CSV/MCP output: name, client, origin, visits, channel, utm_campaign, entry_page, form, status, reason, grade, score, value, appointment_at, country, created_at |
q | string | no | |
f.client | string | no | Client (text): eq | in | contains, e.g. contains:text |
f.channel | string | no | Channel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.form | string | no | Form (text): eq | in | contains | isEmpty, e.g. contains:text |
f.status | string | no | Status (enum): eq | in, e.g. in:new,contacted |
f.reason | string | no | Reason (text): eq | in | contains | isEmpty, e.g. contains:text |
f.grade | string | no | Fit (text): eq | in | contains | isEmpty, e.g. contains:text |
f.score | string | no | Score (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.value | string | no | Value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.appointment_at | string | no | Appointment (date): before | after | between | isEmpty, e.g. after:2026-10-01 |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.created_at | string | no | Received (date): before | after | between, e.g. after:2026-10-01 |
limit | string | no | |
org | string | no | |
status | string | string[] | no | |
grade | string | string[] | no | |
locale | "de" | "en" | no |
portfolio.live
GET /v1/portfolio/live – Live over several projects: visitors right now, one world map, the merged live feed and today's figures per project and in total.
Projects: every project the credential can read with analytics:read (sessions = memberships across organizations, keys and OAuth grants = their organizations and project narrowing), optionally one org or a chosen set projects (comma-separated ids, at most 200). parts (comma-separated, default live,today): live = visitors now per project (the number of the project's „● n“), geo = map points (coarsened per project like live.geo, for the 40 projects with the most visitors), feed = visits, leads, conversions and purchases since since (ISO time; without it the last 30 minutes; a poll re-reads two minutes before since, dedupe by id), today = leads (people), qualified leads, conversions (enquiry/booking/contact), purchases, revenue and ad spend of the running calendar day in each project's own time zone – totals add these days up and never add lead and purchase figures together. Test traffic never counts. feed_kind=purchase: the feed lists purchases only.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PortfolioLive)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | no | |
projects | string | no | |
parts | string | no | |
window | "now" | "30m" | no | |
since | string | no | |
display_currency | string | no | |
feed_kind | "purchase" | no |
portfolio.leads
GET /v1/portfolio/leads – Leads over every visible project (feed and list, without contact data).
Shared list contract (PORTFOLIO_LEADS_TABLE): sort=field:dir,… (max. 3; lead names and contact fields are never sortable or filterable), f.<field>=<op>:<value>, q (name search), keyset cursor (nextCursor), count=capped for total. status/grade remain as shortcuts; counts applies every filter except the status.
- Auth: secret key or user session ·
leads:summary - Response: 200 JSON
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Range when from/to are absent. Default 7d (Letzte 7 Tage). |
from | string | no | |
to | string | no | |
cmp | "prev" | "yoy" | "off" | "previous" | "previous_year" | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: client, channel, utm_campaign, entry_page, form, status, reason, grade, score, value, appointment_at, country, created_at |
fields | string | no | Comma-separated columns for CSV/MCP output: name, client, origin, visits, channel, utm_campaign, entry_page, form, status, reason, grade, score, value, appointment_at, country, created_at |
q | string | no | |
f.client | string | no | Client (text): eq | in | contains, e.g. contains:text |
f.channel | string | no | Channel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic |
f.utm_campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.entry_page | string | no | Landing page (text): eq | in | contains | isEmpty, e.g. contains:text |
f.form | string | no | Form (text): eq | in | contains | isEmpty, e.g. contains:text |
f.status | string | no | Status (enum): eq | in, e.g. in:new,contacted |
f.reason | string | no | Reason (text): eq | in | contains | isEmpty, e.g. contains:text |
f.grade | string | no | Fit (text): eq | in | contains | isEmpty, e.g. contains:text |
f.score | string | no | Score (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.value | string | no | Value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.appointment_at | string | no | Appointment (date): before | after | between | isEmpty, e.g. after:2026-10-01 |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.created_at | string | no | Received (date): before | after | between, e.g. after:2026-10-01 |
limit | string | no | |
cursor | string | no | |
since | string | no | |
org | string | no | |
status | string | string[] | no | |
grade | string | string[] | no | |
counts | "0" | "1" | "true" | "false" | no | |
count | "capped" | "none" | no |
pulse.get
GET /v1/projects/{project}/pulse – Pulse: story, 4 numbers, recommendations, sources, latest leads, notes and journeys in one call.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Range when from/to are absent. Default 7d (Letzte 7 Tage). |
from | string | no | |
to | string | no | |
cmp | "prev" | "yoy" | "off" | "previous" | "previous_year" | no | |
model | object | no | Counting rule; default the project's own setting (settings.attributionModel). Pass it only to compare rules temporarily. |
include_test | "0" | "1" | "true" | "false" | no | |
sections | "all" | "core" | no | „core“ leaves out the traffic blocks (quality, visitors, leadGoal, awaiting, the Besuche column) for callers that only read the KPIs, sources or leads; default all |
pulse.badges
GET /v1/projects/{project}/pulse/badges – Tab counters: new leads, sync problems, open alerts.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PulseBadges)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
recommendations.list
GET /v1/projects/{project}/recommendations – Recommendations (rules R1–R8) for a range and counting rule; precomputed for 7d/this_week/30d, live otherwise.
- Auth: secret key or user session ·
analytics:read+ads:read - Response: 200 JSON (
RecommendationList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Range when from/to are absent. Default 7d (Letzte 7 Tage). |
from | string | no | |
to | string | no | |
cmp | "prev" | "yoy" | "off" | "previous" | "previous_year" | no | |
model | object | no | Counting rule; default the project's own setting (settings.attributionModel). Pass it only to compare rules temporarily. |
include_test | "0" | "1" | "true" | "false" | no |
recommendations.feedback
POST /v1/projects/{project}/recommendations/{id}/feedback – Done / later / doesn't fit / undo – done starts the 7-day effect measurement.
- Auth: secret key or user session ·
ads:write· X3 App - Response: 200 JSON (
RecommendationFeedbackResult) - Body: application/json (
RecommendationFeedback)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
alerts.list
GET /v1/alerts – Alerts over every visible project (triage order: problem › attention › opportunity › setup › info).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
AlertList)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | "open" | "done" | "snoozed" | no | |
org | string | no | |
project | string | no | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
type | "problem" | "attention" | "opportunity" | "setup" | "info" | no | |
limit | string | no | |
cursor | string | no |
alerts.project
GET /v1/projects/{project}/alerts – Alerts of one project.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
AlertList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | "open" | "done" | "snoozed" | no | |
limit | string | no | |
cursor | string | no |
alerts.update
PATCH /v1/alerts/{id} – Mark an alert done, snooze or reopen it (shared state, needs config:write or ads:write in its org).
- Auth: secret key or user session · X3 App
- Response: 200 JSON (
Alert) - Body: application/json (
AlertUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
notices.list
GET /v1/notices – Open notices of the signed-in person: personal ones (e.g. connect an AI client, once across all organizations) and organization ones – evaluated live, they resolve themselves.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
OrgNoticeList)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | no |
notices.update
PATCH /v1/orgs/{org}/notices/{key} – Snooze („Später“), dismiss („Passt nicht“) or reopen an organization notice (shared for the org, needs config:write); a personal notice key changes the caller's own notice.
- Auth: secret key or user session ·
config:write· X3 App - Response: 200 JSON (
OrgNotice) - Body: application/json (
OrgNoticeUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
key | "connect_ai" | yes |
notices.updateMine
PATCH /v1/notices/{key} – Snooze („Später“), dismiss („Passt nicht“) or reopen a personal notice of the signed-in person (stored per person, not per organization).
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
OrgNotice) - Body: application/json (
OrgNoticeUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
key | "connect_ai" | yes |
health.get
GET /v1/projects/{project}/health – Health: tracking, costs per ad account and reporting per platform (separate states).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ProjectHealth)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
explain.get
GET /v1/projects/{project}/explain – Why? – decomposition of a number into its drivers, with method and certainty.
metric=leads|qualified needs analytics:read; spend, cpl and per_interested additionally ads:read.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Explanation)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Range when from/to are absent. Default 7d (Letzte 7 Tage). |
from | string | no | |
to | string | no | |
cmp | "prev" | "yoy" | "off" | "previous" | "previous_year" | no | |
model | object | no | Counting rule; default the project's own setting (settings.attributionModel). Pass it only to compare rules temporarily. |
include_test | "0" | "1" | "true" | "false" | no | |
metric | "leads" | "spend" | "cpl" | "qualified" | "per_interested" | yes |
search.query
GET /v1/search – Command palette search: projects, leads (display names only), campaigns, pages.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
SearchResult)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | |
project | string | no | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
types | string | string[] | no |
budget.get
GET /v1/projects/{project}/budget – Monthly budget with forecast to the end of the month.
- Auth: secret key or user session ·
ads:read - Response: 200 JSON (
Budget)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
month | string | no |
budget.put
PUT /v1/projects/{project}/budget – Set the monthly budget (optionally per platform, repeating).
- Auth: secret key or user session ·
ads:write·Idempotency-Key - Response: 200 JSON (
Budget) - Body: application/json (
BudgetWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
orgs.clientReport
POST /v1/orgs/{org}/client-report – Weekly client report: preview, send now or switch the Monday report on (this organization only).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
ClientReportPreview) - Body: application/json (
ClientReportRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
orgs.clientReportSettings
GET /v1/orgs/{org}/client-report – Settings of the weekly client report (recipients from this organization's members).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
ClientReportSettings)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Connect
| Operation | Endpoint | Auth |
|---|---|---|
connect.get | GET /v1/connect/{code} | public |
connect.start | POST /v1/connect/{code}/start | public |
connect.callback | POST /v1/connect/{code}/callback | public |
connect.complete | POST /v1/connect/{code}/complete | public |
connect.get
GET /v1/connect/{code} – Public: what a client connection link offers (invalid, expired and unknown codes look the same).
- Auth: public
- Response: 200 JSON (
ConnectInfo)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes |
connect.start
POST /v1/connect/{code}/start – Public: start the read-only OAuth of one platform (reserved once per platform).
- Auth: public
- Response: 200 JSON (
ConnectStarted) - Body: application/json (
ConnectStart)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes |
connect.callback
POST /v1/connect/{code}/callback – Public: OAuth return – verifies the state bound to the code, lists the reachable accounts.
- Auth: public
- Response: 200 JSON (
ConnectAccounts) - Body: application/json (
ConnectCallback)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes |
connect.complete
POST /v1/connect/{code}/complete – Public: hand over the chosen accounts (they wait for the agency's confirmation).
- Auth: public
- Response: 200 JSON (
ConnectDone) - Body: application/json (
ConnectComplete)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes |
Presets
| Operation | Endpoint | Auth |
|---|---|---|
presets.list | GET /v1/orgs/{org}/presets | secret key or user session · analytics:read |
presets.get | GET /v1/orgs/{org}/presets/{preset} | secret key or user session · analytics:read |
presets.create | POST /v1/orgs/{org}/presets | secret key or user session · config:write · Idempotency-Key |
presets.update | PATCH /v1/orgs/{org}/presets/{preset} | secret key or user session · config:write |
presets.duplicate | POST /v1/orgs/{org}/presets/{preset}/duplicate | secret key or user session · config:write |
presets.archive | POST /v1/orgs/{org}/presets/{preset}/archive | secret key or user session · config:write |
presets.unarchive | POST /v1/orgs/{org}/presets/{preset}/unarchive | secret key or user session · config:write |
presets.previewRelevance | POST /v1/orgs/{org}/presets/preview-relevance | secret key or user session · analytics:read |
presets.apply | POST /v1/projects/{project}/preset/apply | secret key or user session · project:admin |
presets.list
GET /v1/orgs/{org}/presets – Presets: built-in industry templates and the organization's own presets.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PresetList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | "active" | "archived" | "all" | no |
presets.get
GET /v1/orgs/{org}/presets/{preset} – One preset with its definition, versions and the projects using it.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PresetDetail)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
preset | string | yes |
presets.create
POST /v1/orgs/{org}/presets – Create an organization preset – blank, from a template, from a project or from a full definition.
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 201 JSON (
PresetDetail) - Body: application/json (
PresetCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
presets.update
PATCH /v1/orgs/{org}/presets/{preset} – New version of a preset (optimistic concurrency: 409 preset_conflict when version is not the current one).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
PresetDetail) - Body: application/json (
PresetUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
preset | string | yes |
presets.duplicate
POST /v1/orgs/{org}/presets/{preset}/duplicate – Duplicate a template or preset into a new organization preset.
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
PresetDetail) - Body: application/json (
PresetDuplicate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
preset | string | yes |
presets.archive
POST /v1/orgs/{org}/presets/{preset}/archive – Archive a preset (projects keep their settings; archived presets cannot be applied).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
PresetSummary)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
preset | string | yes |
presets.unarchive
POST /v1/orgs/{org}/presets/{preset}/unarchive – Restore an archived preset.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
PresetSummary)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
preset | string | yes |
presets.previewRelevance
POST /v1/orgs/{org}/presets/preview-relevance – Interest model preview: share of interested and hot visitors with these weights on the real visits of the last 30 days.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PresetRelevancePreviewResult) - Body: application/json (
PresetRelevancePreview)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
presets.apply
POST /v1/projects/{project}/preset/apply – Apply a preset to a project – dry run returns the diff; without dry run it applies atomically and audits.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
PresetDiff) - Body: application/json (
PresetApply)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Annotations
| Operation | Endpoint | Auth |
|---|---|---|
annotations.list | GET /v1/projects/{project}/annotations | secret key or user session · analytics:read |
annotations.create | POST /v1/projects/{project}/annotations | secret key or user session · Idempotency-Key |
annotations.update | PATCH /v1/projects/{project}/annotations/{id} | secret key or user session |
annotations.delete | DELETE /v1/projects/{project}/annotations/{id} | secret key or user session |
annotations.orgList | GET /v1/orgs/{org}/annotations | secret key or user session · analytics:read |
annotations.orgDelete | DELETE /v1/orgs/{org}/annotations/{id} | secret key or user session · org:admin |
deployWebhooks.list | GET /v1/projects/{project}/deploy-webhooks | secret key or user session · project:admin |
deployWebhooks.create | POST /v1/projects/{project}/deploy-webhooks | secret key or user session · project:admin |
deployWebhooks.revoke | DELETE /v1/projects/{project}/deploy-webhooks/{id} | secret key or user session · project:admin |
deployWebhooks.receive | POST /v1/hooks/deploy/{token} | webhook signature |
annotations.list
GET /v1/projects/{project}/annotations – Annotations of the project in a date range (project days), org-wide ones included, oldest first.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | |
to | string | no | |
kind | string | no | Comma-separated kinds |
include_org | "0" | "1" | "true" | "false" | no | |
limit | string | no | |
cursor | string | no |
annotations.create
POST /v1/projects/{project}/annotations – Add a manual note or a deploy marker (scope org needs org:admin).
- Auth: secret key or user session ·
Idempotency-Key - Response: 201 JSON (
Annotation) - Body: application/json (
AnnotationCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
annotations.update
PATCH /v1/projects/{project}/annotations/{id} – Edit an annotation (optimistic concurrency: 409 annotation_conflict when version is outdated).
- Auth: secret key or user session
- Response: 200 JSON (
Annotation) - Body: application/json (
AnnotationUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
annotations.delete
DELETE /v1/projects/{project}/annotations/{id} – Delete an annotation (soft delete, audited; automatic markers are hidden and not re-created).
- Auth: secret key or user session
- Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
annotations.orgList
GET /v1/orgs/{org}/annotations – Org-wide annotations (shown in every project of the organization).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | |
to | string | no | |
kind | string | no | Comma-separated kinds |
include_org | "0" | "1" | "true" | "false" | no | |
limit | string | no | |
cursor | string | no |
annotations.orgDelete
DELETE /v1/orgs/{org}/annotations/{id} – Delete an org-wide annotation.
- Auth: secret key or user session ·
org:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
deployWebhooks.list
GET /v1/projects/{project}/deploy-webhooks – Deploy webhooks of the project (token hints only).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
deployWebhooks.create
POST /v1/projects/{project}/deploy-webhooks – Create a deploy webhook; the token and URL are returned once.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
DeployWebhookCreated) - Body: application/json (
DeployWebhookCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
deployWebhooks.revoke
DELETE /v1/projects/{project}/deploy-webhooks/{id} – Revoke a deploy webhook.
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
deployWebhooks.receive
POST /v1/hooks/deploy/{token} – Deploy marker from CI/CD (token in the path; rate-limited; body optional).
Writes a deploy annotation for the webhook's project. The token is the credential (x3d_…, shown once); revoked or unknown tokens answer 404. Raw route: an empty or JSON body is accepted.
- Auth: webhook signature
- Response: 201 JSON
- Body: application/json (
DeployHookBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Search Console
| Operation | Endpoint | Auth |
|---|---|---|
searchConsole.status | GET /v1/projects/{project}/search-console | secret key or user session · analytics:read |
searchConsole.connect | POST /v1/projects/{project}/search-console/connection | dashboard user session · project:admin · sudo |
searchConsole.complete | POST /v1/projects/{project}/search-console/connection/complete | dashboard user session · project:admin |
searchConsole.disconnect | DELETE /v1/projects/{project}/search-console/connection | secret key or user session · project:admin · sudo |
searchConsole.sites | GET /v1/projects/{project}/search-console/sites | secret key or user session · project:admin |
searchConsole.selectProperty | PUT /v1/projects/{project}/search-console/property | secret key or user session · project:admin · Idempotency-Key |
searchConsole.sync | POST /v1/projects/{project}/search-console/sync | secret key or user session · project:admin · Idempotency-Key |
searchConsole.runs | GET /v1/projects/{project}/search-console/runs | secret key or user session · analytics:read |
searchConsole.report | GET /v1/projects/{project}/search-console/report | secret key or user session · analytics:read |
searchConsole.timeseries | GET /v1/projects/{project}/search-console/timeseries | secret key or user session · analytics:read |
searchConsole.opportunities | GET /v1/projects/{project}/search-console/opportunities | secret key or user session · analytics:read |
searchConsole.status
GET /v1/projects/{project}/search-console – Search Console state of the project: connection, property, sync runs with live progress, next action.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
GscStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
searchConsole.connect
POST /v1/projects/{project}/search-console/connection – Start connecting Google Search Console via Composio (hosted OAuth URL, valid 10 minutes).
- Auth: dashboard user session ·
project:admin· sudo - Response: 201 JSON (
GscConnectStarted)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
searchConsole.complete
POST /v1/projects/{project}/search-console/connection/complete – Finish the OAuth callback (nonce + connected account verified); lists the reachable properties.
- Auth: dashboard user session ·
project:admin - Response: 200 JSON
- Body: application/json (
GscConnectComplete)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
searchConsole.disconnect
DELETE /v1/projects/{project}/search-console/connection – Disconnect Search Console (revoked at Composio); stored data is kept unless purge=true.
- Auth: secret key or user session ·
project:admin· sudo - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
purge | "true" | "false" | no |
searchConsole.sites
GET /v1/projects/{project}/search-console/sites – Search Console properties reachable through the connection (matching ones first).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
searchConsole.selectProperty
PUT /v1/projects/{project}/search-console/property – Choose the property and start the backfill right away (≤ 16 months; a property change re-syncs).
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 200 JSON (
GscStatus) - Body: application/json (
GscPropertySelect)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
searchConsole.sync
POST /v1/projects/{project}/search-console/sync – Re-sync a window now (default: the recent days GSC still restates); idempotent while a run is open.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 202 JSON (
GscStatus) - Body: application/json (
GscSyncRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
searchConsole.runs
GET /v1/projects/{project}/search-console/runs – Sync runs with progress, newest first.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | no |
searchConsole.report
GET /v1/projects/{project}/search-console/report – Queries, pages, countries, devices or days with clicks, impressions, CTR, position; pages joined to X3 sessions and leads.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
GscReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
dimension | "query" | "page" | "country" | "device" | "date" | yes | |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | |
from | string | no | |
to | string | no | |
cmp | "previous" | "previous_year" | "off" | no | |
query | string | no | Only rows of this search query |
page | string | no | Only rows of this canonical X3 page path or GSC page URL |
country | string | no | |
device | "desktop" | "mobile" | "tablet" | no | |
sort | string | no | |
q | string | no | |
fields | string | no | |
cursor | string | no | |
limit | string | no |
searchConsole.timeseries
GET /v1/projects/{project}/search-console/timeseries – Clicks, impressions, CTR and position per day (final = GSC no longer restates the day).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
GscTimeseries)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | |
from | string | no | |
to | string | no | |
cmp | "previous" | "previous_year" | "off" | no | |
query | string | no | Only rows of this search query |
page | string | no | Only rows of this canonical X3 page path or GSC page URL |
country | string | no | |
device | "desktop" | "mobile" | "tablet" | no |
searchConsole.opportunities
GET /v1/projects/{project}/search-console/opportunities – Brand split (Kennen Dich schon / Finden Dich neu, ambiguous terms out of the click rate) and Chancen: near the top without clicks, just below the first page, new at Google.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
GscOpportunities)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | |
from | string | no | |
to | string | no | |
cmp | "previous" | "previous_year" | "off" | no | |
limit | string | no |
Reports
| Operation | Endpoint | Auth |
|---|---|---|
reports.subscriptions.list | GET /v1/me/report-subscriptions | dashboard user session |
reports.subscriptions.create | POST /v1/me/report-subscriptions | dashboard user session · Idempotency-Key |
reports.subscriptions.update | PATCH /v1/me/report-subscriptions/{id} | dashboard user session |
reports.subscriptions.delete | DELETE /v1/me/report-subscriptions/{id} | dashboard user session |
reports.subscriptions.test | POST /v1/me/report-subscriptions/{id}/test | dashboard user session · Idempotency-Key |
reports.subscriptions.deliveries | GET /v1/me/report-subscriptions/{id}/deliveries | dashboard user session |
reports.preview | POST /v1/me/report-preview | dashboard user session |
reports.unsubscribeInfo | GET /v1/reports/unsubscribe/{token} | public |
reports.unsubscribe | POST /v1/reports/unsubscribe/{token} | public |
reports.subscriptions.list
GET /v1/me/report-subscriptions – Your weekly report subscriptions (e-mail and Slack).
- Auth: dashboard user session
- Response: 200 JSON
reports.subscriptions.create
POST /v1/me/report-subscriptions – Subscribe to the weekly report of a project, an organization or your portfolio.
- Auth: dashboard user session ·
Idempotency-Key - Response: 201 JSON (
ReportSubscription) - Body: application/json (
ReportSubscriptionCreate)
reports.subscriptions.update
PATCH /v1/me/report-subscriptions/{id} – Change weekday, time, time zone, language, sections, Slack webhook or pause.
- Auth: dashboard user session
- Response: 200 JSON (
ReportSubscription) - Body: application/json (
ReportSubscriptionUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
reports.subscriptions.delete
DELETE /v1/me/report-subscriptions/{id} – Delete a subscription.
- Auth: dashboard user session
- Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
reports.subscriptions.test
POST /v1/me/report-subscriptions/{id}/test – Send the report now as a test (marked „Test“; rate-limited; does not count as the week's report).
- Auth: dashboard user session ·
Idempotency-Key - Response: 202 JSON (
ReportDelivery)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
reports.subscriptions.deliveries
GET /v1/me/report-subscriptions/{id}/deliveries – Recent deliveries of a subscription (scheduled and test) with status.
- Auth: dashboard user session
- Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | no |
reports.preview
POST /v1/me/report-preview – Render the report exactly as it would be sent (subject, text, HTML, Slack blocks) without sending.
- Auth: dashboard user session
- Response: 200 JSON (
ReportPreview) - Body: application/json (
ReportPreviewRequest)
reports.unsubscribeInfo
GET /v1/reports/unsubscribe/{token} – What an unsubscribe link refers to (public).
- Auth: public
- Response: 200 JSON (
ReportUnsubscribeInfo)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
reports.unsubscribe
POST /v1/reports/unsubscribe/{token} – Unsubscribe by link token (public, one-click; idempotent).
- Auth: public
- Response: 200 JSON (
ReportUnsubscribeInfo)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Shares
| Operation | Endpoint | Auth |
|---|---|---|
shares.list | GET /v1/projects/{project}/shares | secret key or user session · project:admin |
shares.create | POST /v1/projects/{project}/shares | secret key or user session · project:admin · Idempotency-Key |
shares.update | PATCH /v1/projects/{project}/shares/{id} | secret key or user session · project:admin |
shares.revoke | POST /v1/projects/{project}/shares/{id}/revoke | secret key or user session · project:admin |
shares.rotateSecret | POST /v1/projects/{project}/shares/{id}/rotate-secret | secret key or user session · project:admin |
shares.delete | DELETE /v1/projects/{project}/shares/{id} | secret key or user session · project:admin |
shares.public.get | GET /v1/shares/{token} | public |
shares.public.unlock | POST /v1/shares/{token}/unlock | public |
shares.public.data | GET /v1/shares/{token}/data | public |
recordingShares.list | GET /v1/projects/{project}/recording-shares | secret key or user session · recordings:read + project:admin |
recordingShares.create | POST /v1/projects/{project}/recordings/{id}/shares | secret key or user session · recordings:read + project:admin · Idempotency-Key |
recordingShares.revoke | POST /v1/projects/{project}/recording-shares/{id}/revoke | secret key or user session · recordings:read + project:admin |
shares.public.recording | GET /v1/shares/{token}/recording | public |
shares.list
GET /v1/projects/{project}/shares – Share links of the project with views and state.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
shares.create
POST /v1/projects/{project}/shares – Create a read-only share link (sections, optional password, expiry, embedding); the link is returned once.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 201 JSON (
ShareCreated) - Body: application/json (
ShareCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
shares.update
PATCH /v1/projects/{project}/shares/{id} – Change sections, password, expiry or embedding of a share.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
Share) - Body: application/json (
ShareUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
shares.revoke
POST /v1/projects/{project}/shares/{id}/revoke – Revoke a share link immediately (kept in the list as revoked; cannot be re-activated).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
Share)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
shares.rotateSecret
POST /v1/projects/{project}/shares/{id}/rotate-secret – New signing secret for signed embeds (shown once; tokens signed with the old secret stop working).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
ShareSecret)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
shares.delete
DELETE /v1/projects/{project}/shares/{id} – Delete a share link and its view counter.
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
shares.public.get
GET /v1/shares/{token} – Public: what a share shows (project name, sections, ranges, lock and embed rules).
- Auth: public
- Response: 200 JSON (
PublicShare)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
shares.public.unlock
POST /v1/shares/{token}/unlock – Public: unlock a password-protected share (rate-limited); returns a session for x-3x-share-session.
- Auth: public
- Response: 200 JSON (
ShareUnlocked) - Body: application/json (
ShareUnlock)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
shares.public.data
GET /v1/shares/{token}/data – Public: aggregate data of one shared section (no personal data; small counts coarsened); counts a view.
- Auth: public
- Response: 200 JSON (
PublicShareData)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
section | "kpis" | "timeseries" | "sources" | "campaigns" | "pages" | "countries" | "devices" | "goals" | "search" | "annotations" | "funnel" | yes | |
preset | "7d" | "30d" | "90d" | "this_month" | "last_month" | no | |
st | string | no |
recordingShares.list
GET /v1/projects/{project}/recording-shares – Links to single recordings (optionally of one recording) with expiry, password flag, views and last view.
- Auth: secret key or user session ·
recordings:read+project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
recording | string | no |
recordingShares.create
POST /v1/projects/{project}/recordings/{id}/shares – Create a view-only link to one recording (expiry 1/7/30 days or never, optional password); the link is returned once; forbidden under the health preset.
- Auth: secret key or user session ·
recordings:read+project:admin·Idempotency-Key - Response: 201 JSON (
RecordingShareCreated) - Body: application/json (
RecordingShareCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
recordingShares.revoke
POST /v1/projects/{project}/recording-shares/{id}/revoke – Revoke a recording link immediately (stays listed as revoked; cannot be re-activated).
- Auth: secret key or user session ·
recordings:read+project:admin - Response: 200 JSON (
RecordingShare)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
shares.public.recording
GET /v1/shares/{token}/recording – Public: the shared recording (masked as stored, markers, short-lived stage link) – no visitor or lead data; counts a view; audited.
- Auth: public
- Response: 200 JSON (
PublicRecording)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Tasks
| Operation | Endpoint | Auth |
|---|---|---|
tasks.list | GET /v1/tasks | secret key or user session · analytics:read |
tasks.project | GET /v1/projects/{project}/tasks | secret key or user session · analytics:read |
tasks.update | PATCH /v1/tasks/{id} | secret key or user session · X3 App |
tasks.history | GET /v1/tasks/{id}/history | secret key or user session · analytics:read |
tasks.list
GET /v1/tasks – Tasks over every visible project, organization and the signed-in person (triage order: problem › attention › opportunity › setup › info).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TaskList)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
scope | "all" | "project" | "org" | "mine" | no | |
org | string | no | |
project | string | no | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
state | "open" | "auto_resolved" | "done" | "snoozed" | "dismissed" | "resolved" | "all" | no | open (default; includes snoozes that ran out), snoozed, done, auto_resolved, dismissed, resolved (done + auto_resolved of the last 30 days) or all |
type | string | no | Only these types (comma-separated), e.g. budget_over,no_leads |
kind | "problem" | "attention" | "opportunity" | "setup" | "info" | no | |
limit | string | no | |
cursor | string | no | |
resolvedSince | string | no | Only tasks that resolved themselves (auto_resolved) at or after this time – with the signed-in person: the ones their own writes triggered first (toast „Damit ist … erledigt“) |
tasks.project
GET /v1/projects/{project}/tasks – Tasks of one project (texts rendered from the current evaluation).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TaskList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
state | "open" | "auto_resolved" | "done" | "snoozed" | "dismissed" | "resolved" | "all" | no | open (default; includes snoozes that ran out), snoozed, done, auto_resolved, dismissed, resolved (done + auto_resolved of the last 30 days) or all |
type | string | no | Only these types (comma-separated), e.g. budget_over,no_leads |
kind | "problem" | "attention" | "opportunity" | "setup" | "info" | no | |
limit | string | no | |
cursor | string | no | |
resolvedSince | string | no | Only tasks that resolved themselves (auto_resolved) at or after this time – with the signed-in person: the ones their own writes triggered first (toast „Damit ist … erledigt“) |
tasks.update
PATCH /v1/tasks/{id} – Mark a task done, snooze it until a time, dismiss it („Passt nicht“, optional reason) or restore it – restoring re-checks the condition right away.
- Auth: secret key or user session · X3 App
- Response: 200 JSON (
TaskUpdateResult) - Body: application/json (
TaskUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
tasks.history
GET /v1/tasks/{id}/history – History of a task: opened, resolved itself (with reason and who triggered it), done, snoozed, dismissed, occurred again.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TaskHistory)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Runs
| Operation | Endpoint | Auth |
|---|---|---|
runs.list | GET /v1/projects/{project}/runs | secret key or user session · analytics:read |
runs.orgList | GET /v1/orgs/{org}/runs | secret key or user session · analytics:read |
runs.get | GET /v1/runs/{id} | secret key or user session · analytics:read |
runs.events | GET /v1/projects/{project}/runs/events | secret key or user session · analytics:read |
runs.start | POST /v1/projects/{project}/runs | secret key or user session · analytics:read |
runs.orgStart | POST /v1/orgs/{org}/runs | secret key or user session · analytics:read |
runs.cancel | POST /v1/runs/{id}/cancel | secret key or user session |
runs.list
GET /v1/projects/{project}/runs – Background runs of the project, newest first (filter: active, kind, subject).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RunList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
active | "0" | "1" | "true" | "false" | no | |
kind | "ads.backfill" | "ads.sync_now" | "conversions.upload" | "conversions.retry" | "presets.apply" | "relevance.rescore" | "leads.revenue_import" | "gsc.sync" | "demo.seed" | "reports.test_send" | "experiments.evaluate" | "crm.pull" | "crm.backfill" | "crm.bulk_push" | no | |
subject_type | "project" | "ad_account" | "ad_connection" | "destination" | "conversion" | "preset" | "import" | "property" | "report" | "crm_connection" | "lead" | no | |
subject_id | string | no | |
limit | string | no | |
cursor | string | no |
runs.orgList
GET /v1/orgs/{org}/runs – Background runs of the organization (org-level and of its projects the caller can read).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RunList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
active | "0" | "1" | "true" | "false" | no | |
kind | "ads.backfill" | "ads.sync_now" | "conversions.upload" | "conversions.retry" | "presets.apply" | "relevance.rescore" | "leads.revenue_import" | "gsc.sync" | "demo.seed" | "reports.test_send" | "experiments.evaluate" | "crm.pull" | "crm.backfill" | "crm.bulk_push" | no | |
subject_type | "project" | "ad_account" | "ad_connection" | "destination" | "conversion" | "preset" | "import" | "property" | "report" | "crm_connection" | "lead" | no | |
subject_id | string | no | |
limit | string | no | |
cursor | string | no |
runs.get
GET /v1/runs/{id} – One background run with live progress and its status text.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Run)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
runs.events
GET /v1/projects/{project}/runs/events – Server-sent events of the project's runs: event: run with the Run as JSON on every change, heartbeat comments every 15 s; closes after 55 s (reconnect with Last-Event-ID).
text/event-stream. On connect the active runs (and runs finished in the last 2 minutes) are sent once, then every change. Each event has id: <run id>:<updated ms>; send it back as Last-Event-ID after a reconnect to skip what you already saw. event: bye announces the planned close after 55 s.
- Auth: secret key or user session ·
analytics:read - Response: 200 event-stream
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
active | "0" | "1" | "true" | "false" | no | |
kind | "ads.backfill" | "ads.sync_now" | "conversions.upload" | "conversions.retry" | "presets.apply" | "relevance.rescore" | "leads.revenue_import" | "gsc.sync" | "demo.seed" | "reports.test_send" | "experiments.evaluate" | "crm.pull" | "crm.backfill" | "crm.bulk_push" | no | |
subject_type | "project" | "ad_account" | "ad_connection" | "destination" | "conversion" | "preset" | "import" | "property" | "report" | "crm_connection" | "lead" | no | |
subject_id | string | no |
runs.start
POST /v1/projects/{project}/runs – Start a background run of the project (Search Console sync, rescoring, demo data) – idempotent per subject.
Starts at once (no cron wait) and answers with the run; follow it with runs.events or runs.get. Scopes depend on the kind: gsc.sync needs project:admin (like searchConsole.sync), relevance.rescore config:write, demo.seed config:write on a demo project, experiments.evaluate config:write. While the same subject has a queued or running run, that run is returned with created: false.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RunStartResult) - Body: application/json (
RunStart)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
runs.orgStart
POST /v1/orgs/{org}/runs – Start a background run of the organization (apply a preset to several projects) – idempotent per subject.
presets.apply needs config:write in the organization and project:admin on every listed project; progress counts projects („3 von 7 Projekten“), the result lists the outcome per project. A second start while the preset has an active run returns that run (created: false).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RunStartResult) - Body: application/json (
RunStart)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
runs.cancel
POST /v1/runs/{id}/cancel – Cancel a queued or running run (the handler stops at its next checkpoint); finished runs answer 409.
- Auth: secret key or user session
- Response: 200 JSON (
Run)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Behavior
| Operation | Endpoint | Auth |
|---|---|---|
behavior.heatmap | GET /v1/projects/{project}/behavior/heatmap | secret key or user session · analytics:read |
behavior.heatmapImage | GET /v1/projects/{project}/behavior/heatmap/image | secret key or user session · analytics:read |
behavior.compare | GET /v1/projects/{project}/behavior/compare | secret key or user session · analytics:read |
behavior.mass | GET /v1/projects/{project}/behavior/mass | secret key or user session · analytics:read |
behavior.board | GET /v1/projects/{project}/behavior/board | secret key or user session · analytics:read |
behavior.elements | GET /v1/projects/{project}/behavior/elements | secret key or user session · analytics:read |
behavior.fields | GET /v1/projects/{project}/behavior/fields | secret key or user session · analytics:read |
behavior.sessions | GET /v1/projects/{project}/behavior/sessions | secret key or user session · analytics:read |
behavior.reconstruct | GET /v1/projects/{project}/behavior/reconstruct/{sessionId} | secret key or user session · analytics:read |
behavior.log | GET /v1/projects/{project}/behavior/log/{sessionId} | secret key or user session · analytics:read |
snapshots.list | GET /v1/projects/{project}/snapshots | secret key or user session · analytics:read |
snapshots.recapture | POST /v1/projects/{project}/snapshots/recapture | secret key or user session · config:write |
snapshots.captureLink | POST /v1/projects/{project}/snapshots/capture-link | secret key or user session · config:write |
snapshots.data | GET /v1/projects/{project}/snapshots/{id}/data | secret key or user session · analytics:read |
snapshots.stageLink | GET /v1/projects/{project}/snapshots/{id}/stage-link | secret key or user session · analytics:read |
snapshots.states | GET /v1/projects/{project}/snapshots/states | secret key or user session · analytics:read |
snapshots.stateCreate | POST /v1/projects/{project}/snapshots/states | secret key or user session · config:write |
snapshots.stateDelete | DELETE /v1/projects/{project}/snapshots/states | secret key or user session · config:write |
snapshots.versions | GET /v1/projects/{project}/snapshots/versions | secret key or user session · analytics:read |
behavior.settings | GET /v1/projects/{project}/settings/behavior | secret key or user session · analytics:read |
behavior.settingsUpdate | PATCH /v1/projects/{project}/settings/behavior | secret key or user session · project:admin |
behavior.deployHookRotate | POST /v1/projects/{project}/behavior/deploy-hook/rotate | secret key or user session · project:admin |
behavior.cmpCheck | POST /v1/projects/{project}/behavior/cmp-check | secret key or user session · project:admin |
behavior.runs | GET /v1/projects/{project}/behavior/runs | secret key or user session · analytics:read |
behavior.run | GET /v1/projects/{project}/behavior/runs/{id} | secret key or user session · analytics:read |
behavior.perfImpact | GET /v1/projects/{project}/behavior/perf-impact | secret key or user session · analytics:read |
recordings.list | GET /v1/projects/{project}/recordings | secret key or user session · analytics:read |
recordings.export | GET /v1/projects/{project}/recordings/export.csv | secret key or user session · analytics:read |
recordings.get | GET /v1/projects/{project}/recordings/{id} | secret key or user session · recordings:read |
recordings.data | GET /v1/projects/{project}/recordings/{id}/data | secret key or user session · recordings:read |
recordings.stageLink | GET /v1/projects/{project}/recordings/{id}/stage-link | secret key or user session · recordings:read |
recordings.asset | GET /v1/projects/{project}/replay-assets/{sha} | secret key or user session · recordings:read |
recordings.save | POST /v1/projects/{project}/recordings/{id}/save | secret key or user session · recordings:read + config:write · X3 App |
recordings.delete | DELETE /v1/projects/{project}/recordings/{id} | secret key or user session · project:admin |
recordings.erase | POST /v1/projects/{project}/recordings/erase | secret key or user session · project:admin · Idempotency-Key |
notes.list | GET /v1/projects/{project}/behavior/notes | secret key or user session · analytics:read |
notes.create | POST /v1/projects/{project}/behavior/notes | secret key or user session · config:write |
notes.update | PATCH /v1/projects/{project}/behavior/notes/{id} | secret key or user session · config:write |
notes.delete | DELETE /v1/projects/{project}/behavior/notes/{id} | secret key or user session · config:write |
waRefs.get | GET /v1/projects/{project}/wa-refs/{code} | secret key or user session · analytics:read |
behavior.orgSettings | GET /v1/orgs/{org}/settings/behavior | secret key or user session |
behavior.orgSettingsUpdate | PATCH /v1/orgs/{org}/settings/behavior | secret key or user session · org:admin |
behavior.setup | GET /v1/projects/{project}/behavior/setup | secret key or user session · analytics:read |
behavior.cmpConfirm | POST /v1/projects/{project}/behavior/cmp-confirm | secret key or user session · project:admin |
behavior.retention | POST /v1/projects/{project}/behavior/retention | secret key or user session · project:admin |
behavior.sessionMedia | GET /v1/projects/{project}/behavior/session-media | secret key or user session · analytics:read |
behavior.patterns | GET /v1/projects/{project}/behavior/patterns | secret key or user session · analytics:read |
behavior.aiCredential | GET /v1/orgs/{org}/ai/credentials | secret key or user session |
behavior.aiCredentialPut | PUT /v1/orgs/{org}/ai/credentials | secret key or user session · org:admin |
behavior.aiCredentialTest | POST /v1/orgs/{org}/ai/credentials/test | secret key or user session · org:admin |
behavior.aiCredentialDelete | DELETE /v1/orgs/{org}/ai/credentials | secret key or user session · org:admin |
behavior.aiStatus | GET /v1/projects/{project}/behavior/ai | secret key or user session · analytics:read |
behavior.aiRun | POST /v1/projects/{project}/behavior/ai/run | secret key or user session · config:write |
behavior.aiSummaries | GET /v1/projects/{project}/behavior/ai/summaries | secret key or user session · analytics:read |
behavior.reportInapp | GET /v1/projects/{project}/behavior/reports/inapp | secret key or user session · analytics:read |
behavior.reportFriction | GET /v1/projects/{project}/behavior/reports/friction | secret key or user session · analytics:read |
behavior.reportChangeImpact | GET /v1/projects/{project}/behavior/reports/change-impact | secret key or user session · analytics:read |
behavior.reportClient | GET /v1/projects/{project}/behavior/reports/client | secret key or user session · analytics:read |
behavior.reportShares | GET /v1/projects/{project}/behavior/reports/shares | secret key or user session · analytics:read |
behavior.reportShareCreate | POST /v1/projects/{project}/behavior/reports/shares | secret key or user session · config:write |
behavior.reportShareRevoke | POST /v1/projects/{project}/behavior/reports/shares/{id}/revoke | secret key or user session · config:write |
behavior.reportSharePage | GET /v1/share/behavior/{token} | public |
behavior.heatmap
GET /v1/projects/{project}/behavior/heatmap – Heatmap of a page: one layer as grid (never single sessions), basis, threshold (kMin), honesty chip, snapshot reference.
Below the project's minimum (capture.kMin, default 5) the layer is empty and meta.threshold.met is false with need. Cached 10 min per filter and effective permissions.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorHeatmap)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | Page of the map, canonical path |
bp | "m" | "t" | "d" | no | Breakpoint m < 768 ≤ t < 1280 ≤ d (default d) |
layer | "clicks" | "scroll" | "attention" | "frust" | "rank" | "moves" | "money" | no | Layer (default clicks); moves needs recordings:read; money needs ads:read for money=cost |
state | string | no | Overlay state (default initial) |
version | string | no | latest (default), all, or a structure hash |
money | "cost" | "value" | no | |
inapp | "0" | "1" | "true" | "false" | no | Only in-app browsers (Instagram/Facebook webviews) |
behavior.heatmapImage
GET /v1/projects/{project}/behavior/heatmap/image – Heatmap of a page as PNG: page image + layer + legend and basis line (export, social formats).
The layer of behavior.heatmap drawn server-side on the page snapshot (crawler raster; a schematic page from the element boxes when there is none), with the X3 logo, legend and basis. Same filters, thresholds and scopes as behavior.heatmap; cells under heatmaps.cellSuppress sessions are left out like in every export. format: page (the whole page, default), square 1080×1080, portrait 1080×1350, story 1080×1920 (the hottest part of the page). Below kMin the image says how many visits are missing.
- Auth: secret key or user session ·
analytics:read - Response: 200 png
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | Page of the map, canonical path |
bp | "m" | "t" | "d" | no | Breakpoint m < 768 ≤ t < 1280 ≤ d (default d) |
layer | "clicks" | "scroll" | "attention" | "frust" | "rank" | "moves" | "money" | no | Layer (default clicks); moves needs recordings:read |
state | string | no | Overlay state (default initial) |
version | string | no | latest (default), all, or a structure hash |
money | "cost" | "value" | no | |
inapp | "0" | "1" | "true" | "false" | no | Only in-app browsers (Instagram/Facebook webviews) |
format | "page" | "square" | "portrait" | "story" | no | page (default), square 1080×1080, portrait 1080×1350, story 1080×1920 |
locale | "de" | "en" | no | Language of the texts in the image (default: project language) |
behavior.compare
GET /v1/projects/{project}/behavior/compare – Two heatmaps (segment vs. segment or version vs. version) plus the per-element difference.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorHeatCompare)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | Page of the map, canonical path |
bp | "m" | "t" | "d" | no | Breakpoint m < 768 ≤ t < 1280 ≤ d (default d) |
layer | "clicks" | "scroll" | "attention" | "frust" | "rank" | "moves" | "money" | no | Layer (default clicks); moves needs recordings:read; money needs ads:read for money=cost |
state | string | no | Overlay state (default initial) |
version | string | no | latest (default), all, or a structure hash |
money | "cost" | "value" | no | |
inapp | "0" | "1" | "true" | "false" | no | Only in-app browsers (Instagram/Facebook webviews) |
version_b | string | no | Structure hash of side b (version comparison) |
b_converted | "0" | "1" | "true" | "false" | no | Side b: converted sessions (a = not converted) when no version_b is given |
behavior.mass
GET /v1/projects/{project}/behavior/mass – Mass replay of one page: time buckets × 100 y-buckets (density, median, survivors, click clusters, exits, targets).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorMass)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | |
bp | "m" | "t" | "d" | no | |
clock | "page" | "session" | no | |
bucket_s | "1" | "2" | "5" | "0.5" | no | |
max_t | string | no | |
cohort | string | no | from:/page – only pageviews that came from that page |
inapp | "0" | "1" | "true" | "false" | no | Only in-app browsers (Instagram/Facebook webviews) |
behavior.board
GET /v1/projects/{project}/behavior/board – Multi-page board on the session clock: top pages as tiles (each a mass grid), +n chooser, transition matrix.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorBoard)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
pages | string | no | Comma-separated pages to show (default: top 8) |
anchor | string | no | Page clock of this page (mass replay): plays start at its views, tiles show where those visitors are at t |
cohort | string | no | With anchor: only views of the anchor page that came from that page |
bp | "m" | "t" | "d" | no | |
bucket_s | "1" | "2" | "5" | no | |
max_t | string | no | |
inapp | "0" | "1" | "true" | "false" | no | Only in-app browsers (Instagram/Facebook webviews) |
behavior.elements
GET /v1/projects/{project}/behavior/elements – Element ranking of a page (clicks, share, conversion rate of clickers, lift with Wilson interval, dead/rage, affected spend).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorElements)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | |
bp | "m" | "t" | "d" | no | |
anchor | string | no | |
sort | string | no | Comma-separated field:dir (max. 3); sortable: label, clicks, share, clickers, clickerCr, lift, dead, rage, spend |
fields | string | no | Comma-separated columns for CSV/MCP output: label, clicks, share, clickers, clickerCr, lift, dead, rage, spend, anchor |
q | string | no | Search: Search element |
f.label | string | no | Element (text): eq | in | contains, e.g. contains:text |
f.clicks | string | no | Clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.share | string | no | Share (number): eq | gte | lte | between, e.g. between:10,60 |
f.clickers | string | no | Clicking visits (number): eq | gte | lte | between, e.g. between:10,60 |
f.clickerCr | string | no | Enquiry rate of clickers (number): eq | gte | lte | between, e.g. between:10,60 |
f.lift | string | no | Lift (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.dead | string | no | Dead clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.rage | string | no | Rage clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.spend | string | no | Spend affected (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.anchor | string | no | Anchor (text): eq | in | contains, e.g. contains:text |
limit | string | no | |
cursor | string | no |
behavior.fields
GET /v1/projects/{project}/behavior/fields – Form field friction (focus, return, abandon, time per field) and copy intent per element of a page – counters only, rows below kMin suppressed.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorFields)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | |
bp | "m" | "t" | "d" | no |
behavior.sessions
GET /v1/projects/{project}/behavior/sessions – Drill-down: the visits behind a cluster (anchor, time window on the page, exit position).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorVisits)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
page | string | yes | |
bp | "m" | "t" | "d" | no | |
anchor | string | no | |
t_from | string | no | |
t_to | string | no | |
exit_at | string | no | exit position bucket 0–99 |
limit | string | no | |
cursor | string | no |
behavior.reconstruct
GET /v1/projects/{project}/behavior/reconstruct/{sessionId} – Recording light: the heat signals of one visit for the reconstruction player (scroll timeline, clicks, sections, events, markers).
Available whenever the visit's scroll and click data exist (they only exist when the capture level allowed them). Health preset: only consented visits (403 preset_locked).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorReconstruction)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessionId | string | yes |
behavior.log
GET /v1/projects/{project}/behavior/log/{sessionId} – Semantic visit log (masked, texts only from the page snapshot).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorVisitLog)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessionId | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
locale | "de" | "en" | no |
snapshots.list
GET /v1/projects/{project}/snapshots – Page snapshots (versions, breakpoints, states) with status and a running recapture.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorSnapshots)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
sort | string | no | Comma-separated field:dir (max. 3); sortable: page, bp, state, status, source, version, capturedAt, pageviews, height |
fields | string | no | Comma-separated columns for CSV/MCP output: page, bp, state, status, source, version, capturedAt, pageviews, height |
q | string | no | Search: Search page or state |
f.page | string | no | Page (text): eq | in | contains, e.g. contains:text |
f.bp | string | no | Breakpoint (enum): eq | in, e.g. in:m,t |
f.state | string | no | State (text): eq | in | contains, e.g. contains:text |
f.status | string | no | Status (enum): eq | in, e.g. in:ok,degraded |
f.source | string | no | Source (enum): eq | in, e.g. in:crawler,owner |
f.version | string | no | Version (text): eq | in | contains, e.g. contains:text |
f.capturedAt | string | no | Captured (date): before | after | between | isEmpty, e.g. after:2026-10-01 |
f.pageviews | string | no | Pageviews of this version (number): eq | gte | lte | between, e.g. between:10,60 |
f.height | string | no | Height (number): eq | gte | lte | between, e.g. between:10,60 |
limit | string | no | |
cursor | string | no |
snapshots.recapture
POST /v1/projects/{project}/snapshots/recapture – Re-capture a page now (starts immediately, returns the run; idempotent while a run for the page is active).
- Auth: secret key or user session ·
config:write - Response: 202 JSON (
BehaviorRun) - Body: application/json (
BehaviorRecapture)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
snapshots.captureLink
POST /v1/projects/{project}/snapshots/capture-link – One-time owner-capture link (10 min) to record a page state (menu open, quiz step) from the owner's browser.
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
BehaviorCaptureLink) - Body: application/json (
BehaviorCaptureLinkBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
snapshots.data
GET /v1/projects/{project}/snapshots/{id}/data – 302 to a 60 s signed URL of the snapshot (owner captures are audited).
- Auth: secret key or user session ·
analytics:read - Response: 200, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
thumb | "0" | "1" | "true" | "false" | no |
snapshots.stageLink
GET /v1/projects/{project}/snapshots/{id}/stage-link – Signed stage links of a page snapshot as JSON (the X3 App's heatmap and recording light): document, 60 s data URL, capture viewport and asset access.
Same links as the 302 of snapshots.data plus the stage document (host=native: a 60 s top-level WebView document bound to the native host in its signature; host=frame: frame.html). Send load-snapshot with data, viewport and assets, then map.scan and heatmap.paint (native host). Owner captures are audited; page images from recordings need recordings:read.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
host | "frame" | "native" | yes | native = X3 App WebView, frame = dashboard iframe |
snapshots.states
GET /v1/projects/{project}/snapshots/states – Overlay states of the project's pages.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | no |
snapshots.stateCreate
POST /v1/projects/{project}/snapshots/states – Create or rename an overlay state.
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
BehaviorSnapshotState) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | yes | |
state | string | yes | |
triggerAnchor | string | null | no |
snapshots.stateDelete
DELETE /v1/projects/{project}/snapshots/states – Delete an overlay state and its snapshots.
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | yes | |
state | string | yes |
snapshots.versions
GET /v1/projects/{project}/snapshots/versions – Page versions (structure hashes) with first/last seen and deploy markers.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorPageVersions)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | no | |
bp | "m" | "t" | "d" | no |
behavior.settings
GET /v1/projects/{project}/settings/behavior – Capture & consent settings with per-level risk, allowed maximum, generated privacy texts and change log.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorSettingsView)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.settingsUpdate
PATCH /v1/projects/{project}/settings/behavior – Change capture settings: red levels need an acknowledgement (ack), the version guards concurrent edits (409).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
BehaviorSettingsView) - Body: application/json (
BehaviorSettingsPatch)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.deployHookRotate
POST /v1/projects/{project}/behavior/deploy-hook/rotate – New secret for the deploy webhook (HMAC-SHA256 signed deliveries); webhooks with the old secret stop at once.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
BehaviorDeployHook)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.cmpCheck
POST /v1/projects/{project}/behavior/cmp-check – Check the consent banner of the site: detected CMP and whether a purpose „Sitzungsaufzeichnung“ exists (background run).
- Auth: secret key or user session ·
project:admin - Response: 202 JSON (
BehaviorRun) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
url | string | no |
behavior.runs
GET /v1/projects/{project}/behavior/runs – Background runs (recapture, erase, CMP check …) of a subject, newest first.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorRuns)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
subject | string | no | |
active | "0" | "1" | "true" | "false" | no |
behavior.run
GET /v1/projects/{project}/behavior/runs/{id} – One background run with progress.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorRun)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
behavior.perfImpact
GET /v1/projects/{project}/behavior/perf-impact – RUM holdout: INP/LCP/CLS p75 of recorded vs. not recorded visits.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorPerfImpact)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no |
recordings.list
GET /v1/projects/{project}/recordings – Visits with a recording or a reconstruction (playlists, sortable/filterable columns, keyset paging).
Rows with kind=recording need recordings:read (removed for callers without it); reconstructions need analytics:read.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorRecordings)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
playlist | "lost_leads" | "frustrated" | "converted" | "whatsapp_no_lead" | "quiz_drop" | "this_ad" | no | |
ad | string | no | playlist this_ad: ad id |
sort | string | no | Comma-separated field:dir (max. 3); sortable: startedAt, kind, entryPage, durationS, pages, channel, campaign, ad, device, country, interest, tier, friction, result, rage, dead, keepReason, status, consent, bytes |
fields | string | no | Comma-separated columns for CSV/MCP output: startedAt, kind, entryPage, durationS, pages, channel, campaign, ad, device, country, interest, tier, friction, result, rage, dead, keepReason, status, consent, bytes |
q | string | no | Search: Search entry page, campaign or ad |
f.startedAt | string | no | Start (date): before | after | between, e.g. after:2026-10-01 |
f.kind | string | no | Kind (enum): eq | in, e.g. in:recording,reconstruction |
f.entryPage | string | no | Entry page (text): eq | in | contains, e.g. contains:text |
f.durationS | string | no | Duration (number): eq | gte | lte | between, e.g. between:10,60 |
f.pages | string | no | Pages (number): eq | gte | lte | between, e.g. between:10,60 |
f.channel | string | no | Channel (enum): eq | in, e.g. in:google_ads,google_organic |
f.campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.ad | string | no | Ad (text): eq | in | contains | isEmpty, e.g. contains:text |
f.device | string | no | Device (enum): eq | in, e.g. in:m,t |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.interest | string | no | Interest (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.tier | string | no | Tier (enum): eq | in | isEmpty, e.g. in:cold,interested |
f.friction | string | no | Friction (number): eq | gte | lte | between, e.g. between:10,60 |
f.result | string | no | Result (enum): eq | in, e.g. in:lead,converted |
f.rage | string | no | Rage clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.dead | string | no | Dead clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.keepReason | string | no | Kept because (enum): eq | in | isEmpty, e.g. in:converted,lead |
f.status | string | no | Status (enum): eq | in, e.g. in:live,pending_drop |
f.consent | string | no | Basis (enum): eq | in, e.g. in:g,p |
f.bytes | string | no | Size (number): eq | gte | lte | between, e.g. between:10,60 |
limit | string | no | |
cursor | string | no |
recordings.export
GET /v1/projects/{project}/recordings/export.csv – CSV of a recordings view: same playlist, filter, sort, column filters and search as recordings.list; fields picks the columns (≤ 50,000 rows, streamed).
Rows with kind=recording need recordings:read (callers without it get the reconstructions only, like the list).
- Auth: secret key or user session ·
analytics:read - Response: 200 csv
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
playlist | "lost_leads" | "frustrated" | "converted" | "whatsapp_no_lead" | "quiz_drop" | "this_ad" | no | |
ad | string | no | playlist this_ad: ad id |
sort | string | no | Comma-separated field:dir (max. 3); sortable: startedAt, kind, entryPage, durationS, pages, channel, campaign, ad, device, country, interest, tier, friction, result, rage, dead, keepReason, status, consent, bytes |
fields | string | no | Comma-separated columns for CSV/MCP output: startedAt, kind, entryPage, durationS, pages, channel, campaign, ad, device, country, interest, tier, friction, result, rage, dead, keepReason, status, consent, bytes |
q | string | no | Search: Search entry page, campaign or ad |
f.startedAt | string | no | Start (date): before | after | between, e.g. after:2026-10-01 |
f.kind | string | no | Kind (enum): eq | in, e.g. in:recording,reconstruction |
f.entryPage | string | no | Entry page (text): eq | in | contains, e.g. contains:text |
f.durationS | string | no | Duration (number): eq | gte | lte | between, e.g. between:10,60 |
f.pages | string | no | Pages (number): eq | gte | lte | between, e.g. between:10,60 |
f.channel | string | no | Channel (enum): eq | in, e.g. in:google_ads,google_organic |
f.campaign | string | no | Campaign (text): eq | in | contains | isEmpty, e.g. contains:text |
f.ad | string | no | Ad (text): eq | in | contains | isEmpty, e.g. contains:text |
f.device | string | no | Device (enum): eq | in, e.g. in:m,t |
f.country | string | no | Country (text): eq | in | contains | isEmpty, e.g. contains:text |
f.interest | string | no | Interest (number): eq | gte | lte | between | isEmpty, e.g. between:10,60 |
f.tier | string | no | Tier (enum): eq | in | isEmpty, e.g. in:cold,interested |
f.friction | string | no | Friction (number): eq | gte | lte | between, e.g. between:10,60 |
f.result | string | no | Result (enum): eq | in, e.g. in:lead,converted |
f.rage | string | no | Rage clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.dead | string | no | Dead clicks (number): eq | gte | lte | between, e.g. between:10,60 |
f.keepReason | string | no | Kept because (enum): eq | in | isEmpty, e.g. in:converted,lead |
f.status | string | no | Status (enum): eq | in, e.g. in:live,pending_drop |
f.consent | string | no | Basis (enum): eq | in, e.g. in:g,p |
f.bytes | string | no | Size (number): eq | gte | lte | between, e.g. between:10,60 |
locale | "de" | "en" | no | language of the header row and the enum labels |
recordings.get
GET /v1/projects/{project}/recordings/{id} – One recording: meta, markers, consent proof, keep reason.
- Auth: secret key or user session ·
recordings:read - Response: 200 JSON (
BehaviorRecording)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
recordings.data
GET /v1/projects/{project}/recordings/{id}/data – 302 to a 60 s signed URL of the recording (every call is audited as recording.view); health preset streams decrypted.
- Auth: secret key or user session ·
recordings:read - Response: 200, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
recordings.stageLink
GET /v1/projects/{project}/recordings/{id}/stage-link – Signed stage links of a recording as JSON (the X3 App's player): the document to load, the 60 s data URL and the view's asset access; audited as recording.view like recordings.data.
host=native: url is a 60 s document on the stage origin for a top-level WebView (react-native-webview); the stage talks through window.ReactNativeWebView.postMessage and listens on window.__x3StageReceive. host=frame: url is the stage's frame.html for an iframe of the dashboard origin. The host is bound into the link's signature. Send replay.load with data and assets; when the stage reports expired assets, call this route again. Not available in support views.
- Auth: secret key or user session ·
recordings:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
host | "frame" | "native" | yes | native = X3 App WebView, frame = dashboard iframe |
recordings.asset
GET /v1/projects/{project}/replay-assets/{sha} – Deduplicated CSS of recordings (immutable).
- Auth: secret key or user session ·
recordings:read - Response: 200 text
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sha | string | yes |
recordings.save
POST /v1/projects/{project}/recordings/{id}/save – Keep a recording as a clip (≤ 90 days, with reason).
- Auth: secret key or user session ·
recordings:read+config:write· X3 App - Response: 200 JSON (
BehaviorRecording) - Body: application/json (
BehaviorRecordingSave)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
recordings.delete
DELETE /v1/projects/{project}/recordings/{id} – Delete one recording (blobs, markers, clip; receipt in the audit log).
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
recordings.erase
POST /v1/projects/{project}/recordings/erase – Erase behavior data of sessions, a visitor, a lead or a page and range (recordings, clips, facts, summaries) – background run with receipt.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 202 JSON (
BehaviorEraseResult) - Body: application/json (
BehaviorErase)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
notes.list
GET /v1/projects/{project}/behavior/notes – Team notes on page elements.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorElementNotes)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | no |
notes.create
POST /v1/projects/{project}/behavior/notes – Add a note to an element.
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
BehaviorElementNote) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | yes | |
anchor | string | yes | |
body | string | yes |
notes.update
PATCH /v1/projects/{project}/behavior/notes/{id} – Edit a note.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
BehaviorElementNote) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
body | string | yes |
notes.delete
DELETE /v1/projects/{project}/behavior/notes/{id} – Delete a note.
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
waRefs.get
GET /v1/projects/{project}/wa-refs/{code} – WhatsApp reference code (Ref K7Q2) → visit it came from.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorWaRef)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
code | string | yes |
behavior.orgSettings
GET /v1/orgs/{org}/settings/behavior – Organization switch „Einzelbesuche an KI-Apps geben“.
- Auth: secret key or user session
- Response: 200 JSON (
OrgBehaviorSettingsView)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
behavior.orgSettingsUpdate
PATCH /v1/orgs/{org}/settings/behavior – Change the organization switch (org:admin, audited).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
OrgBehaviorSettingsView) - Body: application/json (
OrgBehaviorSettings)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
behavior.setup
GET /v1/projects/{project}/behavior/setup – Recording setup diagnostics: traffic and consent of the last days, first recording, SDK/proxy version, caps, banner check.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorSetup)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no |
behavior.cmpConfirm
POST /v1/projects/{project}/behavior/cmp-confirm – Confirm that the banner asks for session recording (Cookiebot: the category text read by the check; manual when the check was blocked) – audited.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
BehaviorCmpConfirmation) - Body: application/json (
BehaviorCmpConfirm)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.retention
POST /v1/projects/{project}/behavior/retention – Change the storage period of recordings (7/30/90 days) and apply it to kept recordings in a background run.
- Auth: secret key or user session ·
project:admin - Response: 202 JSON (
BehaviorRetentionChangeResult) - Body: application/json (
BehaviorRetentionChange)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.sessionMedia
GET /v1/projects/{project}/behavior/session-media – Recording or reconstruction per visit (journey chapters of the lead profile); recordings only with recordings:read and „Mit Leads verknüpfen“.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorSessionMedia)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
ids | string | yes | Comma-separated visit ids (≤ 50) |
behavior.patterns
GET /v1/projects/{project}/behavior/patterns – Deterministic patterns of a playlist („7 von 9 steigen bei Frage 4 aus“), only from kMin visits.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorPatterns)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
playlist | "lost_leads" | "frustrated" | "converted" | "whatsapp_no_lead" | "quiz_drop" | "this_ad" | no | |
ad | string | no |
behavior.aiCredential
GET /v1/orgs/{org}/ai/credentials – The organization's Anthropic key for server summaries: masked hint, status, model, monthly token cap and usage.
- Auth: secret key or user session
- Response: 200 JSON (
BehaviorAiCredential)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
behavior.aiCredentialPut
PUT /v1/orgs/{org}/ai/credentials – Store or change the Anthropic key (validated with a test call), model and monthly token cap (org:admin, audited).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
BehaviorAiCredential) - Body: application/json (
BehaviorAiCredentialPut)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
behavior.aiCredentialTest
POST /v1/orgs/{org}/ai/credentials/test – Check the stored key again with a test call (org:admin).
- Auth: secret key or user session ·
org:admin - Response: 200 JSON (
BehaviorAiCredential)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
behavior.aiCredentialDelete
DELETE /v1/orgs/{org}/ai/credentials – Remove the Anthropic key; server summaries stop (org:admin, audited).
- Auth: secret key or user session ·
org:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
behavior.aiStatus
GET /v1/projects/{project}/behavior/ai – Server summaries of the project: switch, run state (queued/running/failed with reason and retry), pending visits, token usage.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorAiStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.aiRun
POST /v1/projects/{project}/behavior/ai/run – Summarize waiting visits now instead of at the next 10-minute tick (idempotent while a run is active).
- Auth: secret key or user session ·
config:write - Response: 202 JSON (
BehaviorAiStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.aiSummaries
GET /v1/projects/{project}/behavior/ai/summaries – Stored summaries („Satz zum Besuch“) of up to 50 visits.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorAiSummaries)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
session_ids | string | yes | Comma-separated visit ids (≤ 50) |
behavior.reportInapp
GET /v1/projects/{project}/behavior/reports/inapp – In-app browser report per ad: frust, dead clicks, fold, stuck WhatsApp/form paths in Instagram/Facebook webviews vs. normal browsers, with cost.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorInAppReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
ad | string | no | Only this ad (platform ad id) |
behavior.reportFriction
GET /v1/projects/{project}/behavior/reports/friction – Friction cost: ad spend on visits with rage/dead clicks, U-turns or abandoned forms, leads counted as people.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorFrictionCost)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
behavior.reportChangeImpact
GET /v1/projects/{project}/behavior/reports/change-impact – Effect of page changes (new structure versions and deploy markers): CTA clicks and leads before vs. after.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorChangeImpact)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
page | string | yes | |
days | string | no | Window before/after each change (default 14, max 28) |
behavior.reportClient
GET /v1/projects/{project}/behavior/reports/client – Monthly client report: page map aggregates and money map, no single visits, cells below cellSuppress hidden.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorClientReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
month | string | no | YYYY-MM (default last month) |
behavior.reportShares
GET /v1/projects/{project}/behavior/reports/shares – Share links of the monthly client report.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BehaviorReportShares)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.reportShareCreate
POST /v1/projects/{project}/behavior/reports/shares – Create a share link of a month's client report (aggregates only; the link is shown once).
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
BehaviorReportShare) - Body: application/json (
BehaviorReportShareCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
behavior.reportShareRevoke
POST /v1/projects/{project}/behavior/reports/shares/{id}/revoke – Revoke a share link (the row stays with revokedAt for the audit trail).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
BehaviorReportShare)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
behavior.reportSharePage
GET /v1/share/behavior/{token} – Shared client report page (HTML, aggregates only, noindex).
- Auth: public
- Response: 200 html
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Live
| Operation | Endpoint | Auth |
|---|---|---|
live.token | POST /v1/projects/{project}/live/token | secret key or user session · analytics:read · X3 App |
live.stream | GET /v1/live/{projectId}/stream | public |
live.count | GET /v1/projects/{project}/live/count | secret key or user session · analytics:read |
live.geo | GET /v1/projects/{project}/live/geo | secret key or user session · analytics:read |
live.token
POST /v1/projects/{project}/live/token – 60 s token for the live stream (sent as Authorization: Bearer, never in the URL).
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 200 JSON (
LiveToken) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
mode | "grouped" | "individual" | no | |
window | "now" | "30m" | no |
live.stream
GET /v1/live/{projectId}/stream – Live board as text/event-stream (events snapshot, delta, ping, bye); read with fetch() + Authorization: Bearer <live token from POST …/live/token> – the token, not a session, authorizes; resumes with Last-Event-ID.
- Auth: public
- Response: 200 text
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | yes |
live.count
GET /v1/projects/{project}/live/count – Visitors live right now (seen ≤ 90 s, not left), cached 15 s.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LiveCount)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
live.geo
GET /v1/projects/{project}/live/geo – Where current sessions come from: coarsened points (city ≥ kMin or PII flag, else region, else country).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LiveGeo)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
window | "now" | "30m" | no |
Experiments
| Operation | Endpoint | Auth |
|---|---|---|
experiments.list | GET /v1/projects/{project}/experiments | secret key or user session · analytics:read |
experiments.create | POST /v1/projects/{project}/experiments | secret key or user session · config:write · Idempotency-Key |
experiments.plan | POST /v1/projects/{project}/experiments/plan | secret key or user session · analytics:read |
experiments.get | GET /v1/projects/{project}/experiments/{experiment} | secret key or user session · analytics:read |
experiments.update | PATCH /v1/projects/{project}/experiments/{experiment} | secret key or user session · config:write |
experiments.planFor | POST /v1/projects/{project}/experiments/{experiment}/plan | secret key or user session · analytics:read |
experiments.schedule | POST /v1/projects/{project}/experiments/{experiment}/schedule | secret key or user session · config:write · Idempotency-Key |
experiments.start | POST /v1/projects/{project}/experiments/{experiment}/start | secret key or user session · config:write · Idempotency-Key |
experiments.pause | POST /v1/projects/{project}/experiments/{experiment}/pause | secret key or user session · config:write · X3 App · Idempotency-Key |
experiments.resume | POST /v1/projects/{project}/experiments/{experiment}/resume | secret key or user session · config:write · X3 App · Idempotency-Key |
experiments.stop | POST /v1/projects/{project}/experiments/{experiment}/stop | secret key or user session · config:write · X3 App · Idempotency-Key |
experiments.results | GET /v1/projects/{project}/experiments/{experiment}/results | secret key or user session · analytics:read |
experiments.funnel | GET /v1/projects/{project}/experiments/{experiment}/funnel | secret key or user session · analytics:read |
experiments.decide | POST /v1/projects/{project}/experiments/{experiment}/decide | secret key or user session · project:admin · Idempotency-Key |
experiments.rollout | POST /v1/projects/{project}/experiments/{experiment}/rollout | secret key or user session · config:write · X3 App · Idempotency-Key |
experiments.revert | POST /v1/projects/{project}/experiments/{experiment}/revert | secret key or user session · config:write · X3 App · Idempotency-Key |
experiments.extend | POST /v1/projects/{project}/experiments/{experiment}/extend | secret key or user session · project:admin · Idempotency-Key |
experiments.cleanup | GET /v1/projects/{project}/experiments/{experiment}/cleanup | secret key or user session · analytics:read |
experiments.qaLinks | POST /v1/projects/{project}/experiments/{experiment}/qa-links | secret key or user session · config:write |
experiments.events | GET /v1/projects/{project}/experiments/{experiment}/events | secret key or user session · analytics:read |
experiments.duplicate | POST /v1/projects/{project}/experiments/{experiment}/duplicate | secret key or user session · config:write · Idempotency-Key |
experiments.archive | POST /v1/projects/{project}/experiments/{experiment}/archive | secret key or user session · config:write · Idempotency-Key |
experiments.delete | DELETE /v1/projects/{project}/experiments/{experiment} | secret key or user session · config:write |
experiments.assign | GET /v1/x/{pk} | publishable key (pk_3x_…) |
experiments.assignServer | POST /v1/x/{pk}/assign | publishable key (pk_3x_…) |
experiments.list
GET /v1/projects/{project}/experiments – Experiments of the project (active first); client-mode DataTable rows, plus the project's experiment quota (Free 2 in total, Growth 2 at the same time, Pro unlimited; null while billing is off).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | string | no | comma-separated statuses |
area | string | no | |
include_archived | "0" | "1" | "true" | "false" | no |
experiments.create
POST /v1/projects/{project}/experiments – Create a draft (validates metrics against the project mode, proxy rules, key uniqueness, params size and public-field lint).
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 201 JSON (
Experiment) - Body: application/json (
ExperimentCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiments.plan
POST /v1/projects/{project}/experiments/plan – Sample-size planner for an unsaved definition (baseline from the last 28 project days).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ExperimentPlan) - Body: application/json (
ExperimentPlanRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiments.get
GET /v1/projects/{project}/experiments/{experiment} – Definition, status, code status (calls per host) and prereg hash.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Experiment)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.update
PATCH /v1/projects/{project}/experiments/{experiment} – Edit a draft; after the start only name and notes (409 experiment_conflict on an outdated revision).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.planFor
POST /v1/projects/{project}/experiments/{experiment}/plan – Planner for a saved experiment (live baseline).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ExperimentPlan)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.schedule
POST /v1/projects/{project}/experiments/{experiment}/schedule – Freeze the pre-registration and publish the flag as scheduled (returns control, records code calls).
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 200 JSON (
Experiment)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.start
POST /v1/projects/{project}/experiments/{experiment}/start – Start now or at a time – needs code-live telemetry and a QA exposure per arm in the last 7 days unless an admin overrides; refused with plan_limit (metric experimentsPerProject) beyond the plan's experiment quota.
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentStart)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.pause
POST /v1/projects/{project}/experiments/{experiment}/pause – Pause (everyone sees control, no exposures; earlier units keep counting).
- Auth: secret key or user session ·
config:write· X3 App ·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentPause)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.resume
POST /v1/projects/{project}/experiments/{experiment}/resume – Resume a paused experiment (plan_limit when the other running experiments already fill a Growth quota).
- Auth: secret key or user session ·
config:write· X3 App ·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentPause)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.stop
POST /v1/projects/{project}/experiments/{experiment}/stop – Stop with a reason (control served); while running this is an early manual action, labelled as such.
- Auth: secret key or user session ·
config:write· X3 App ·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentReason)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.results
GET /v1/projects/{project}/experiments/{experiment}/results – Live or final results: per-arm counts with always-valid intervals; P(best), lift and loss only after the decision.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ExperimentResults)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.funnel
GET /v1/projects/{project}/experiments/{experiment}/funnel – Funnel by arm: reached step k / exposed units (arm-only steps show null for other arms).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ExperimentFunnel)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
funnel | string | yes |
experiments.decide
POST /v1/projects/{project}/experiments/{experiment}/decide – Manual conclusion with arm and reason (outcome manual; early when running) – project admins only.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentDecide)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.rollout
POST /v1/projects/{project}/experiments/{experiment}/rollout – Apply the decided arm (another arm than the rule's needs project:admin).
- Auth: secret key or user session ·
config:write· X3 App ·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentRollout)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.revert
POST /v1/projects/{project}/experiments/{experiment}/revert – Serve the control to everyone again after a rollout (safe direction, audited, admins notified).
- Auth: secret key or user session ·
config:write· X3 App ·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentReason)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.extend
POST /v1/projects/{project}/experiments/{experiment}/extend – Manual end-date extension while running – once, admin, raises the final threshold to 0.975.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 200 JSON (
Experiment) - Body: application/json (
ExperimentExtend)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.cleanup
GET /v1/projects/{project}/experiments/{experiment}/cleanup – Cleanup checklist: losing arms, grep anchors, arm-only events, code calls per host, resolution condition.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
ExperimentCleanup)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.qaLinks
POST /v1/projects/{project}/experiments/{experiment}/qa-links – Signed QA links per arm (7 days, test traffic) – never commit them.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
ExperimentQaLinks) - Body: application/json (
ExperimentQaLinksRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.events
GET /v1/projects/{project}/experiments/{experiment}/events – History: who did what and when (incl. Claude via MCP and X3 itself).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.duplicate
POST /v1/projects/{project}/experiments/{experiment}/duplicate – Duplicate as a new version: a new draft with the same hypothesis, arms, metrics, targeting and rule under a new key – the original keeps its pre-registration and results.
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 201 JSON (
Experiment) - Body: application/json (
ExperimentDuplicate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.archive
POST /v1/projects/{project}/experiments/{experiment}/archive – Archive (read-only; the key stays reserved).
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 200 JSON (
Experiment)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.delete
DELETE /v1/projects/{project}/experiments/{experiment} – Delete a draft that never had exposures.
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
experiment | string | yes | experiment id or flag key |
experiments.assign
GET /v1/x/{pk} – Assignments of this visitor for running experiments (cookieless day unit or consented visitor id) – private, no-store.
Raw route. Query k = experiment keys (comma-separated, optional), h host, p path, l lang, t signed QA token, cv the caller's experiments revision, utm_source/utm_medium/utm_campaign and click-id presence flags (gclid=1 …), rh referrer host – for channel targeting only. Answers { rev, a: { key: { arm, u, r, p } }, until }; never hashes or units. Bot user agents get {}.
- Auth: publishable key (
pk_3x_…) - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
experiments.assignServer
POST /v1/x/{pk}/assign – Server-side assignment (Next helper, server SDK) – proxy key in x-3x-proxy-key, visitor IP/UA in the body.
- Auth: publishable key (
pk_3x_…) - Response: 200 JSON
- Body: application/json (
ExperimentAssignRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
Billing
| Operation | Endpoint | Auth |
|---|---|---|
billing.usage | GET /v1/orgs/{org}/billing/usage | secret key or user session · analytics:read |
featureRequests.create | POST /v1/orgs/{org}/feature-requests | secret key or user session · X3 App |
billing.usage
GET /v1/orgs/{org}/billing/usage – Usage of the current window per metric and project, forecast, discarded pageviews and the last windows.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BillingUsage)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
featureRequests.create
POST /v1/orgs/{org}/feature-requests – Ask the organization's admins to enable a locked feature (or join its waitlist).
- Auth: secret key or user session · X3 App
- Response: 200 JSON (
FeatureRequestResult) - Body: application/json (
FeatureRequestBody)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
CRM
| Operation | Endpoint | Auth |
|---|---|---|
crm.providers | GET /v1/projects/{project}/crm/providers | secret key or user session · crm:read |
crm.status | GET /v1/projects/{project}/crm/status | secret key or user session · crm:read |
crm.connections.list | GET /v1/projects/{project}/crm-connections | secret key or user session · crm:read |
crm.connections.create | POST /v1/projects/{project}/crm-connections | secret key or user session · crm:write + leads:read |
crm.connections.complete | POST /v1/projects/{project}/crm-connections/{id}/complete | secret key or user session · crm:write + leads:read · Idempotency-Key |
crm.connections.update | PATCH /v1/projects/{project}/crm-connections/{id} | secret key or user session · crm:write |
crm.connections.delete | DELETE /v1/projects/{project}/crm-connections/{id} | secret key or user session · crm:write |
crm.connections.properties | GET /v1/projects/{project}/crm-connections/{id}/properties | secret key or user session · crm:read |
crm.connections.pipelines | GET /v1/projects/{project}/crm-connections/{id}/pipelines | secret key or user session · crm:read |
crm.mappings.get | GET /v1/projects/{project}/crm-connections/{id}/mappings | secret key or user session · crm:read |
crm.mappings.update | PUT /v1/projects/{project}/crm-connections/{id}/mappings | secret key or user session · crm:write + leads:read |
crm.settings.get | GET /v1/projects/{project}/crm/settings | secret key or user session · crm:read |
crm.settings.update | PUT /v1/projects/{project}/crm/settings | secret key or user session · crm:write |
crm.rules.list | GET /v1/projects/{project}/crm-routing-rules | secret key or user session · crm:read |
crm.rules.update | PUT /v1/projects/{project}/crm-routing-rules | secret key or user session · crm:write |
crm.rules.test | POST /v1/projects/{project}/crm-routing-rules/test | secret key or user session · crm:read |
crm.sync.run | POST /v1/projects/{project}/crm/sync | secret key or user session · crm:write · Idempotency-Key |
crm.push.bulk | POST /v1/projects/{project}/crm/push | secret key or user session · crm:write + leads:read · Idempotency-Key |
crm.pushJobs.list | GET /v1/projects/{project}/crm/push-jobs | secret key or user session · crm:read |
crm.pushJobs.retry | POST /v1/projects/{project}/crm/push-jobs/{id}/retry | secret key or user session · crm:write · Idempotency-Key |
crm.pushJobs.release | POST /v1/projects/{project}/crm/push-jobs/{id}/release | secret key or user session · crm:write · Idempotency-Key |
crm.reviews.list | GET /v1/projects/{project}/crm/reviews | secret key or user session · crm:read |
crm.reviews.resolve | POST /v1/projects/{project}/crm/reviews/{id}/resolve | secret key or user session · crm:write · Idempotency-Key |
crm.search | GET /v1/projects/{project}/crm/search | secret key or user session · crm:read + leads:read |
crm.lead.get | GET /v1/projects/{project}/leads/{id}/crm | secret key or user session · crm:read |
crm.lead.push | POST /v1/projects/{project}/leads/{id}/crm | secret key or user session · crm:write + leads:write · Idempotency-Key |
crm.lead.salesImport | POST /v1/projects/{project}/leads/{id}/crm/sales | secret key or user session · crm:write + leads:read · Idempotency-Key |
crm.lead.link | POST /v1/projects/{project}/leads/{id}/crm/link | secret key or user session · crm:write · Idempotency-Key |
crm.lead.unlink | POST /v1/projects/{project}/leads/{id}/crm/unlink | secret key or user session · crm:write |
crm.providers
GET /v1/projects/{project}/crm/providers – CRMs X3 can connect, and whether each is configured on this deployment (tiles „Bald verfügbar“ otherwise).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.status
GET /v1/projects/{project}/crm/status – Connections with counts and the latest run, queue counts, CRM revenue and the project's CRM settings.
- Auth: secret key or user session ·
crm:read - Response: 200 JSON (
CrmStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.connections.list
GET /v1/projects/{project}/crm-connections – CRM connections of the project (never ids as names: „verbunden von <Name> am <Datum>“).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.connections.create
POST /v1/projects/{project}/crm-connections – Start a connection: Composio-hosted OAuth or API-key page (10 min link); 503 not_configured without an auth config.
- Auth: secret key or user session ·
crm:write+leads:read - Response: 201 JSON (
CrmConnectionStart) - Body: application/json (
CrmConnectionCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.connections.complete
POST /v1/projects/{project}/crm-connections/{id}/complete – Finish the hosted connect callback (nonce + connected account verified), describe the account and start the first sync.
- Auth: secret key or user session ·
crm:write+leads:read·Idempotency-Key - Response: 200 JSON (
CrmConnection) - Body: application/json (
CrmConnectionComplete)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.connections.update
PATCH /v1/projects/{project}/crm-connections/{id} – Change alias, push/pull settings or pause a connection.
- Auth: secret key or user session ·
crm:write - Response: 200 JSON (
CrmConnection) - Body: application/json (
CrmConnectionUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.connections.delete
DELETE /v1/projects/{project}/crm-connections/{id} – Disconnect (revoked at Composio); keep_links=true keeps the links as history, otherwise they are removed. CRM records are never deleted.
- Auth: secret key or user session ·
crm:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
keep_links | "true" | "false" | no |
crm.connections.properties
GET /v1/projects/{project}/crm-connections/{id}/properties – Person properties of the CRM (field-mapping dropdowns).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.connections.pipelines
GET /v1/projects/{project}/crm-connections/{id}/pipelines – Deal pipelines and stages (won-stage mapping).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.mappings.get
GET /v1/projects/{project}/crm-connections/{id}/mappings – Field mapping of a connection (X3 field → off / own property / existing property / note only).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON (
CrmMappings)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.mappings.update
PUT /v1/projects/{project}/crm-connections/{id}/mappings – Save the field mapping; managed always means X3's own x3_* property, existing targets are checked against the CRM's property metadata (type, options, read-only; standard fields with a value conversion). Managed properties are created in the CRM on the next push (quota respected).
- Auth: secret key or user session ·
crm:write+leads:read - Response: 200 JSON (
CrmMappings) - Body: application/json (
CrmMappingsUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.settings.get
GET /v1/projects/{project}/crm/settings – Project CRM settings: closing reports, hold window, browser capture, block list.
- Auth: secret key or user session ·
crm:read - Response: 200 JSON (
CrmProjectSettings)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.settings.update
PUT /v1/projects/{project}/crm/settings – Change the project CRM settings (audited).
- Auth: secret key or user session ·
crm:write - Response: 200 JSON (
CrmProjectSettings) - Body: application/json (
CrmProjectSettingsUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.rules.list
GET /v1/projects/{project}/crm-routing-rules – Routing rules in priority order (no rule = every connected CRM).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.rules.update
PUT /v1/projects/{project}/crm-routing-rules – Replace the routing rules (order = priority).
- Auth: secret key or user session ·
crm:write - Response: 200 JSON
- Body: application/json (
CrmRoutingRulesUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.rules.test
POST /v1/projects/{project}/crm-routing-rules/test – Where a lead of this form/page/channel would go.
- Auth: secret key or user session ·
crm:read - Response: 200 JSON (
CrmRoutingResult) - Body: application/json (
CrmRoutingTest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.sync.run
POST /v1/projects/{project}/crm/sync – Pull deals and meetings now, or match existing leads (backfill, link-only by default) – one background run per connection (K), idempotent while running.
- Auth: secret key or user session ·
crm:write·Idempotency-Key - Response: 202 JSON (
CrmRunsResult) - Body: application/json (
CrmSyncRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.push.bulk
POST /v1/projects/{project}/crm/push – Push several leads (background run with progress; linkOnly = search and link, never create).
- Auth: secret key or user session ·
crm:write+leads:read·Idempotency-Key - Response: 202 JSON (
CrmRunsResult) - Body: application/json (
CrmBulkPush)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
crm.pushJobs.list
GET /v1/projects/{project}/crm/push-jobs – Push queue, newest 500 of the filter (client-mode DataTable).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
status | string | no | comma-separated job statuses |
connection | string | no | |
lead | string | no |
crm.pushJobs.retry
POST /v1/projects/{project}/crm/push-jobs/{id}/retry – Retry a failed or skipped job now.
- Auth: secret key or user session ·
crm:write·Idempotency-Key - Response: 200 JSON (
CrmPushJob)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.pushJobs.release
POST /v1/projects/{project}/crm/push-jobs/{id}/release – Release a held (suspicious) lead now.
- Auth: secret key or user session ·
crm:write·Idempotency-Key - Response: 200 JSON (
CrmPushJob)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.reviews.list
GET /v1/projects/{project}/crm/reviews – Dedupe decisions waiting for a person (candidate contact data masked without leads:read).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
state | "open" | "resolved" | "all" | no |
crm.reviews.resolve
POST /v1/projects/{project}/crm/reviews/{id}/resolve – Resolve a review: link a candidate, create a new record or do not transfer.
- Auth: secret key or user session ·
crm:write·Idempotency-Key - Response: 200 JSON (
CrmReview) - Body: application/json (
CrmReviewResolve)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.search
GET /v1/projects/{project}/crm/search – Search contacts in a connected CRM by email, phone or name (contact data – audited).
- Auth: secret key or user session ·
crm:read+leads:read - Response: 200 JSON (
CrmSearchResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
connection | string | yes | |
q | string | yes |
crm.lead.get
GET /v1/projects/{project}/leads/{id}/crm – CRM state of one lead: one row per connection (chip, link, owner, deals, meetings, job, reviews, routing).
- Auth: secret key or user session ·
crm:read - Response: 200 JSON (
LeadCrmStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.lead.push
POST /v1/projects/{project}/leads/{id}/crm – „Im CRM anlegen“: queue a push now (dedupe first); force=true also for spam/test/held leads; dryRun shows the decision only.
- Auth: secret key or user session ·
crm:write+leads:write·Idempotency-Key - Response: 202 JSON (
LeadCrmPushResult) - Body: application/json (
LeadCrmPush)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.lead.salesImport
POST /v1/projects/{project}/leads/{id}/crm/sales – „Jetzt übernehmen“: make the lead a contact of the organization's own Sales Engine now (also while „Leads automatisch übernehmen“ is off); idempotent per lead.
Same path as the automatic take-over: duplicate check, origin, form activity, distribution with call task and notice. Spam and test leads and leads without e-mail and phone are never taken over (outcome skipped with reason). A lead that already is a contact answers linked and changes nothing. Audited (crm.lead.sales_import).
- Auth: secret key or user session ·
crm:write+leads:read·Idempotency-Key - Response: 200 JSON (
LeadCrmSalesImportResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.lead.link
POST /v1/projects/{project}/leads/{id}/crm/link – Link the lead to an existing CRM record (manual) and pull its deals and meetings.
- Auth: secret key or user session ·
crm:write·Idempotency-Key - Response: 200 JSON (
LeadCrmStatus) - Body: application/json (
LeadCrmLink)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
crm.lead.unlink
POST /v1/projects/{project}/leads/{id}/crm/unlink – Unlink the lead from its CRM record (the record stays; clear_fields=true empties the X3 fields there).
- Auth: secret key or user session ·
crm:write - Response: 200 JSON (
LeadCrmStatus) - Body: application/json (
LeadCrmUnlink)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Lead setup
| Operation | Endpoint | Auth |
|---|---|---|
leadSetup.get | GET /v1/projects/{project}/lead-setup | secret key or user session · analytics:read |
leadSetup.proposal | GET /v1/projects/{project}/lead-setup/proposal | secret key or user session · analytics:read |
leadSetup.proposalApply | POST /v1/projects/{project}/lead-setup/proposal/apply | dashboard user session · config:write |
leadSetup.proposalDiscard | POST /v1/projects/{project}/lead-setup/proposal/discard | dashboard user session · config:write |
leadSetup.state | GET /v1/projects/{project}/lead-setup/state | secret key or user session · analytics:read |
leadSetup.inquiries | GET /v1/projects/{project}/lead-setup/inquiries | secret key or user session · analytics:read |
leadSetup.estimate | POST /v1/projects/{project}/lead-setup/estimate | secret key or user session · analytics:read |
leadSetup.apply | POST /v1/projects/{project}/lead-setup/apply | secret key or user session · config:write · Idempotency-Key |
leadSetup.undo | POST /v1/projects/{project}/lead-setup/undo | secret key or user session · config:write |
leadSetup.shopHint | POST /v1/projects/{project}/lead-setup/shop-hint | secret key or user session · config:write |
leadSetup.forward | POST /v1/projects/{project}/lead-setup/forward | secret key or user session · analytics:read |
leadSetup.scan | POST /v1/projects/{project}/site-scan | secret key or user session · config:write |
leadSetup.check | POST /v1/projects/{project}/lead-setup/items/{key}/check | secret key or user session · analytics:read |
leadSetup.later | POST /v1/projects/{project}/lead-setup/items/{key}/later | secret key or user session · config:write |
leadSetup.handoff | POST /v1/projects/{project}/lead-setup/handoffs | secret key or user session · project:admin |
leadSetup.installHandoff | POST /v1/projects/{project}/lead-setup/install-handoff | secret key or user session · project:admin |
leadSetup.revokeHandoff | POST /v1/projects/{project}/lead-setup/handoffs/{id}/revoke | secret key or user session · project:admin |
setupBrief.get | GET /v1/setup-brief/{token} | public |
setupBrief.markdown | GET /v1/setup-brief/{token}/guide | public |
setupBrief.status | GET /v1/setup-brief/{token}/status | public |
setupBrief.check | POST /v1/setup-brief/{token}/check | public |
setupBrief.contact | POST /v1/setup-brief/{token}/contact | public |
leadSetup.get
GET /v1/projects/{project}/lead-setup – What X3 proposes to count as inquiry and contact attempt (scan, 30 days of events, template, existing goals), open points and hand-off links.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadSetup)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.proposal
GET /v1/projects/{project}/lead-setup/proposal – Claude's open lead-setup proposal (lead_setup_propose, 7 days): rows with their badge, the changes, open points and the 30-day numbers – null when none is open.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.proposalApply
POST /v1/projects/{project}/lead-setup/proposal/apply – „So übernehmen“: a person applies Claude's proposal; when its diff changed since, X3 recomputes it and answers outcome refreshed („Vorschlag aktualisiert“) without writing.
- Auth: dashboard user session ·
config:write - Response: 200 JSON (
LeadProposalApplyResult) - Body: application/json (
LeadProposalApply)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.proposalDiscard
POST /v1/projects/{project}/lead-setup/proposal/discard – Discards Claude's open proposal (nothing changes).
- Auth: dashboard user session ·
config:write - Response: 200 JSON
- Body: application/json (
LeadProposalDiscard)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.state
GET /v1/projects/{project}/lead-setup/state – Open points of the lead setup with their check state, hand-off links and the last apply (light: no scan, no estimate; the Pulse rows „Wartet auf Einbau“).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadSetupState)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.inquiries
GET /v1/projects/{project}/lead-setup/inquiries – Inquiries without contact data in a date range (goal of role lead, no lead row, one per person): the inbox rows „Anfrage ohne Kontaktdaten“ with way, source and entry page; at most 500, newest first.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
GoalInquiries)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | yes | |
to | string | yes | |
include_test | "true" | "false" | no |
leadSetup.estimate
POST /v1/projects/{project}/lead-setup/estimate – Leads and contact attempts of the last 30 days for a selection of roles (live sum of the sheet; writes nothing).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadSetupEstimate) - Body: application/json (
LeadSetupEstimateRequest)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.apply
POST /v1/projects/{project}/lead-setup/apply – Apply the definition atomically (idempotent by match): goal roles, booking adapters, lead counting, open points; returns an undo token (24 h). dryRun shows the changes only.
- Auth: secret key or user session ·
config:write·Idempotency-Key - Response: 200 JSON (
LeadSetupApplied) - Body: application/json (
LeadSetupApply)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.undo
POST /v1/projects/{project}/lead-setup/undo – Restore the state before the last apply (within 24 h, audited).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
LeadSetup) - Body: application/json (
LeadSetupUndo)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.shopHint
POST /v1/projects/{project}/lead-setup/shop-hint – Answer the shop hint: count sales (mode shop), both (mixed) or only inquiries (hint hidden for 90 days).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
LeadSetup) - Body: application/json (
LeadSetupShopChoice)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.forward
POST /v1/projects/{project}/lead-setup/forward – Without edit rights: send the proposal to the project admins (task + notification with a link to ?sheet=lead; at most once per hour).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.scan
POST /v1/projects/{project}/site-scan – Look at up to 6 pages of the site again (robots.txt respected, GET only, never submits forms) and return the new proposal; a scan already running (2 minutes) is not started twice.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
LeadSetup)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.check
POST /v1/projects/{project}/lead-setup/items/{key}/check – „Jetzt prüfen“: check one open point now (signals incl. test visits, target page scan) and return its state and latest signals. Read access is enough; the check stores the point's new state and may fetch one page of the site (shared site-fetch limit).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadSetupCheck)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
leadSetup.later
POST /v1/projects/{project}/lead-setup/items/{key}/later – „Später“: keep the open point as a task („Rückruf-Formular zählen“) instead of handing it over now.
- Auth: secret key or user session ·
config:write - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
key | string | yes |
leadSetup.handoff
POST /v1/projects/{project}/lead-setup/handoffs – Create (or reuse) the technician link for open points: URL, mailto and WhatsApp texts, AI tasks; the token is only returned here.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
LeadSetupHandoffCreated) - Body: application/json (
LeadSetupHandoffCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.installHandoff
POST /v1/projects/{project}/lead-setup/install-handoff – „Meine Webagentur oder IT“ (onboarding v2 §7): the open point „X3-Code einbauen“ with the project's script tag and the technician link for it (30 days, no X3 account needed); idempotent: a live link for the install point is returned again; 409 already_installed when visits arrive and no live link exists.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
LeadSetupHandoffCreated)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leadSetup.revokeHandoff
POST /v1/projects/{project}/lead-setup/handoffs/{id}/revoke – „Link zurückziehen“: the technician page stops working at once.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
LeadSetupHandoff)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
setupBrief.get
GET /v1/setup-brief/{token} – Public technician page: status and recipes of one project (no visitor data, no keys); counts a view.
- Auth: public
- Response: 200 JSON (
PublicSetupBrief)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
stack | "wordpress" | "webflow" | "wix" | "shopify" | "nextjs" | "react" | "astro" | "html" | "gtm" | no |
setupBrief.markdown
GET /v1/setup-brief/{token}/guide – Public technician page as Markdown (the same content for AIs).
- Auth: public
- Response: 200 markdown
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
stack | "wordpress" | "webflow" | "wix" | "shopify" | "nextjs" | "react" | "astro" | "html" | "gtm" | no |
setupBrief.status
GET /v1/setup-brief/{token}/status – Public check state of every point of the hand-off (JSON for AIs: a point is "done" once X3 saw its first signal).
- Auth: public
- Response: 200 JSON (
PublicSetupStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
setupBrief.check
POST /v1/setup-brief/{token}/check – Public „Jetzt prüfen“ of the technician page (rate-limited).
- Auth: public
- Response: 200 JSON (
PublicSetupStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
setupBrief.contact
POST /v1/setup-brief/{token}/contact – Public „Fragen?“: the e-mail address of the person who asked, only after a click (rate-limited).
- Auth: public
- Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Platform admin
| Operation | Endpoint | Auth |
|---|---|---|
platformAdmin.usage | GET /v1/admin/usage | dashboard user session |
platformAdmin.usageCheck | POST /v1/admin/usage/check | dashboard user session |
platformAdmin.usageSettings | GET /v1/admin/usage/settings | dashboard user session |
platformAdmin.usageSettingsUpdate | PUT /v1/admin/usage/settings | dashboard user session |
platformAdmin.usageReset | POST /v1/admin/usage/orgs/{orgRef}/reset | dashboard user session |
platformAdmin.usage
GET /v1/admin/usage – Platform admin: usage score of every organization (plan incl. Free, highest share of the plan limits, breakdown per limit, trend, projected limit date, last activity, upsell follow-up in the CRM).
- Auth: dashboard user session
- Response: 200 JSON (
AdminUsageList)
platformAdmin.usageCheck
POST /v1/admin/usage/check – Platform admin: run the upsell check now – Free organizations „am Anschlag“ get a contact and a round-robin task in the X3 CRM (dryRun: only list what would happen).
- Auth: dashboard user session
- Response: 200 JSON (
AdminUsageCheckResult) - Body: application/json (
AdminUsageCheck)
platformAdmin.usageSettings
GET /v1/admin/usage/settings – Platform admin: settings of the upsell follow-up (CRM connection status, round-robin members, exclusions; never the key).
- Auth: dashboard user session
- Response: 200 JSON (
AdminUpsellSettings)
platformAdmin.usageSettingsUpdate
PUT /v1/admin/usage/settings – Platform admin: change the upsell follow-up settings (members, exclusions, paid plans, CRM key stored encrypted).
- Auth: dashboard user session
- Response: 200 JSON (
AdminUpsellSettings) - Body: application/json (
AdminUpsellSettingsUpdate)
platformAdmin.usageReset
POST /v1/admin/usage/orgs/{orgRef}/reset – Platform admin: reset the upsell follow-up of an organization – the next check may create a task again (the CRM task stays).
- Auth: dashboard user session
- Response: 200 JSON (
AdminUsageResetResult) - Body: application/json (
AdminUsageReset)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
orgRef | string | yes |
Notifications
| Operation | Endpoint | Auth |
|---|---|---|
notifications.devices.register | PUT /v1/me/notifications/devices | user session or X3 App token · X3 App |
notifications.devices.list | GET /v1/me/notifications/devices | user session or X3 App token |
notifications.devices.delete | DELETE /v1/me/notifications/devices/{id} | user session or X3 App token · X3 App |
notifications.settings.get | GET /v1/me/notifications/settings | user session or X3 App token |
notifications.settings.update | PATCH /v1/me/notifications/settings | user session or X3 App token · X3 App |
notifications.rules.list | GET /v1/me/notifications/rules | user session or X3 App token |
notifications.rules.update | PUT /v1/me/notifications/rules | user session or X3 App token · X3 App |
notifications.test | POST /v1/me/notifications/test | user session or X3 App token · X3 App |
notifications.history | GET /v1/me/notifications/history | user session or X3 App token |
notifications.open | POST /v1/me/notifications/open | user session or X3 App token · X3 App |
notifications.openAll | POST /v1/me/notifications/open-all | user session or X3 App token · X3 App |
notifications.badge | GET /v1/me/notifications/badge | user session or X3 App token |
notifications.actions.mute | POST /v1/notifications/actions/mute | public |
notifications.devices.register
PUT /v1/me/notifications/devices – Register or refresh this app install's push token (idempotent upsert by token, bound to the app's OAuth grant).
Called by the app on every start and when the push token changes. A token another person registered is taken over only when that person's grant has ended or the same installId is presented (same install, user switched); otherwise 409 device_owned. Dashboard sessions cannot register devices.
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
PushDevice) - Body: application/json (
PushDeviceRegister)
notifications.devices.list
GET /v1/me/notifications/devices – The signed-in person's devices that receive pushes.
- Auth: user session or X3 App token
- Response: 200 JSON (
PushDeviceList)
notifications.devices.delete
DELETE /v1/me/notifications/devices/{id} – Remove a device: it gets no more pushes (the app registers again on its next start only while its grant lives).
- Auth: user session or X3 App token · X3 App
- Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
notifications.settings.get
GET /v1/me/notifications/settings – Push settings of the signed-in person (quiet hours, lock screen, daily and weekly summary, news, badge).
- Auth: user session or X3 App token
- Response: 200 JSON (
NotificationSettings)
notifications.settings.update
PATCH /v1/me/notifications/settings – Change push settings; times snap to the scheduler's cadence (5 or 15 minutes) and the next daily and weekly slots are recomputed.
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
NotificationSettings) - Body: application/json (
NotificationSettingsUpdate)
notifications.rules.list
GET /v1/me/notifications/rules – Which pushes the person gets: defaults per category and overrides per project.
- Auth: user session or X3 App token
- Response: 200 JSON (
NotificationRules)
notifications.rules.update
PUT /v1/me/notifications/rules – Turn a category on or off (default or for one project), set its options (lead mode, spike sensitivity), reset an override or lift a mute.
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
NotificationRules) - Body: application/json (
NotificationRuleUpdate)
notifications.test
POST /v1/me/notifications/test – Send a test push to the person's devices (or one device) right away, ignoring quiet hours; it carries no personal data.
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
NotificationTestResult) - Body: application/json (
NotificationTest)
notifications.history
GET /v1/me/notifications/history – Pushes of the last 30 days with their rendered texts (Mitteilungen inbox).
- Auth: user session or X3 App token
- Response: 200 JSON (
NotificationHistory)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | int | no | |
cursor | string | no | |
project | string | no |
notifications.open
POST /v1/me/notifications/open – Mark a push as opened (the app calls it when a push is tapped).
- Auth: user session or X3 App token · X3 App
- Response: 204, no body
- Body: application/json (
NotificationOpen)
notifications.openAll
POST /v1/me/notifications/open-all – Mark all of the person's pushes of the last 30 days as opened („Alle als gelesen“), optionally of one project.
Only the signed-in person's own deliveries change; already opened ones keep their time. Answers how many were marked.
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
NotificationOpenAllResult) - Body: application/json (
NotificationOpenAll)
notifications.badge
GET /v1/me/notifications/badge – App icon badge: unseen leads across the projects the credential reaches.
- Auth: user session or X3 App token
- Response: 200 JSON (
NotificationBadge)
notifications.actions.mute
POST /v1/notifications/actions/mute – „1 Tag stumm“ from a push: mutes that project's category for 24 hours with the push's signed token (no session needed, idempotent).
Accepts only the muteToken of a push (valid 48 hours after sending). Answers 204 for every valid token, also when it was used before; an invalid or expired token answers 404 and reveals nothing.
- Auth: public
- Response: 204, no body
- Body: application/json (
NotificationMute)
Besucher
| Operation | Endpoint | Auth |
|---|---|---|
traffic.dataQuality | GET /v1/projects/{project}/traffic/data-quality | secret key or user session · analytics:read |
analytics.changes | GET /v1/projects/{project}/analytics/changes | secret key or user session · analytics:read |
analytics.baseline | GET /v1/projects/{project}/analytics/baseline | secret key or user session · analytics:read |
traffic.quality | GET /v1/projects/{project}/traffic/quality | secret key or user session · analytics:read |
traffic.returning | GET /v1/projects/{project}/traffic/returning | secret key or user session · analytics:read |
traffic.summary | GET /v1/projects/{project}/traffic/summary | secret key or user session · analytics:read |
traffic.heatmap | GET /v1/projects/{project}/traffic/heatmap | secret key or user session · analytics:read |
leads.goal | GET /v1/projects/{project}/lead-goal | secret key or user session · analytics:read |
leads.goalSet | PUT /v1/projects/{project}/lead-goal | secret key or user session · config:write |
leads.projection | GET /v1/projects/{project}/lead-goal/projection | secret key or user session · analytics:read |
leads.awaiting | GET /v1/projects/{project}/leads-awaiting | secret key or user session · analytics:read |
leads.responseTime | GET /v1/projects/{project}/leads-response-time | secret key or user session · analytics:read |
behavior.biggestGap | GET /v1/projects/{project}/behavior/biggest-gap | secret key or user session · analytics:read |
traffic.dataQuality
GET /v1/projects/{project}/traffic/data-quality – Measuring start (tracking_live_since), day qualities (before_tracking, imported, unfinished, ok) and import sessions of the range.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
DataQuality)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
analytics.changes
GET /v1/projects/{project}/analytics/changes – Change engine: why a number changed vs. the comparison period – movers by channel group (absolute), level-2 drivers, annotations, confidence and the generated sentence.
Ranks by absolute change, never by percent. Claude and MCP may rephrase sentence_de, never invent numbers.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Changes)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
metric | "sessions" | "engaged_plus" | "hot_plus" | "leads" | no | sessions (default), engaged_plus, hot_plus, leads (Leads list) |
compare | "previous" | "previous_year" | no | Comparison: previous = the same number of days immediately before (default), previous_year |
analytics.baseline
GET /v1/projects/{project}/analytics/baseline – „Üblich“: visits today up to now vs. the median of the same weekday up to the same time (last 4 to 8 measured weeks); null before 4 weeks.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
Baseline)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
metric | "sessions" | no | |
at | string | no | default now |
traffic.quality
GET /v1/projects/{project}/traffic/quality – Traffic-Qualität über Zeit: tier bands per day or week (Nicht interessiert · Neugierig · Interessiert · Heiß), cumulative 30+/60+, rolling 7 days, leads from the Leads list, KPI strip, ladder, table „Qualität nach Quelle“ and Quellen vergleichen.
Shares per day by default (owner decision 22.10.2026; seriesMeta.shares.bucketUsed day, week over 90 days or on request, rolling7 on request); every published share keeps denominator ≥ 30 Besuche and numerator ≥ cellSuppress, days under 30 Besuche carry lowBase. Counts are published once per range and filter for the whole hierarchy (A4 v2): hidden = null + suppressed, rounded to 5 = rounded. Leads come from the Leads list (header attribution model), never from the score.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TrafficQuality)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
bucket | "day" | "week" | "rolling7" | no | day (default up to 90 days) or week; rolling7 = day buckets with the rolling series as the primary view |
with | string | no | leads (default) and/or contacts (Kontaktversuche, off by default) |
compare | "previous" | "previous_year" | no | Comparison: previous = the same number of days immediately before (default), previous_year |
compare_by | "channel_group" | "channel" | "utm_campaign" | "ad" | "utm_source" | "utm_medium" | "entry_page" | "device" | no | Quellen vergleichen: dimension of the values |
values | string | no | 2 to 4 values of compare_by; default the top 3 with ≥ 30 Besuche in the current period |
traffic.returning
GET /v1/projects/{project}/traffic/returning – Return layers with their basis: R1 same day (30-minute rule, all visitors), R2 with consent (vid), R3 known people (leads), R4 visit chains (a lower bound), consent coverage, sources table, visits until enquiry, weekly chart.
Never an overall return rate, never an extrapolation, never „neue Besucher“ without consent.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TrafficReturning)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
traffic.summary
GET /v1/projects/{project}/traffic/summary – Home card of the app and Pulse: today vs. usual, Ø Besucher pro Tag with change, visits of 7 days, search visits, same-day returns, 14-day sparkline.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TrafficSummary)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
include_test | "0" | "1" | "true" | "false" | no |
traffic.heatmap
GET /v1/projects/{project}/traffic/heatmap – „Wann Deine Besucher kommen“: visits per weekday × 3-hour block (own range: 14 days since the measuring start, later the last 4 weeks), small cells „< 3“.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TrafficHeatmap)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
block_hours | "3" | "6" | no | 3 (default) or 6 (phone: four blocks) |
leads.goal
GET /v1/projects/{project}/lead-goal – Lead target of a month (Leadziel pro Monat); target null when none is set.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadGoal)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
month | string | no | YYYY-MM, default the current month |
leads.goalSet
PUT /v1/projects/{project}/lead-goal – Sets (or with target null removes) the lead target of a month.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
LeadGoal) - Body: application/json (
LeadGoalWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
leads.projection
GET /v1/projects/{project}/lead-goal/projection – Leadziel und Hochrechnung: leads of the month so far, projection with its range (rates of the last 7 and 14 days), needed per day for the target; none before 10 measured days.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadProjection)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
month | string | no | |
include_test | "0" | "1" | "true" | "false" | no |
leads.awaiting
GET /v1/projects/{project}/leads-awaiting – Wartet auf Antwort: leads without any status after „neu“ for longer than hours (default 24), oldest first, without names.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadsAwaiting)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
hours | string | no |
leads.responseTime
GET /v1/projects/{project}/leads-response-time – Zeit bis zur ersten Antwort: median hours from the inquiry to the first status after „neu“ (last 30 days), answered the same day, open over 24 hours.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
LeadsResponseTime)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
days | string | no |
behavior.biggestGap
GET /v1/projects/{project}/behavior/biggest-gap – Größte Lücke auf dem Weg zur Anfrage: the step with the largest absolute loss among the quiz and form funnels with ≥ 100 Besuche on step 1, split by device.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
BiggestGap)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
Webhooks
| Operation | Endpoint | Auth |
|---|---|---|
webhooks.list | GET /v1/projects/{project}/webhooks | secret key or user session · project:admin |
webhooks.create | POST /v1/projects/{project}/webhooks | secret key or user session · project:admin · Idempotency-Key |
webhooks.update | PATCH /v1/projects/{project}/webhooks/{id} | secret key or user session · project:admin |
webhooks.delete | DELETE /v1/projects/{project}/webhooks/{id} | secret key or user session · project:admin |
webhooks.rotateSecret | POST /v1/projects/{project}/webhooks/{id}/secret | secret key or user session · project:admin |
webhooks.test | POST /v1/projects/{project}/webhooks/{id}/test | secret key or user session · project:admin |
webhooks.deliveries | GET /v1/projects/{project}/webhook-deliveries | secret key or user session · project:admin |
webhooks.redeliver | POST /v1/projects/{project}/webhook-deliveries/{id}/redeliver | secret key or user session · project:admin |
webhooks.list
GET /v1/projects/{project}/webhooks – Outgoing webhook endpoints of the project (secrets never, only their last four characters).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
webhooks.create
POST /v1/projects/{project}/webhooks – Add an endpoint (https, public host); the signing secret is returned once. includeContact needs leads:read.
- Auth: secret key or user session ·
project:admin·Idempotency-Key - Response: 201 JSON (
WebhookEndpointCreated) - Body: application/json (
WebhookEndpointCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
webhooks.update
PATCH /v1/projects/{project}/webhooks/{id} – Change URL, events, filters, contact data or switch an endpoint on/off (on again resets the failure counter).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
WebhookEndpoint) - Body: application/json (
WebhookEndpointUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
webhooks.delete
DELETE /v1/projects/{project}/webhooks/{id} – Delete an endpoint with its delivery log (audited).
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
webhooks.rotateSecret
POST /v1/projects/{project}/webhooks/{id}/secret – New signing secret (returned once); the old one stops signing immediately.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
WebhookEndpointCreated)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
webhooks.test
POST /v1/projects/{project}/webhooks/{id}/test – Send a test event (test: true, fictional contact) right now and return the delivery.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
WebhookTestResult) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
event | "lead.created" | "lead.updated" | "lead.status_changed" | "conversion.created" | "experiment.decided" | no | |
tag | string | no |
webhooks.deliveries
GET /v1/projects/{project}/webhook-deliveries – Delivery log, newest first (status, response code, duration, next retry, attempt history).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
endpoint | string | no | |
status | "pending" | "retrying" | "succeeded" | "failed" | "cancelled" | no | |
event | "lead.created" | "lead.updated" | "lead.status_changed" | "conversion.created" | "experiment.decided" | no | |
limit | string | no | |
cursor | string | no |
webhooks.redeliver
POST /v1/projects/{project}/webhook-deliveries/{id}/redeliver – Send a delivery again now (same event id and payload; the receiver deduplicates by webhook-id).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
WebhookDelivery)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Meta Instant Forms
| Operation | Endpoint | Auth |
|---|---|---|
metaLeads.status | GET /v1/projects/{project}/meta-leads/status | secret key or user session · project:admin |
metaLeads.pages.list | GET /v1/projects/{project}/meta-leads/pages | secret key or user session · project:admin |
metaLeads.pages.connect | POST /v1/projects/{project}/meta-leads/pages | secret key or user session · project:admin |
metaLeads.pages.delete | DELETE /v1/projects/{project}/meta-leads/pages/{pageId} | secret key or user session · project:admin |
metaLeads.pages.sync | POST /v1/projects/{project}/meta-leads/pages/{pageId}/sync | secret key or user session · project:admin |
metaLeads.pages.resubscribe | POST /v1/projects/{project}/meta-leads/pages/{pageId}/subscribe | secret key or user session · project:admin |
metaLeads.metaAds.list | GET /v1/projects/{project}/meta-leads/meta-ads | secret key or user session · project:admin |
metaLeads.metaAds.connect | POST /v1/projects/{project}/meta-leads/meta-ads | secret key or user session · project:admin |
metaLeads.ownApp.get | GET /v1/projects/{project}/meta-leads/own-app | secret key or user session · project:admin |
metaLeads.ownApp.update | PUT /v1/projects/{project}/meta-leads/own-app | secret key or user session · project:admin |
metaLeads.ownApp.delete | DELETE /v1/projects/{project}/meta-leads/own-app | secret key or user session · project:admin |
metaLeads.ownApp.webhook | POST /v1/webhooks/meta/p/{hookId} | webhook signature |
metaLeads.forms.list | GET /v1/projects/{project}/meta-leads/forms | secret key or user session · project:admin |
metaLeads.forms.update | PATCH /v1/projects/{project}/meta-leads/forms/{formId} | secret key or user session · project:admin |
metaLeads.forms.backfill | POST /v1/projects/{project}/meta-leads/forms/{formId}/backfill | secret key or user session · project:admin |
metaLeads.forms.simulate | POST /v1/projects/{project}/meta-leads/forms/{formId}/simulate | secret key or user session · project:admin |
metaLeads.oauth.start | POST /v1/projects/{project}/meta-leads/oauth | dashboard user session · project:admin |
metaLeads.oauth.get | GET /v1/projects/{project}/meta-leads/oauth/{sessionId} | dashboard user session · project:admin |
metaLeads.oauth.connect | POST /v1/projects/{project}/meta-leads/oauth/{sessionId}/connect | dashboard user session · project:admin |
metaLeads.oauth.callback | GET /v1/meta-leads/oauth/callback | public |
metaLeads.dataDeletion | POST /v1/meta/data-deletion | webhook signature |
metaLeads.dataDeletion.status | GET /v1/meta/data-deletion/{code} | public |
metaLeads.webhook | POST /v1/webhooks/meta | webhook signature |
metaLeads.status
GET /v1/projects/{project}/meta-leads/status – Instant Forms status: webhook set up on this installation, callback URL, pages, forms, leads of 7 days, required permissions.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaLeadsStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.pages.list
GET /v1/projects/{project}/meta-leads/pages – Facebook pages connected for Instant Forms (token never, only a hint).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.pages.connect
POST /v1/projects/{project}/meta-leads/pages – Connect pages with a page or (system) user token: stores the page token encrypted, subscribes the app to leadgen, loads the forms.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
MetaLeadPageConnectResult) - Body: application/json (
MetaLeadPageConnect)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.pages.delete
DELETE /v1/projects/{project}/meta-leads/pages/{pageId} – Disconnect a page (token deleted, forms switched off; stored leads stay).
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
pageId | string | yes |
metaLeads.pages.sync
POST /v1/projects/{project}/meta-leads/pages/{pageId}/sync – Reload the page's forms and fetch leads of enabled forms since the last poll (missed webhooks).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaLeadSyncResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
pageId | string | yes |
metaLeads.pages.resubscribe
POST /v1/projects/{project}/meta-leads/pages/{pageId}/subscribe – „Webhook neu abonnieren“: renews the subscription of the page token's app to the page's leadgen webhooks and reads back which apps are subscribed – without disconnecting the page.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaLeadResubscribeResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
pageId | string | yes |
metaLeads.metaAds.list
GET /v1/projects/{project}/meta-leads/meta-ads – Instant Forms through the Meta ad login (Einstellungen › Werbekonten & Budget, Composio): the project's usable Meta logins with their missing permissions, the Facebook pages each reaches and per page its lead forms with the leads Meta still keeps and how many are already in X3 (no tokens).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaAdsSources)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.metaAds.connect
POST /v1/projects/{project}/meta-leads/meta-ads – Connect pages through the Meta ad login (no webhook subscription: leads arrive through the 15-minute sync), switch the chosen forms on and import their leads by the person's choice (backfillDays 0–90); reports per form new, already in X3, skipped, failed.
- Auth: secret key or user session ·
project:admin - Response: 201 JSON (
MetaAdsConnectResult) - Body: application/json (
MetaAdsConnect)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.ownApp.get
GET /v1/projects/{project}/meta-leads/own-app – Real-time webhook with the customer's own Meta app: app id, whether the app secret is set (never its value), verify token, this project's callback URL, verification and last delivery, subscription per page.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaOwnAppWebhook)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.ownApp.update
PUT /v1/projects/{project}/meta-leads/own-app – Set up or change the own-app webhook: app id, app secret (write-only, stored encrypted), a new verify token; creates the callback URL on first use.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaOwnAppWebhook) - Body: application/json (
MetaOwnAppWebhookWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.ownApp.delete
DELETE /v1/projects/{project}/meta-leads/own-app – Remove the own-app webhook (app secret and verify token deleted; its callback URL answers 404 from then on, the 15-minute sync keeps fetching the leads).
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.ownApp.webhook
POST /v1/webhooks/meta/p/{hookId} – Meta webhook callback of a project's own Meta app (object page, field leadgen; X-Hub-Signature-256 with that app's secret; only pages of the project); GET answers the verification challenge with the project's verify token.
- Auth: webhook signature
- Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
hookId | string | yes |
metaLeads.forms.list
GET /v1/projects/{project}/meta-leads/forms – Instant Forms of the connected pages with their routing (on/off, target project, tag, last lead).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.forms.update
PATCH /v1/projects/{project}/meta-leads/forms/{formId} – Switch a form on/off, set its target project, tag and X3 form id.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaLeadForm) - Body: application/json (
MetaLeadFormUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
formId | string | yes |
metaLeads.forms.backfill
POST /v1/projects/{project}/meta-leads/forms/{formId}/backfill – Fetch every lead Meta still keeps for this switched-on form (last N days, max 90); idempotent, leads older than 24 h without push and webhooks, never a conversion.
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaLeadBackfillResult) - Body: application/json (
MetaLeadBackfill)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
formId | string | yes |
metaLeads.forms.simulate
POST /v1/projects/{project}/meta-leads/forms/{formId}/simulate – Inject a synthetic test lead of this form through the same pipeline (test lead, never reported to ad platforms).
- Auth: secret key or user session ·
project:admin - Response: 200 JSON (
MetaLeadIngestResult) - Body: application/json (
MetaLeadSimulate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
formId | string | yes |
metaLeads.oauth.start
POST /v1/projects/{project}/meta-leads/oauth – „Mit Facebook verbinden“: starts Facebook Login for Business (one-time state, 30 minutes) and returns Meta's dialog URL.
- Auth: dashboard user session ·
project:admin - Response: 201 JSON (
MetaOAuthStartResult) - Body: application/json (
MetaOAuthStart)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
metaLeads.oauth.get
GET /v1/projects/{project}/meta-leads/oauth/{sessionId} – Result of a „Mit Facebook verbinden“ attempt: the pages the person shared (no tokens), or why it failed.
- Auth: dashboard user session ·
project:admin - Response: 200 JSON (
MetaOAuthSession)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessionId | string | yes |
metaLeads.oauth.connect
POST /v1/projects/{project}/meta-leads/oauth/{sessionId}/connect – Connect the chosen pages of a „Mit Facebook verbinden“ attempt: page tokens stored encrypted, app subscribed to leadgen, forms loaded.
- Auth: dashboard user session ·
project:admin - Response: 201 JSON (
MetaLeadPageConnectResult) - Body: application/json (
MetaOAuthConnect)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
sessionId | string | yes |
metaLeads.oauth.callback
GET /v1/meta-leads/oauth/callback – Redirect URI of Facebook Login for Business: checks the one-time state, exchanges the code with the app secret, then sends the browser back to Einstellungen › Instant Forms.
- Auth: public
- Response: 200 html
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | |
code | string | no | |
error | string | no | |
error_reason | string | no | |
error_description | string | no |
metaLeads.dataDeletion
POST /v1/meta/data-deletion – Meta data deletion callback (form field signed_request, HMAC-SHA256 with the app secret): removes the pages and attempts the person connected, answers url + confirmation_code.
- Auth: webhook signature
- Response: 200 JSON
metaLeads.dataDeletion.status
GET /v1/meta/data-deletion/{code} – Status of a Meta data deletion request (the confirmation code Meta shows the person).
- Auth: public
- Response: 200 JSON (
MetaDataDeletionStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes |
metaLeads.webhook
POST /v1/webhooks/meta – Meta webhook callback (object page, field leadgen; X-Hub-Signature-256); GET answers the verification challenge.
- Auth: webhook signature
- Response: 200 JSON
App ingest
| Operation | Endpoint | Auth |
|---|---|---|
apps.ingest.config | GET /v1/m/config/{pk} | publishable key (pk_3x_…) |
apps.ingest.batch | POST /v1/m/batch | publishable key (pk_3x_…) |
apps.ingest.install | POST /v1/m/install | publishable key (pk_3x_…) |
apps.ingest.lead | POST /v1/m/lead | publishable key (pk_3x_…) |
apps.ingest.replay | POST /v1/m/r | publishable key (pk_3x_…) |
apps.ingest.erase | POST /v1/m/erase | publishable key (pk_3x_…) |
apps.go | GET /v1/go/{ref} | public |
apps.postbacks.receive | POST /v1/m/postbacks/{kind}/{endpoint} | webhook signature |
apps.store.apple | POST /v1/m/store/apple/{token} | webhook signature |
apps.store.google | POST /v1/m/store/google/{token} | webhook signature |
apps.store.revenuecat | POST /v1/m/store/revenuecat/{token} | webhook signature |
apps.ingest.config
GET /v1/m/config/{pk} – App SDK configuration (AppConfig): flush, session, blocked events, excluded screens, recording, SKAN schema, link hosts; cached 5 minutes.
- Auth: publishable key (
pk_3x_…) - Response: 200 JSON (
AppConfig)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pk | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
plat | "ios" | "android" | yes | |
bid | string | yes | |
sdk | string | no |
apps.ingest.batch
POST /v1/m/batch – AppBatch v1 of an app session: screens, events, identify hashes, deep link (≤ 64 KiB, gzip allowed); stored only with analytics granted.
- Auth: publishable key (
pk_3x_…) - Response: 200 JSON (
AppBatchResponse) - Body: application/json (
AppBatch)
apps.ingest.install
POST /v1/m/install – First open of an install with its attribution sources (Play Install Referrer, Apple Ads token, deep link); answers the accuracy tier.
- Auth: publishable key (
pk_3x_…) - Response: 200 JSON (
AppInstallResponse) - Body: application/json (
AppInstallRequest)
apps.ingest.lead
POST /v1/m/lead – X3.lead(): an inquiry from the app (contact data once over TLS, never stored on the device); works in every consent state.
- Auth: publishable key (
pk_3x_…) - Response: 202 JSON (
AppOk) - Body: application/json (
AppLeadRequest)
apps.ingest.replay
POST /v1/m/r – Recording packet of an app (X3R1 bytes, application/octet-stream, header with plat, ins, cm); answers the text ok or off.
- Auth: publishable key (
pk_3x_…) - Response: 200 text
- Body: text/plain
apps.ingest.erase
POST /v1/m/erase – X3.eraseDeviceData(): erase this install's sessions, recordings and journey keys (proof: the device secret).
- Auth: publishable key (
pk_3x_…) - Response: 202 JSON (
AppOk) - Body: application/json (
AppEraseRequest)
apps.go
GET /v1/go/{ref} – X3 link click: 302 to the App Store, Google Play (Play referrer with the click token x3c) or the fallback URL; never a cookie.
ref is a link code (only through the customer's first-party proxy, <proxy>/go/<code>) or a global link token (https://api.x3growth.io/v1/go/<token>). The click's web session comes from the s parameter or the same browser's daily visitor hash within 30 minutes.
- Auth: public
- Response: 200, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
gclid | string | no | |
gbraid | string | no | |
wbraid | string | no | |
fbclid | string | no | |
li_fat_id | string | no | |
ttclid | string | no | |
msclkid | string | no | |
s | string | no | |
x3_test | string | no |
apps.postbacks.receive
POST /v1/m/postbacks/{kind}/{endpoint} – AdAttributionKit / SKAdNetwork postback copy (only through the first-party proxy: /.well-known/appattribution/… and /.well-known/skadnetwork/…).
- Auth: webhook signature
- Response: 200 JSON (
AppOk) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
kind | "aak" | "skan" | yes | |
endpoint | string | yes |
apps.store.apple
POST /v1/m/store/apple/{token} – App Store Server Notifications V2 (signedPayload, verified against Apple Root CA G3); forwarded to your own URL.
- Auth: webhook signature
- Response: 200 JSON (
AppOk) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
signedPayload | string | yes |
apps.store.google
POST /v1/m/store/google/{token} – Google Play Real-time developer notifications (Pub/Sub push, optional OIDC check); forwarded to your own URL.
- Auth: webhook signature
- Response: 204, no body
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
apps.store.revenuecat
POST /v1/m/store/revenuecat/{token} – RevenueCat webhook (Authorization header = the app's RevenueCat secret); forwarded to your own URL.
- Auth: webhook signature
- Response: 200 JSON (
AppOk) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes |
Apps
| Operation | Endpoint | Auth |
|---|---|---|
apps.list | GET /v1/projects/{project}/apps | secret key or user session · analytics:read |
apps.create | POST /v1/projects/{project}/apps | secret key or user session · config:write |
apps.get | GET /v1/projects/{project}/apps/{id} | secret key or user session · analytics:read |
apps.update | PATCH /v1/projects/{project}/apps/{id} | secret key or user session · config:write |
apps.delete | DELETE /v1/projects/{project}/apps/{id} | secret key or user session · project:admin |
apps.secrets | PUT /v1/projects/{project}/apps/{id}/secrets | secret key or user session · config:write |
apps.storeToken | POST /v1/projects/{project}/apps/{id}/store-token | secret key or user session · config:write |
apps.setup | GET /v1/projects/{project}/apps/{id}/setup | secret key or user session · analytics:read |
apps.privacyLabels | GET /v1/projects/{project}/apps/{id}/privacy-labels | secret key or user session · analytics:read |
apps.links.list | GET /v1/projects/{project}/app-links | secret key or user session · analytics:read |
apps.links.create | POST /v1/projects/{project}/app-links | secret key or user session · config:write |
apps.links.update | PATCH /v1/projects/{project}/app-links/{id} | secret key or user session · config:write |
apps.links.delete | DELETE /v1/projects/{project}/app-links/{id} | secret key or user session · config:write |
apps.linkTokens.create | POST /v1/projects/{project}/app-link-tokens | secret key or user session · events:write |
apps.installs.report | GET /v1/projects/{project}/app-installs/report | secret key or user session · analytics:read |
apps.installs.list | GET /v1/projects/{project}/app-installs | secret key or user session · analytics:read |
apps.retention | GET /v1/projects/{project}/app-installs/retention | secret key or user session · analytics:read |
apps.postbacks.report | GET /v1/projects/{project}/app-postbacks/report | secret key or user session · analytics:read |
apps.storeEvents.list | GET /v1/projects/{project}/app-store-events | secret key or user session · conversions:read |
apps.users.erase | POST /v1/projects/{project}/app-users/erase | secret key or user session · leads:write |
apps.leadApps | GET /v1/projects/{project}/leads/{id}/apps | secret key or user session · analytics:read + leads:summary |
apps.list
GET /v1/projects/{project}/apps – Registered iOS and Android apps of the project.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TrackedAppList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
apps.create
POST /v1/projects/{project}/apps – Register an app (platform + bundle id / package name): creates the app and its app-bound publishable key.
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
TrackedAppCreated) - Body: application/json (
TrackedAppCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
apps.get
GET /v1/projects/{project}/apps/{id} – One registered app: settings, store notification URLs, keys, secret hints.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
TrackedApp)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.update
PATCH /v1/projects/{project}/apps/{id} – Change name, App Store id, team id, enabled or settings (leads, identify, links, store forwarding, ad platforms, SKAN schema).
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
TrackedApp) - Body: application/json (
TrackedAppUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.delete
DELETE /v1/projects/{project}/apps/{id} – Delete an app (soft delete): its keys are revoked, collected data stays.
- Auth: secret key or user session ·
project:admin - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.secrets
PUT /v1/projects/{project}/apps/{id}/secrets – Write-only app secrets (Meta Install Referrer key, Play service account, RevenueCat authorization); answers masked hints.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
AppSecretsResult) - Body: application/json (
AppSecretsWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.storeToken
POST /v1/projects/{project}/apps/{id}/store-token – Rotate the secret path token of the store notification URLs; the old URLs stop working at once.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
AppStoreTokenResult)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.setup
GET /v1/projects/{project}/apps/{id}/setup – Setup checklist of an app: SDK seen, consent mode, installs, links, postbacks, store notifications, recordings.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
AppSetupStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.privacyLabels
GET /v1/projects/{project}/apps/{id}/privacy-labels – Generated App Store privacy details and Google Play data safety rows for the modules this app uses.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PrivacyLabels)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
locale | "de" | "en" | no | |
modules | string | no |
apps.links.list
GET /v1/projects/{project}/app-links – X3 links of the project (proxy and direct URLs, clicks and installs of the last 7 days).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
AppLinkList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
apps.links.create
POST /v1/projects/{project}/app-links – Create an X3 link (code, target apps, fallback URL, default attribution).
- Auth: secret key or user session ·
config:write - Response: 201 JSON (
AppLink) - Body: application/json (
AppLinkWrite)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
apps.links.update
PATCH /v1/projects/{project}/app-links/{id} – Change an X3 link.
- Auth: secret key or user session ·
config:write - Response: 200 JSON (
AppLink) - Body: application/json (
AppLinkUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.links.delete
DELETE /v1/projects/{project}/app-links/{id} – Delete an X3 link (its URLs fall back to the project's website).
- Auth: secret key or user session ·
config:write - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
apps.linkTokens.create
POST /v1/projects/{project}/app-link-tokens – Mint a click token (x3c) for a web session, e.g. for a magic link after a web signup; the app passes it to handleOpenURL / applyLinkToken.
- Auth: secret key or user session ·
events:write - Response: 201 JSON (
LinkToken) - Body: application/json (
LinkTokenCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
apps.installs.report
GET /v1/projects/{project}/app-installs/report – Installs by source, campaign, accuracy, platform, app or day: totals, tiers, funnel (link clicks → first opens → accounts → active → purchasers), series.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
InstallsReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
group | "source" | "campaign" | "tier" | "platform" | "app" | "day" | no | |
app | string | no |
apps.installs.list
GET /v1/projects/{project}/app-installs – Installs as table rows (tier, source, campaign, sessions, account, purchases); format=csv exports.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
InstallsList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
app | string | no | |
tier | "referrer" | "apple_ads" | "link" | "identity" | "organic" | "unknown" | "pending" | no | |
q | string | no | |
sort | "firstOpenAt" | "-firstOpenAt" | "lastSeenAt" | "-lastSeenAt" | "sessions" | "-sessions" | "revenue" | "-revenue" | no | |
limit | string | no | |
cursor | string | no | |
format | "json" | "csv" | no |
apps.retention
GET /v1/projects/{project}/app-installs/retention – Retention of installs: share with a session on day 1, 7 and 30 after the first open, grouped like the installs report.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
RetentionReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
group | "source" | "campaign" | "tier" | "platform" | "app" | "day" | no | |
app | string | no |
apps.postbacks.report
GET /v1/projects/{project}/app-postbacks/report – Apple postbacks (AdAttributionKit / SKAdNetwork) per ad network and campaign: fine values with their meaning, coarse values, redownloads.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON (
PostbackReport)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | no | Start day YYYY-MM-DD (project time zone, inclusive). Wins over preset. |
to | string | no | End day YYYY-MM-DD (inclusive). Default today. |
preset | "today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter" | no | Date range when from/to are absent. Default 30d; all = last 731 days. |
page | string | no | Canonical page path, e.g. /pricing |
page_group | string | no | Page group key from the project config |
page_mode | "any" | "entry" | "exit" | no | Session metrics: any = a pageview on page/page_group (default), entry = entered there, exit = left there |
channel | "google_ads" | "google_organic" | "bing" | "search_other" | "meta" | "linkedin" | "tiktok" | "social_other" | "email" | "ai_assistant" | "referral" | "direct" | "other" | no | |
utm_source | string | no | |
utm_medium | string | no | |
utm_campaign | string | no | |
utm_content | string | no | |
utm_term | string | no | |
utm_id | string | no | |
ref_host | string | no | Entry referrer host, e.g. www.google.com |
variant | string | no | Page variant of the entry pageview |
device | "mobile" | "tablet" | "desktop" | "unknown" | no | |
browser | "chrome" | "safari" | "firefox" | "edge" | "samsung" | "opera" | "other" | "app" | no | |
os | "windows" | "macos" | "ios" | "android" | "linux" | "chromeos" | "other" | no | |
country | string | no | ISO country code, uppercase |
lang | string | no | |
screen | "xs" | "sm" | "md" | "lg" | "xl" | no | |
converted | "0" | "1" | "true" | "false" | no | |
has | string | string[] | no | |
goal | string | string[] | no | |
event | string | string[] | no | |
click_id | "any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid" | no | any/none or a specific click id present on the session |
traffic | "paid" | "organic" | "free" | "search" | no | paid = an ad click id or a paid utm_medium (cpc, paid, …) on the session; free (alias organic) = every channel group except paid („Ohne Werbung“); search = channel group search |
channel_group | "paid" | "ai" | "search" | "social" | "email" | "referral" | "direct" | "other" | no | Read-time channel group: paid (Werbung), ai (KI Assistenten), search, social, email, referral, direct, other |
include_imported | "0" | "1" | "true" | "false" | no | |
relevance_band | "cold" | "curious" | "engaged" | "hot" | no | Tier band from the relevance config: cold (Nicht interessiert), curious (Neugierig), engaged (Interessiert), hot (Heiß, score tier lead included) |
visitor_type | "same_day_repeat" | "returning_consented" | "unknown" | no | same_day_repeat (back on the same day ≥ 30 min after the previous visit ended), returning_consented (with consent, seen on an earlier day), unknown |
stitch | "new" | "memory" | "storage" | "hash" | no | |
consent | "0" | "1" | "true" | "false" | no | |
include_test | "0" | "1" | "true" | "false" | no | |
min_relevance | string | no | |
max_relevance | string | no | |
relevance_tier | string | no | Tier key, e.g. hot |
ad_platform | "google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads" | no | |
platform | "web" | "ios" | "android" | "app" | no | Session platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions. |
ad_account_id | string | no | |
ad_campaign_id | string | no | |
ad_adset_id | string | no | |
ad_id | string | no | |
ad_match | "matched" | "unmatched" | no | Sessions with/without an ad-entity match |
experiment | string | no | Sessions exposed to an experiment (key) or one of its arms (key:arm) – from the session of the first exposure on. While the experiment runs, per-arm numbers are for bug-finding only, never for decisions. |
funnel_step | string | no | Visits that reached a funnel step (quiz:answered_3:reached) or dropped before it (quiz:answered_3:dropped = reached the step before, not this one; per visit). Optional 4th part: order (default the funnel's mode). Unknown funnel or step = no visits. |
app | string | no |
apps.storeEvents.list
GET /v1/projects/{project}/app-store-events – Store notifications (App Store, Google Play, RevenueCat): kind, order, value, linked person, forwarding state.
- Auth: secret key or user session ·
conversions:read - Response: 200 JSON (
StoreEventsList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
app | string | no | |
store | "apple" | "google" | "revenuecat" | no | |
kind | string | no | |
limit | string | no | |
cursor | string | no |
apps.users.erase
POST /v1/projects/{project}/app-users/erase – Erase an app user by user id, e-mail or install id: identity keys, account tokens, recordings and matching leads (audited).
- Auth: secret key or user session ·
leads:write - Response: 200 JSON (
AppUsersEraseResult) - Body: application/json (
AppUsersErase)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
apps.leadApps
GET /v1/projects/{project}/leads/{id}/apps – App usage of a lead: installs with their accuracy, last login, logins 7/30 days, active days, devices, purchases.
- Auth: secret key or user session ·
analytics:read+leads:summary - Response: 200 JSON (
LeadAppUsage)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
id | string | yes |
Connections
| Operation | Endpoint | Auth |
|---|---|---|
connections.list | GET /v1/orgs/{org}/connections | secret key or user session |
connections.status | GET /v1/orgs/{org}/connections/{id} | secret key or user session |
connections.reauthorize | POST /v1/orgs/{org}/connections/{id}/reauthorize | dashboard user session |
connections.disconnect | DELETE /v1/orgs/{org}/connections/{id} | secret key or user session · sudo |
connections.uses.list | GET /v1/orgs/{org}/connection-uses | secret key or user session |
connections.uses.create | POST /v1/orgs/{org}/connection-uses | secret key or user session |
connections.uses.delete | DELETE /v1/orgs/{org}/connection-uses/{id} | secret key or user session |
connections.list
GET /v1/orgs/{org}/connections – Connections of the organization plus your own personal ones, with their uses (never a secret).
- Auth: secret key or user session
- Response: 200 JSON (
RegistryConnectionList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
category | "ads" | "crm" | "search_console" | "facebook_pages" | "personal" | no | |
product | "growth" | "sales" | no | |
purpose | "ad_costs" | "conversions" | "crm_sync" | "instant_forms" | "search_console" | "mailbox" | "calendar" | "meeting" | no | |
usableFor | string | no | |
status | "initiated" | "active" | "expired" | "failed" | "revoked" | "paused" | no | |
includeRevoked | "true" | "false" | no |
connections.status
GET /v1/orgs/{org}/connections/{id} – Status of one connection: uses, missing permissions, what a disconnect would stop; check=true asks the provider live (only who may manage the connection, capabilities.check).
- Auth: secret key or user session
- Response: 200 JSON (
RegistryConnectionStatus)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
check | "true" | "false" | no |
connections.reauthorize
POST /v1/orgs/{org}/connections/{id}/reauthorize – Ask the provider again for missing permissions of the same connection (no new connection; returns the consent URL).
- Auth: dashboard user session
- Response: 200 JSON (
RegistryReauthorizeResult) - Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
scopes | string[] | no |
connections.disconnect
DELETE /v1/orgs/{org}/connections/{id} – Disconnect a connection everywhere it is used (confirm=true; connections.status lists the uses it stops, without confirm 409 names them).
- Auth: secret key or user session · sudo
- Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
confirm | "true" | no |
connections.uses.list
GET /v1/orgs/{org}/connection-uses – Uses of the organization's connections (product, project, purpose, required and missing permissions, settings).
- Auth: secret key or user session
- Response: 200 JSON (
RegistryUseList)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
connection | string | no | |
product | "growth" | "sales" | no | |
purpose | "ad_costs" | "conversions" | "crm_sync" | "instant_forms" | "search_console" | "mailbox" | "calendar" | "meeting" | no | |
project | string | no |
connections.uses.create
POST /v1/orgs/{org}/connection-uses – Use an existing connection for another product or purpose („Bestehende Verbindung verwenden“), e.g. a Facebook page for Sales Engine leads.
- Auth: secret key or user session
- Response: 201 JSON (
RegistryUse) - Body: application/json (
RegistryUseCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
connections.uses.delete
DELETE /v1/orgs/{org}/connection-uses/{id} – Stop one use added through the registry (the connection and its other uses stay).
- Auth: secret key or user session
- Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes | |
id | string | yes |
Identity
| Operation | Endpoint | Auth |
|---|---|---|
me.get | GET /v1/me | dashboard user session |
me.update | PATCH /v1/me | dashboard user session |
me.slugRedirect | GET /v1/me/slug-redirect | dashboard user session |
onboarding.profile.get | GET /v1/orgs/{org}/onboarding/profile | dashboard user session · org:admin |
onboarding.profile.update | PATCH /v1/orgs/{org}/onboarding/profile | dashboard user session · org:admin |
onboarding.keys.create | POST /v1/orgs/{org}/onboarding/keys | dashboard user session · org:admin · sudo |
onboarding.orgs.create | POST /v1/onboarding/orgs | dashboard user session |
identity.poke | POST /v1/webhooks/identity | webhook signature |
crmFeed.poke | POST /v1/webhooks/crm | webhook signature |
me.get
GET /v1/me – The signed-in person in Growth Intelligence: GI memberships (never the org role member) with their projects, plan state and products, preferences, last project.
The person and their organizations are the account's (X3 Konto); this answer is GI's view of them (auth.me of S on a GI path).
- Auth: dashboard user session
- Response: 200 JSON (
Me)
me.update
PATCH /v1/me – Update GI's display preferences; name, language, time zone and phone go to the account (X3 Konto) on the person's behalf.
Demo sessions write only to the session (cookie x3_demo_prefs on the dashboard), never to the shared demo user.
- Auth: dashboard user session
- Response: 200 JSON (
Me) - Body: application/json (
MeUpdate)
me.slugRedirect
GET /v1/me/slug-redirect – New organization slug for a renamed one (members only; others get null).
- Auth: dashboard user session
- Response: 200 JSON (
SlugRedirect)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes |
onboarding.profile.get
GET /v1/orgs/{org}/onboarding/profile – Company profile of the onboarding (industry and size from X3 Konto, revenue band, agency target, setup call consent and plan interest of GI).
- Auth: dashboard user session ·
org:admin - Response: 200 JSON (
OrgProfile)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
onboarding.profile.update
PATCH /v1/orgs/{org}/onboarding/profile – Update the company profile of the onboarding: GI's answers here, industry and size at X3 Konto on the person's behalf.
- Auth: dashboard user session ·
org:admin - Response: 200 JSON (
OrgProfileUpdateResult) - Body: application/json (
OrgProfileUpdate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
onboarding.keys.create
POST /v1/orgs/{org}/onboarding/keys – A secret key of the guided setup (Claude Code, website server), created at X3 Konto on the person's behalf – the value is returned once.
- Auth: dashboard user session ·
org:admin· sudo - Response: 201 JSON (
ApiKeyCreated) - Body: application/json (
SecretKeyCreate)
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
org | string | yes |
onboarding.orgs.create
POST /v1/onboarding/orgs – A new organization for the signed-in person from a Growth Intelligence flow (onboarding without an organization, „Neuer Kunde“), created at X3 Konto on the person's behalf.
- Auth: dashboard user session
- Response: 201 JSON (
Organization) - Body: application/json (
OrganizationCreate)
identity.poke
POST /v1/webhooks/identity – Poke of the identity feed (Standard Webhooks, signed by the account); GI pulls the feed after it.
- Auth: webhook signature
- Response: 202, no body
crmFeed.poke
POST /v1/webhooks/crm – Poke of the Sales Engine's event feed (Standard Webhooks, signed by the CRM); GI pulls crm.events.feed after it (docs/internal/SPLIT.md §6.4).
- Auth: webhook signature
- Response: 202, no body
Widgets
| Operation | Endpoint | Auth |
|---|---|---|
widgets.token | POST /v1/app/widgets/token | user session or X3 App token · X3 App |
widgets.summary | GET /v1/widgets/summary | public |
widgets.projects | GET /v1/widgets/projects | public |
widgets.token
POST /v1/app/widgets/token – X3 App: a read-only token for the app's home and lock screen widgets (30 days, bound to the app's sign-in).
Only the X3 App (first-party OAuth token) can call it; a dashboard session answers 403. The token is accepted by widgets.summary and widgets.projects only.
- Auth: user session or X3 App token · X3 App
- Response: 200 JSON (
WidgetToken)
widgets.summary
GET /v1/widgets/summary – Widgets: visitors, leads, ad spend and cost per lead today, yesterday and the last 7 days per project.
Needs the widget token (Authorization: Bearer x3w_…); an invalid, expired or ended token answers 401 invalid_token. Projects: those the app's sign-in reaches with analytics:read, demo projects left out when real ones exist. projects picks and orders them, otherwise the top limit by leads and visitors today. „Today“ is each project's own calendar day; money in the project currency. Test traffic never counts.
- Auth: public
- Response: 200 JSON (
WidgetSummary)
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
projects | string | no | |
limit | int | no |
widgets.projects
GET /v1/widgets/projects – Widgets: the projects a widget can show (for the project choice when editing a widget).
Needs the widget token (Authorization: Bearer x3w_…), like widgets.summary.
- Auth: public
- Response: 200 JSON (
WidgetProjectList)
Assistant
| Operation | Endpoint | Auth |
|---|---|---|
assistant.status | GET /v1/projects/{project}/assistant | secret key or user session · analytics:read |
assistant.chats.list | GET /v1/projects/{project}/assistant/chats | secret key or user session · analytics:read |
assistant.chats.create | POST /v1/projects/{project}/assistant/chats | secret key or user session · analytics:read · X3 App |
assistant.chats.get | GET /v1/projects/{project}/assistant/chats/{chat} | secret key or user session · analytics:read |
assistant.chats.rename | PATCH /v1/projects/{project}/assistant/chats/{chat} | secret key or user session · analytics:read · X3 App |
assistant.chats.delete | DELETE /v1/projects/{project}/assistant/chats/{chat} | secret key or user session · analytics:read · X3 App |
assistant.chats.restore | POST /v1/projects/{project}/assistant/chats/{chat}/restore | secret key or user session · analytics:read · X3 App |
assistant.chats.send | POST /v1/projects/{project}/assistant/chats/{chat}/messages | secret key or user session · analytics:read · X3 App |
assistant.chats.regenerate | POST /v1/projects/{project}/assistant/chats/{chat}/regenerate | secret key or user session · analytics:read · X3 App |
assistant.chats.edit | POST /v1/projects/{project}/assistant/chats/{chat}/edit | secret key or user session · analytics:read · X3 App |
assistant.chats.continue | POST /v1/projects/{project}/assistant/chats/{chat}/continue | secret key or user session · analytics:read · X3 App |
assistant.turns.get | GET /v1/projects/{project}/assistant/turns/{turn} | secret key or user session · analytics:read |
assistant.turns.stop | POST /v1/projects/{project}/assistant/turns/{turn}/stop | secret key or user session · analytics:read · X3 App |
assistant.turns.stream | GET /v1/projects/{project}/assistant/turns/{turn}/stream | secret key or user session · analytics:read |
assistant.approvals.decide | POST /v1/projects/{project}/assistant/approvals/{approval} | secret key or user session · analytics:read · X3 App · Idempotency-Key |
assistant.status
GET /v1/projects/{project}/assistant – Whether the assistant is available in this project for the signed-in person (plan, role, monthly cap) and the project's currency and time zone.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
assistant.chats.list
GET /v1/projects/{project}/assistant/chats – The person's assistant chats in this project, newest activity first; q searches titles and message text.
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
q | string | no | |
limit | string | no |
assistant.chats.create
POST /v1/projects/{project}/assistant/chats – Start a chat with its first message (optionally with the view it was asked from); the answer streams over assistant.turns.stream.
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 201 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
text | string | yes | |
context | object | no |
assistant.chats.get
GET /v1/projects/{project}/assistant/chats/{chat} – One chat with its visible messages (stored answers carry their steps and tool rows).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
assistant.chats.rename
PATCH /v1/projects/{project}/assistant/chats/{chat} – Rename a chat (the title stops following the first message).
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 200 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
title | string | yes |
assistant.chats.delete
DELETE /v1/projects/{project}/assistant/chats/{chat} – Delete a chat (restorable for 30 days with assistant.chats.restore; a running turn is stopped).
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 204, no body
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
assistant.chats.restore
POST /v1/projects/{project}/assistant/chats/{chat}/restore – Undo the deletion of a chat.
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
assistant.chats.send
POST /v1/projects/{project}/assistant/chats/{chat}/messages – Send a message; 409 chat_busy while a turn of the chat is still running.
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 201 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
text | string | yes | |
context | object | no |
assistant.chats.regenerate
POST /v1/projects/{project}/assistant/chats/{chat}/regenerate – Answer the last question again (the earlier answer is hidden); skipWrites leaves out the write actions that already ran.
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 201 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
messageId | string | yes | |
skipWrites | boolean | no |
assistant.chats.edit
POST /v1/projects/{project}/assistant/chats/{chat}/edit – Edit the last question and resend it (the old question and its answer are hidden).
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 201 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
messageId | string | yes | |
text | string | yes | |
skipWrites | boolean | no |
assistant.chats.continue
POST /v1/projects/{project}/assistant/chats/{chat}/continue – Continue after a stop, the step or time limit or the loop guard.
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 201 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
chat | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
turnId | string | yes |
assistant.turns.get
GET /v1/projects/{project}/assistant/turns/{turn} – State of a turn (the polling fallback of the stream).
- Auth: secret key or user session ·
analytics:read - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
turn | string | yes |
assistant.turns.stop
POST /v1/projects/{project}/assistant/turns/{turn}/stop – Stop a running turn (text and finished tool rows so far stay).
- Auth: secret key or user session ·
analytics:read· X3 App - Response: 200 JSON
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
turn | string | yes |
assistant.turns.stream
GET /v1/projects/{project}/assistant/turns/{turn}/stream – Server-sent events of a turn (protocol v2: event: <kind>, id: <seq>, data: <envelope>); closes after 55 s with bye, reconnect with Last-Event-ID.
- Auth: secret key or user session ·
analytics:read - Response: 200 event-stream
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
turn | string | yes |
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
lastEventId | string | no |
assistant.approvals.decide
POST /v1/projects/{project}/assistant/approvals/{approval} – Approve or decline a write action the assistant asked for; the turn continues.
- Auth: secret key or user session ·
analytics:read· X3 App ·Idempotency-Key - Response: 200 JSON
- Body: application/json
Path parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project | string | yes | Project id, project-slug or org-slug/project-slug (URL-encode the slash as %2F) |
approval | string | yes |
Body fields:
| Name | Type | Required | Description |
|---|---|---|---|
decision | "approve" | "decline" | yes |