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

OperationEndpointAuth
system.healthGET /v1/healthpublic
system.cronGET /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:

NameTypeRequiredDescription
jobstringyes

Ingest

OperationEndpointAuth
ingest.collectPOST /v1/epublishable key (pk_3x_…)
ingest.collectAliasPOST /v1/collectpublishable key (pk_3x_…)
ingest.clientConfigGET /v1/c/{pk}publishable key (pk_3x_…)
ingest.scriptGET /v1/s/{file}public
ingest.sdkPackageGET /v1/sdk/{file}public
ingest.replayPOST /v1/rpublishable key (pk_3x_…)
ingest.replayCssPOST /v1/r/csspublishable key (pk_3x_…)
ingest.heartbeatGET /v1/hb/{pk}publishable key (pk_3x_…)
ingest.livePOST /v1/lpublishable key (pk_3x_…)
ingest.snapSessionPOST /v1/snap/sessionpublishable key (pk_3x_…)
ingest.snapPOST /v1/snappublishable key (pk_3x_…)
ingest.privacyPageGET /v1/privacy/{pk}public
ingest.privacyErasePOST /v1/privacy/{pk}/erasepublic
ingest.privacyExportPOST /v1/privacy/{pk}/exportpublic
ingest.assetGET /v1/apublic
ingest.deployHookPOST /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:

NameTypeRequiredDescription
pkstringyes

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:

NameTypeRequiredDescription
filestringyes

Query parameters:

NameTypeRequiredDescription
kstringno

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:

NameTypeRequiredDescription
filestringyes

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:

NameTypeRequiredDescription
pkstringyes

Query parameters:

NameTypeRequiredDescription
sstringyes
pstringno
bstringno
csstringno
vstringno

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:

NameTypeRequiredDescription
pkstringyes

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:

NameTypeRequiredDescription
pkstringyes

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:

NameTypeRequiredDescription
pkstringyes

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:

NameTypeRequiredDescription
ustringyes
pstringyes
tstringyes

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:

NameTypeRequiredDescription
projectIdstringyes

Events

OperationEndpointAuth
ingest.serverEventsPOST /v1/projects/{project}/eventssecret key or user session · events:write · Idempotency-Key
analytics.liveEventsGET /v1/projects/{project}/events/livesecret key or user session · analytics:read
events.catalogGET /v1/projects/{project}/event-catalogsecret key or user session · analytics:read
eventSchemas.upsertPUT /v1/projects/{project}/event-schemas/{name}secret key or user session · config:write
eventSchemas.deleteDELETE /v1/projects/{project}/event-schemas/{name}secret key or user session · config:write
events.validatePOST /v1/events/validatepublic

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
cursorstringno
waitstringno
namesstring | string[]no
pagestringno
sessionstringno
channelsstringno
limitstringno
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
namestringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
namestringyes

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

OperationEndpointAuth
app.meGET /v1/app/meuser session or X3 App token
app.errors.reportPOST /v1/app/errorsuser session or X3 App token · X3 App
auth.demoLoginPOST /v1/auth/demopublic
tablePrefs.getGET /v1/auth/me/tables/{table}user session or X3 App token
tablePrefs.putPUT /v1/auth/me/tables/{table}user session or X3 App token
tablePrefs.resetDELETE /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:

NameTypeRequiredDescription
tablestringyes

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:

NameTypeRequiredDescription
tablestringyes

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:

NameTypeRequiredDescription
tablestringyes

Query parameters:

NameTypeRequiredDescription
part"layout" | "views" | "all"no

Projects

OperationEndpointAuth
projects.logo.putPUT /v1/projects/{project}/logosecret key or user session · project:admin
projects.logo.deleteDELETE /v1/projects/{project}/logosecret key or user session · project:admin
projects.listGET /v1/projectssecret key or user session
projects.createPOST /v1/orgs/{org}/projectssecret key or user session · project:create
projects.presetsGET /v1/orgs/{org}/project-presetssecret key or user session
projects.getGET /v1/projects/{project}secret key or user session
projects.updatePATCH /v1/projects/{project}secret key or user session · project:admin
projects.deleteDELETE /v1/projects/{project}secret key or user session · org:admin · sudo
projects.moveTargetsGET /v1/projects/{project}/move/targetssecret key or user session · org:admin
projects.movePreviewPOST /v1/projects/{project}/move/previewsecret key or user session · org:admin
projects.movePOST /v1/projects/{project}/movesecret key or user session · org:admin
projects.getConfigGET /v1/projects/{project}/configsecret key or user session · analytics:read
projects.updateConfigPATCH /v1/projects/{project}/configsecret key or user session · project:admin
projects.origins.getGET /v1/projects/{project}/originssecret key or user session · analytics:read
projects.origins.updatePOST /v1/projects/{project}/originssecret key or user session · project:admin
projects.statusGET /v1/projects/{project}/statussecret key or user session · analytics:read
projects.purgeDataPOST /v1/projects/{project}/purgesecret key or user session · project:admin · sudo
autoCapture.getGET /v1/projects/{project}/auto-capturesecret key or user session · analytics:read
autoCapture.updatePATCH /v1/projects/{project}/auto-capturesecret key or user session · config:write
projects.modePreviewGET /v1/projects/{project}/mode-previewsecret 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
orgstringno
slugstringno

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

projects.get

GET /v1/projects/{project} – Project.

  • Auth: secret key or user session
  • Response: 200 JSON (Project)

Path parameters:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
scope"all" | "range" | "test"yes
fromstringno
tostringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
mode"leads" | "shop" | "mixed"no
lead_qualification"0" | "1" | "true" | "false"no
model"last_click" | "first_touch" | "linear" | "position" | "time_decay" | "session"no

Organizations

OperationEndpointAuth
logos.fileGET /v1/logos/{kind}/{id}/{version}public
mcpCalls.listGET /v1/orgs/{org}/mcp-callssecret key or user session · org:admin
mcpCalls.exportGET /v1/orgs/{org}/mcp-calls/export.csvsecret key or user session · org:admin
intelligenceAudit.listGET /v1/orgs/{org}/intelligence/auditsecret key or user session · org:admin
intelligenceAudit.exportGET /v1/orgs/{org}/intelligence/audit/export.csvsecret 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:

NameTypeRequiredDescription
kind"org" | "project"yes
idstringyes
versionstringyes

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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
projectstringno
limitstringno
cursorstringno
count"capped" | "none"no
sortstringnoComma-separated field:dir (max. 3); sortable: at, tool, result, client, label, duration_ms, rows
fieldsstringnoComma-separated columns for CSV/MCP output: at, tool, result, client, label, project, duration_ms, rows, error
qstringnoSearch: tool, app or key
f.atstringnoTime (date): before | after | between, e.g. after:2026-10-01
f.toolstringnoTool (text): eq | in | contains, e.g. contains:text
f.resultstringnoResult (enum): eq | in, e.g. in:ok,error
f.clientstringnoAccess (enum): eq | in, e.g. in:oauth,claude_code_key
f.labelstringnoApp or key (text): eq | in | contains, e.g. contains:text
f.duration_msstringnoDuration (ms) (number): eq | gte | lte | between, e.g. between:10,60
f.rowsstringnoRows (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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
projectstringno
sortstringnoComma-separated field:dir (max. 3); sortable: at, tool, result, client, label, duration_ms, rows
fieldsstringnoComma-separated columns for CSV/MCP output: at, tool, result, client, label, project, duration_ms, rows, error
qstringnoSearch: tool, app or key
f.atstringnoTime (date): before | after | between, e.g. after:2026-10-01
f.toolstringnoTool (text): eq | in | contains, e.g. contains:text
f.resultstringnoResult (enum): eq | in, e.g. in:ok,error
f.clientstringnoAccess (enum): eq | in, e.g. in:oauth,claude_code_key
f.labelstringnoApp or key (text): eq | in | contains, e.g. contains:text
f.duration_msstringnoDuration (ms) (number): eq | gte | lte | between, e.g. between:10,60
f.rowsstringnoRows (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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
limitstringno
cursorstringno
projectstringno
actionstringno
count"capped" | "none"no
sortstringnoComma-separated field:dir (max. 3); sortable: at, action, actor_kind, actor, target_type
fieldsstringnoComma-separated columns for CSV/MCP output: at, action, actor_kind, actor, project, target_type
qstringnoSearch: change, who
f.atstringnoWhen (date): before | after | between, e.g. after:2026-10-01
f.actionstringnoChange (enum): eq | in, e.g. in:org.create,org.update
f.actor_kindstringnoWho (kind) (enum): eq | in, e.g. in:user,secret_key
f.actorstringnoWho (text): eq | in | contains | isEmpty, e.g. contains:text
f.target_typestringnoTarget (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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
projectstringno
actionstringno
locale"de" | "en"no
sortstringnoComma-separated field:dir (max. 3); sortable: at, action, actor_kind, actor, target_type
fieldsstringnoComma-separated columns for CSV/MCP output: at, action, actor_kind, actor, project, target_type
qstringnoSearch: change, who
f.atstringnoWhen (date): before | after | between, e.g. after:2026-10-01
f.actionstringnoChange (enum): eq | in, e.g. in:org.create,org.update
f.actor_kindstringnoWho (kind) (enum): eq | in, e.g. in:user,secret_key
f.actorstringnoWho (text): eq | in | contains | isEmpty, e.g. contains:text
f.target_typestringnoTarget (text): eq | in | contains | isEmpty, e.g. contains:text

Keys

OperationEndpointAuth
publishableKeys.listGET /v1/projects/{project}/publishable-keyssecret key or user session · analytics:read
publishableKeys.createPOST /v1/projects/{project}/publishable-keyssecret key or user session · project:admin
publishableKeys.rollPOST /v1/projects/{project}/publishable-keys/{id}/rollsecret key or user session · project:admin
proxyKeys.listGET /v1/projects/{project}/proxy-keyssecret key or user session · project:admin
proxyKeys.createPOST /v1/projects/{project}/proxy-keyssecret key or user session · project:admin
proxyKeys.revokeDELETE /v1/projects/{project}/proxy-keys/{id}secret key or user session · project:admin
publishableKeys.revokeDELETE /v1/projects/{project}/publishable-keys/{id}secret key or user session · project:admin
appConnect.authorizePOST /v1/projects/{project}/app-connectdashboard user session · project:admin · sudo
appConnect.tokenPOST /v1/app-connect/tokenpublic

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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

OperationEndpointAuth
analytics.overviewGET /v1/projects/{project}/analytics/overviewsecret key or user session · analytics:read
analytics.leadsGET /v1/projects/{project}/analytics/leadssecret key or user session · analytics:read
analytics.timeseriesGET /v1/projects/{project}/analytics/timeseriessecret key or user session · analytics:read
analytics.funnelGET /v1/projects/{project}/analytics/funnelsecret key or user session · analytics:read
analytics.funnelTrendGET /v1/projects/{project}/analytics/funnel/trendsecret key or user session · analytics:read
analytics.funnelBreakdownGET /v1/projects/{project}/analytics/funnel/breakdownsecret key or user session · analytics:read
analytics.funnelChangesGET /v1/projects/{project}/analytics/funnel/changessecret key or user session · analytics:read
analytics.funnelCohortsGET /v1/projects/{project}/analytics/funnel/cohortssecret key or user session · analytics:read
analytics.funnelTimingGET /v1/projects/{project}/analytics/funnel/timingsecret key or user session · analytics:read
analytics.funnelDropoffGET /v1/projects/{project}/analytics/funnel/dropoffsecret key or user session · analytics:read
analytics.breakdownGET /v1/projects/{project}/analytics/breakdownsecret key or user session · analytics:read
analytics.relevanceRankingGET /v1/projects/{project}/analytics/relevance-rankingsecret key or user session · analytics:read
analytics.pagesGET /v1/projects/{project}/analytics/pagessecret key or user session · analytics:read
analytics.scrollGET /v1/projects/{project}/analytics/scrollsecret key or user session · analytics:read
analytics.sectionsGET /v1/projects/{project}/analytics/sectionssecret key or user session · analytics:read
analytics.engagementGET /v1/projects/{project}/analytics/engagementsecret key or user session · analytics:read
analytics.clicksGET /v1/projects/{project}/analytics/clickssecret key or user session · analytics:read
analytics.videosGET /v1/projects/{project}/analytics/videossecret key or user session · analytics:read
analytics.videoRetentionGET /v1/projects/{project}/analytics/videos/{video}/retentionsecret key or user session · analytics:read
analytics.videoTimelineGET /v1/projects/{project}/analytics/videos/{video}/timelinesecret key or user session · analytics:read
analytics.videoTitlePUT /v1/projects/{project}/analytics/videos/{video}/titlesecret key or user session · config:write
analytics.answersGET /v1/projects/{project}/analytics/answerssecret key or user session · analytics:read
analytics.flowGET /v1/projects/{project}/analytics/flowsecret key or user session · analytics:read
analytics.goalsGET /v1/projects/{project}/analytics/goalssecret key or user session · analytics:read
analytics.filterOptionsGET /v1/projects/{project}/analytics/filter-optionssecret key or user session · analytics:read
analytics.eventsGET /v1/projects/{project}/analytics/eventssecret key or user session · analytics:read
sql.queryPOST /v1/projects/{project}/sqlsecret key or user session · analytics:read
schema.getGET /v1/projects/{project}/schemasecret key or user session · analytics:read
analytics.outboundLinksGET /v1/projects/{project}/analytics/outbound-linkssecret key or user session · analytics:read
analytics.downloadsGET /v1/projects/{project}/analytics/downloadssecret key or user session · analytics:read
analytics.notFoundGET /v1/projects/{project}/analytics/not-foundsecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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"noadds previous: the comparison period, aligned bucket by bucket (index and weekday)
split"channel_group" | "channel" | "device" | "entry_group" | "relevance_band"noadds split: published sessions per bucket and value (top N, the rest as „Weitere“); relevance_band = the tier bands
topstringnovalues 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno
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
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno
daysstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
funnelstringnoFunnel key (default funnel when omitted)
order"sequential" | "any" | "independent"nosequential = strict order, any = every step in any order, independent = each step on its own. Default: the funnel's mode
unit"session" | "visitor" | "journey"nosession (default), visitor (across days only with consent, else the daily hash) or journey
windowstringnoConversion window in seconds from the first step (default: the visit for session, 7 days otherwise)
compare"previous" | "previous_year" | "custom" | "off"noComparison range: previous, previous_year, custom (compare_from/compare_to) or off (default)
compare_fromstringno
compare_tostringno
stepstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
sortstringno
dir"asc" | "desc"no
limitstringno
min_sessionsstringno
modelobjectno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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_sessionsstringno
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
limitstringno
cursorstringno
modelobjectno
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: page or page group
f.pagestringnoPage (text): eq | in | contains, e.g. contains:text
f.groupstringnoPage group (text): eq | in | contains, e.g. contains:text
f.sessionsstringnoVisits (number): eq | gte | lte | between, e.g. between:10,60
f.pageviewsstringnoViews (number): eq | gte | lte | between, e.g. between:10,60
f.entriesstringnoEntries (number): eq | gte | lte | between, e.g. between:10,60
f.interestedRatestringnoInterested (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.foldOnlyRatestringnoTop only (number): eq | gte | lte | between, e.g. between:10,60
f.avgEngagedSstringnoAvg. active (number): eq | gte | lte | between, e.g. between:10,60
f.leadsstringnoLeads (number): eq | gte | lte | between, e.g. between:10,60
f.leadRatestringnoLead rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.interestedstringnoInterested entries (number): eq | gte | lte | between, e.g. between:10,60
f.hotstringnoHot entries (number): eq | gte | lte | between, e.g. between:10,60
f.hotRatestringnoHot % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.interestedToLeadstringnoInterested → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.hotToLeadstringnoHot → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.qualifiedLeadsstringnoQualified leads (number): eq | gte | lte | between, e.g. between:10,60
f.exitsstringnoExits (number): eq | gte | lte | between, e.g. between:10,60
f.exitRatestringnoExit rate (number): eq | gte | lte | between, e.g. between:10,60
f.avgScrollPctstringnoAvg. scroll depth (number): eq | gte | lte | between, e.g. between:10,60
f.medianScrollPctstringnoMedian scroll depth (number): eq | gte | lte | between, e.g. between:10,60
f.clicksstringnoClicks (number): eq | gte | lte | between, e.g. between:10,60
f.clicksPerPageviewstringnoClicks per view (number): eq | gte | lte | between, e.g. between:10,60
f.videoPlaysstringnoVideo plays (number): eq | gte | lte | between, e.g. between:10,60
f.videoStartRatestringnoViews with video (number): eq | gte | lte | between, e.g. between:10,60
f.variantsstringnoVariants (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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
limitstringno
cursorstringno
sortstringnoComma-separated field:dir (max. 3); sortable: title, video, titleSource, plays, sessions, startRate, hookRate, halfRate, completionRate, avgWatchedS, avgCoveragePct, avgDurationS, leads, leadRate, lastPlayAt
fieldsstringnoComma-separated columns for CSV/MCP output: title, video, titleSource, plays, sessions, startRate, hookRate, halfRate, completionRate, avgWatchedS, avgCoveragePct, avgDurationS, leads, leadRate, lastPlayAt
qstringnoSearch: video name or id
f.titlestringnoVideo (text): eq | in | contains, e.g. contains:text
f.videostringnoId (text): eq | in | contains, e.g. contains:text
f.titleSourcestringnoName from (enum): eq | in, e.g. in:manual,attribute
f.playsstringnoPlays (number): eq | gte | lte | between, e.g. between:10,60
f.sessionsstringnoVisits with a play (number): eq | gte | lte | between, e.g. between:10,60
f.startRatestringnoStart rate (number): eq | gte | lte | between, e.g. between:10,60
f.hookRatestringnoWatch 3 s (number): eq | gte | lte | between, e.g. between:10,60
f.halfRatestringnoTo the middle (number): eq | gte | lte | between, e.g. between:10,60
f.completionRatestringnoTo the end (number): eq | gte | lte | between, e.g. between:10,60
f.avgWatchedSstringnoAvg. watched (number): eq | gte | lte | between, e.g. between:10,60
f.avgCoveragePctstringnoAvg. watched (share) (number): eq | gte | lte | between, e.g. between:10,60
f.avgDurationSstringnoLength (number): eq | gte | lte | between, e.g. between:10,60
f.leadsstringnoLeads afterwards (number): eq | gte | lte | between, e.g. between:10,60
f.leadRatestringnoLead rate (number): eq | gte | lte | between, e.g. between:10,60
f.lastPlayAtstringnoLast 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
videostringyes

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
stepstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
videostringyes

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
videostringyes

Body fields:

NameTypeRequiredDescription
titlestring | nullyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
questionnairestringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
namesstring | string[]no
propsstringno
prop_keystringno
prop_textstringno
session_idstringno
order"asc" | "desc"no
limitstringno
sortstringnoComma-separated field:dir (max. 3); sortable: at, name, page, channel, utm_campaign, utm_content, device, source
fieldsstringnoComma-separated columns for CSV/MCP output: at, name, page, channel, utm_campaign, utm_content, device, source, props
qstringnoSearch: event, page, campaign
f.atstringnoTime (date): before | after | between, e.g. after:2026-10-01
f.namestringnoEvent (text): eq | in | contains, e.g. contains:text
f.pagestringnoPage (text): eq | in | contains, e.g. contains:text
f.channelstringnoChannel (enum): eq | in, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_contentstringnoContent (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text
f.devicestringnoDevice (enum): eq | in, e.g. in:mobile,tablet
f.sourcestringnoSource (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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
querystringyes
maxRowsintno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
sortstringno
qstringno
limitstringno
f.hoststringno
f.clicksstringno
f.sessionsstringno
f.leadsstringno
f.lastAtstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
sortstringno
qstringno
limitstringno
f.filestringno
f.extstringno
f.downloadsstringno
f.sessionsstringno
f.leadsstringno
f.lastAtstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
sortstringno
qstringno
limitstringno
f.pathstringno
f.hitsstringno
f.sessionsstringno
f.internalHitsstringno
f.viastringno
f.firstDaystringno
f.lastAtstringno

Sessions

OperationEndpointAuth
sessions.listGET /v1/projects/{project}/sessionssecret key or user session · analytics:read
sessions.exportGET /v1/projects/{project}/sessions/export.csvsecret key or user session · analytics:read
sessions.getGET /v1/projects/{project}/sessions/{sessionId}secret key or user session · analytics:read
sessions.markTestPOST /v1/projects/{project}/sessions/mark-testsecret key or user session · project:admin · Idempotency-Key
sessions.unseenGET /v1/projects/{project}/sessions/unseensecret key or user session · analytics:read
sessions.seenPOST /v1/projects/{project}/sessions/seensecret key or user session · analytics:read · X3 App · Idempotency-Key
sessions.seenAllPOST /v1/projects/{project}/sessions/seen-allsecret key or user session · analytics:read · X3 App · Idempotency-Key
sessions.leadCandidatesGET /v1/projects/{project}/sessions/{sessionId}/lead-candidatessecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
sortstringnofield[: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
fieldsstringnoComma-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
qstringnoSearch: campaign, page, source
f.started_atstringnoStart (date): before | after | between, e.g. after:2026-10-01
f.channelstringnoChannel (enum): eq | in, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_sourcestringnoSource (utm_source) (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_mediumstringnoMedium (utm_medium) (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_contentstringnoContent (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text
f.ad_platformstringnoAd platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads
f.ref_hoststringnoReferrer (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains, e.g. contains:text
f.exit_pagestringnoExit page (text): eq | in | contains | isEmpty, e.g. contains:text
f.devicestringnoDevice (enum): eq | in, e.g. in:mobile,tablet
f.browserstringnoBrowser (enum): eq | in, e.g. in:chrome,safari
f.osstringnoOS (enum): eq | in, e.g. in:windows,macos
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.platformstringnoPlatform (enum): eq | in, e.g. in:web,ios
f.app_versionstringnoApp version (text): eq | in | contains | isEmpty, e.g. contains:text
f.pagesstringnoPages (number): eq | gte | lte | between, e.g. between:10,60
f.engagedstringnoActive (number): eq | gte | lte | between, e.g. between:10,60
f.durationstringnoTotal duration (number): eq | gte | lte | between, e.g. between:10,60
f.clicksstringnoClicks (number): eq | gte | lte | between, e.g. between:10,60
f.scrollstringnoScroll depth (number): eq | gte | lte | between, e.g. between:10,60
f.videostringnoVideo watched (number): eq | gte | lte | between, e.g. between:10,60
f.relevancestringnoInterest (number): eq | gte | lte | between, e.g. between:10,60
f.has_leadstringnoWith inquiry (boolean): eq, e.g. eq:true
f.leadstringnoLead (boolean): eq, e.g. eq:true
f.convertedstringnoGoal reached (boolean): eq, e.g. eq:true
f.consentstringnoConsent (boolean): eq, e.g. eq:true
f.stitchstringnoStitching (enum): eq | in, e.g. in:new,memory
f.variantstringnoPage variant (text): eq | in | contains | isEmpty, e.g. contains:text
f.recordingstringnoRecording (enum): eq | in | isEmpty, e.g. in:recording,reconstruction
f.playablestringnoPlayable (boolean): eq, e.g. eq:true
f.frictionstringnoFriction (number): eq | gte | lte | between, e.g. between:10,60
f.ragestringnoRage clicks (number): eq | gte | lte | between, e.g. between:10,60
f.deadstringnoDead clicks (number): eq | gte | lte | between, e.g. between:10,60
f.notablestringnoNotable for (enum): eq | in | isEmpty, e.g. in:lead,converted
f.seenstringnoSeen (boolean): eq, e.g. eq:true
limitstringno
offsetstringno
cursorstringno
count"exact" | "capped" | "none"no
playlist"lost_leads" | "quiz_drop" | "rage" | "whatsapp_no_lead" | "inquired" | "frustrated" | "converted" | "wa_no_lead" | "rage_clicks"noSmart 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"notrue = each row carries markers, the mini timeline of the visit (≤ 12)
queue"0" | "1" | "true" | "false"notrue = 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
sortstringnofield[: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
fieldsstringnoComma-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
qstringnoSearch: campaign, page, source
f.started_atstringnoStart (date): before | after | between, e.g. after:2026-10-01
f.channelstringnoChannel (enum): eq | in, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_sourcestringnoSource (utm_source) (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_mediumstringnoMedium (utm_medium) (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_contentstringnoContent (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text
f.ad_platformstringnoAd platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads
f.ref_hoststringnoReferrer (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains, e.g. contains:text
f.exit_pagestringnoExit page (text): eq | in | contains | isEmpty, e.g. contains:text
f.devicestringnoDevice (enum): eq | in, e.g. in:mobile,tablet
f.browserstringnoBrowser (enum): eq | in, e.g. in:chrome,safari
f.osstringnoOS (enum): eq | in, e.g. in:windows,macos
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.platformstringnoPlatform (enum): eq | in, e.g. in:web,ios
f.app_versionstringnoApp version (text): eq | in | contains | isEmpty, e.g. contains:text
f.pagesstringnoPages (number): eq | gte | lte | between, e.g. between:10,60
f.engagedstringnoActive (number): eq | gte | lte | between, e.g. between:10,60
f.durationstringnoTotal duration (number): eq | gte | lte | between, e.g. between:10,60
f.clicksstringnoClicks (number): eq | gte | lte | between, e.g. between:10,60
f.scrollstringnoScroll depth (number): eq | gte | lte | between, e.g. between:10,60
f.videostringnoVideo watched (number): eq | gte | lte | between, e.g. between:10,60
f.relevancestringnoInterest (number): eq | gte | lte | between, e.g. between:10,60
f.has_leadstringnoWith inquiry (boolean): eq, e.g. eq:true
f.leadstringnoLead (boolean): eq, e.g. eq:true
f.convertedstringnoGoal reached (boolean): eq, e.g. eq:true
f.consentstringnoConsent (boolean): eq, e.g. eq:true
f.stitchstringnoStitching (enum): eq | in, e.g. in:new,memory
f.variantstringnoPage variant (text): eq | in | contains | isEmpty, e.g. contains:text
f.recordingstringnoRecording (enum): eq | in | isEmpty, e.g. in:recording,reconstruction
f.playablestringnoPlayable (boolean): eq, e.g. eq:true
f.frictionstringnoFriction (number): eq | gte | lte | between, e.g. between:10,60
f.ragestringnoRage clicks (number): eq | gte | lte | between, e.g. between:10,60
f.deadstringnoDead clicks (number): eq | gte | lte | between, e.g. between:10,60
f.notablestringnoNotable for (enum): eq | in | isEmpty, e.g. in:lead,converted
f.seenstringnoSeen (boolean): eq, e.g. eq:true
playlist"lost_leads" | "quiz_drop" | "rage" | "whatsapp_no_lead" | "inquired" | "frustrated" | "converted" | "wa_no_lead" | "rage_clicks"noSmart 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
sessionIdstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
fieldsstringnoComma-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
qstringnoSearch: campaign, page, source
f.started_atstringnoStart (date): before | after | between, e.g. after:2026-10-01
f.channelstringnoChannel (enum): eq | in, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_sourcestringnoSource (utm_source) (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_mediumstringnoMedium (utm_medium) (text): eq | in | contains | isEmpty, e.g. contains:text
f.utm_contentstringnoContent (utm_content) (text): eq | in | contains | isEmpty, e.g. contains:text
f.ad_platformstringnoAd platform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads
f.ref_hoststringnoReferrer (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains, e.g. contains:text
f.exit_pagestringnoExit page (text): eq | in | contains | isEmpty, e.g. contains:text
f.devicestringnoDevice (enum): eq | in, e.g. in:mobile,tablet
f.browserstringnoBrowser (enum): eq | in, e.g. in:chrome,safari
f.osstringnoOS (enum): eq | in, e.g. in:windows,macos
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.platformstringnoPlatform (enum): eq | in, e.g. in:web,ios
f.app_versionstringnoApp version (text): eq | in | contains | isEmpty, e.g. contains:text
f.pagesstringnoPages (number): eq | gte | lte | between, e.g. between:10,60
f.engagedstringnoActive (number): eq | gte | lte | between, e.g. between:10,60
f.durationstringnoTotal duration (number): eq | gte | lte | between, e.g. between:10,60
f.clicksstringnoClicks (number): eq | gte | lte | between, e.g. between:10,60
f.scrollstringnoScroll depth (number): eq | gte | lte | between, e.g. between:10,60
f.videostringnoVideo watched (number): eq | gte | lte | between, e.g. between:10,60
f.relevancestringnoInterest (number): eq | gte | lte | between, e.g. between:10,60
f.has_leadstringnoWith inquiry (boolean): eq, e.g. eq:true
f.leadstringnoLead (boolean): eq, e.g. eq:true
f.convertedstringnoGoal reached (boolean): eq, e.g. eq:true
f.consentstringnoConsent (boolean): eq, e.g. eq:true
f.stitchstringnoStitching (enum): eq | in, e.g. in:new,memory
f.variantstringnoPage variant (text): eq | in | contains | isEmpty, e.g. contains:text
f.recordingstringnoRecording (enum): eq | in | isEmpty, e.g. in:recording,reconstruction
f.playablestringnoPlayable (boolean): eq, e.g. eq:true
f.frictionstringnoFriction (number): eq | gte | lte | between, e.g. between:10,60
f.ragestringnoRage clicks (number): eq | gte | lte | between, e.g. between:10,60
f.deadstringnoDead clicks (number): eq | gte | lte | between, e.g. between:10,60
f.notablestringnoNotable for (enum): eq | in | isEmpty, e.g. in:lead,converted
f.seenstringnoSeen (boolean): eq, e.g. eq:true
playlist"lost_leads" | "quiz_drop" | "rage" | "whatsapp_no_lead" | "inquired" | "frustrated" | "converted" | "wa_no_lead" | "rage_clicks"noSmart 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
sessionIdstringyes

Query parameters:

NameTypeRequiredDescription
qstringno
limitstringno

Leads

OperationEndpointAuth
leads.markTestPOST /v1/projects/{project}/leads/mark-testsecret key or user session · project:admin · Idempotency-Key
leads.listGET /v1/projects/{project}/leadssecret key or user session
leads.reportPOST /v1/projects/{project}/leads/{id}/reportsecret key or user session · conversions:write + leads:read · X3 App
leads.getGET /v1/projects/{project}/leads/{id}secret key or user session
leads.stateGET /v1/projects/{project}/leads/{id}/statesecret key or user session
leads.createPOST /v1/projects/{project}/leadssecret key or user session · leads:write · X3 App · Idempotency-Key
leads.deleteDELETE /v1/projects/{project}/leads/{id}secret key or user session · leads:write
leads.exportGET /v1/projects/{project}/leads.csvsecret key or user session · leads:read
leads.exportViewGET /v1/projects/{project}/leads/view.csvsecret key or user session
leads.sessionsGET /v1/projects/{project}/leads/{id}/sessionssecret key or user session · analytics:read + leads:summary
leads.sessions.linkPOST /v1/projects/{project}/leads/{id}/sessionssecret key or user session · leads:write · X3 App
leads.sessions.unlinkPOST /v1/projects/{project}/leads/{id}/sessions/unlinksecret key or user session · leads:write · X3 App
leads.revealContactPOST /v1/projects/{project}/leads/{id}/reveal-contactsecret key or user session · leads:read · X3 App
leads.updatePipelinePATCH /v1/projects/{project}/leads/{id}/pipelinesecret key or user session · leads:status · X3 App
leads.notes.listGET /v1/projects/{project}/leads/{id}/notessecret key or user session · leads:status
leads.notes.createPOST /v1/projects/{project}/leads/{id}/notessecret key or user session · leads:status · X3 App
leads.revenueImportPOST /v1/projects/{project}/leads/revenuesecret key or user session · leads:status · Idempotency-Key
leads.statusHistoryGET /v1/projects/{project}/leads/{id}/status-historysecret key or user session
leads.undoStatusPOST /v1/projects/{project}/leads/{id}/status/undosecret key or user session · leads:status · X3 App
leads.mergePOST /v1/projects/{project}/leads/{id}/mergesecret key or user session · leads:status · X3 App
leads.mergedGET /v1/projects/{project}/leads/{id}/mergedsecret key or user session
leadReasons.listGET /v1/projects/{project}/lead-reasonssecret key or user session · analytics:read
leadReasons.createPOST /v1/projects/{project}/lead-reasonssecret key or user session · config:write · Idempotency-Key
leadReasons.updatePATCH /v1/projects/{project}/lead-reasons/{id}secret key or user session · config:write
leadReasons.archivePOST /v1/projects/{project}/lead-reasons/{id}/archivesecret key or user session · config:write
leads.visitorNotePOST /v1/projects/{project}/leads/notessecret key or user session · leads:write
crm.browserLeadPOST /v1/leadspublishable key (pk_3x_…)
leads.updatePATCH /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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno
fromstringno
tostringno
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"no
formstringno
source"identify" | "api" | "import"no
include_test"0" | "1" | "true" | "false"no
include_spam"0" | "1" | "true" | "false"no
statusstring | string[]no
gradestring | string[]no
qstringno
modelobjectno
has_journey"0" | "1" | "true" | "false"no
counts"0" | "1" | "true" | "false"no
contact"masked" | "full"no
limitstringno
cursorstringno
sortstringnoComma-separated field:dir (max. 3); sortable: channel, utm_campaign, entry_page, form, source, grade, status, reason, score, value, appointment_at, country, created_at
fieldsstringnoComma-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.channelstringnoChannel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains | isEmpty, e.g. contains:text
f.formstringnoForm (text): eq | in | contains | isEmpty, e.g. contains:text
f.sourcestringnoCaptured via (enum): eq | in, e.g. in:identify,api
f.gradestringnoFit (text): eq | in | contains | isEmpty, e.g. contains:text
f.statusstringnoStatus (enum): eq | in, e.g. in:new,contacted
f.reasonstringnoReason (text): eq | in | contains | isEmpty, e.g. contains:text
f.scorestringnoScore (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.valuestringnoValue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.appointment_atstringnoAppointment (date): before | after | between | isEmpty, e.g. after:2026-10-01
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.created_atstringnoReceived (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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
modelobjectno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno
fromstringno
tostringno
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"no
formstringno
source"identify" | "api" | "import"no
include_test"0" | "1" | "true" | "false"no
include_spam"0" | "1" | "true" | "false"no
statusstring | string[]no
gradestring | string[]no
qstringno
modelobjectno
has_journey"0" | "1" | "true" | "false"no
sortstringnoComma-separated field:dir (max. 3); sortable: channel, utm_campaign, entry_page, form, source, grade, status, reason, score, value, appointment_at, country, created_at
fieldsstringnoComma-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.channelstringnoChannel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains | isEmpty, e.g. contains:text
f.formstringnoForm (text): eq | in | contains | isEmpty, e.g. contains:text
f.sourcestringnoCaptured via (enum): eq | in, e.g. in:identify,api
f.gradestringnoFit (text): eq | in | contains | isEmpty, e.g. contains:text
f.statusstringnoStatus (enum): eq | in, e.g. in:new,contacted
f.reasonstringnoReason (text): eq | in | contains | isEmpty, e.g. contains:text
f.scorestringnoScore (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.valuestringnoValue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.appointment_atstringnoAppointment (date): before | after | between | isEmpty, e.g. after:2026-10-01
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.created_atstringnoReceived (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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
include_test"0" | "1" | "true" | "false"no

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
history_idstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Goals & funnels

OperationEndpointAuth
goals.listGET /v1/projects/{project}/goalssecret key or user session · analytics:read
goals.createPOST /v1/projects/{project}/goalssecret key or user session · config:write
goals.updatePATCH /v1/projects/{project}/goals/{key}secret key or user session · config:write
goals.deleteDELETE /v1/projects/{project}/goals/{key}secret key or user session · config:write
funnels.listGET /v1/projects/{project}/funnelssecret key or user session · analytics:read
funnels.createPOST /v1/projects/{project}/funnelssecret key or user session · config:write
funnels.updatePATCH /v1/projects/{project}/funnels/{key}secret key or user session · config:write
funnels.deleteDELETE /v1/projects/{project}/funnels/{key}secret key or user session · config:write
questionnaires.listGET /v1/projects/{project}/questionnairessecret key or user session · analytics:read
questionnaires.upsertPUT /v1/projects/{project}/questionnaires/{id}secret key or user session · config:write
questionnaires.deleteDELETE /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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

Body fields:

NameTypeRequiredDescription
namestringno
matchobjectno
isConversionbooleanno
role"lead" | "contact" | "step"no
valuenumber | nullno
sortintno
archivedbooleanno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

funnels.list

GET /v1/projects/{project}/funnels – Funnel definitions.

  • Auth: secret key or user session · analytics:read
  • Response: 200 JSON

Path parameters:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

Body fields:

NameTypeRequiredDescription
namestringno
mode"independent" | "sequential"no
stepsobject[]no
isDefaultbooleanno
sortintno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

questionnaires.list

GET /v1/projects/{project}/questionnaires – Questionnaire (quiz) definitions.

  • Auth: secret key or user session · analytics:read
  • Response: 200 JSON

Path parameters:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Body fields:

NameTypeRequiredDescription
labelstring | objectyes
questionsobject[]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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Relevance

OperationEndpointAuth
relevance.getGET /v1/projects/{project}/relevancesecret key or user session · analytics:read
relevance.updatePUT /v1/projects/{project}/relevancesecret key or user session · config:write
relevance.previewPOST /v1/projects/{project}/relevance/previewsecret key or user session · analytics:read
relevance.rescorePOST /v1/projects/{project}/relevance/rescoresecret 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
configobjectyes
notestringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
configobjectyes
sampleintno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Conversions

OperationEndpointAuth
conversions.listGET /v1/projects/{project}/conversionssecret key or user session · conversions:read
conversions.createPOST /v1/projects/{project}/conversionssecret key or user session · conversions:write · X3 App · Idempotency-Key
conversions.exportGET /v1/projects/{project}/conversions/export.csvsecret key or user session · conversions:read
conversions.getGET /v1/projects/{project}/conversions/{id}secret key or user session · conversions:read
conversions.retryPOST /v1/projects/{project}/conversions/{id}/retrysecret key or user session · conversions:write
conversions.retryRunPOST /v1/projects/{project}/conversions/{id}/retry-runsecret key or user session · conversions:write
conversions.bulkRetryPOST /v1/projects/{project}/conversions/bulk-retrysecret key or user session · conversions:write
conversions.unreportedGET /v1/projects/{project}/conversions/unreportedsecret key or user session · conversions:read
conversions.retryUnreportedPOST /v1/projects/{project}/conversions/retry-unreportedsecret key or user session · conversions:write
conversions.updateStatusPATCH /v1/projects/{project}/conversions/{id}/statussecret key or user session · conversions:write
conversions.beaconPOST /v1/cbpublishable key (pk_3x_…)
conversions.googleAdsFeedGET /v1/projects/{project}/feeds/google-ads.csvpublic
conversionDefinitions.listGET /v1/projects/{project}/conversion-definitionssecret key or user session · conversions:read
conversionDefinitions.upsertPUT /v1/projects/{project}/conversion-definitions/{key}secret key or user session · conversions:write + config:write
conversionDefinitions.deleteDELETE /v1/projects/{project}/conversion-definitions/{key}secret key or user session · conversions:write + config:write
destinations.listGET /v1/projects/{project}/destinationssecret key or user session · conversions:read
destinations.updatePUT /v1/projects/{project}/destinations/{provider}secret key or user session · project:admin · sudo
destinations.testPOST /v1/projects/{project}/destinations/{provider}/testsecret key or user session · project:admin
destinations.targetsGET /v1/projects/{project}/destinations/{provider}/targetssecret key or user session · project:admin
destinations.createTargetPOST /v1/projects/{project}/destinations/{provider}/targetssecret key or user session · project:admin
destinations.backfillPOST /v1/projects/{project}/destinations/{provider}/backfillsecret key or user session · conversions:write
adSignals.listGET /v1/projects/{project}/ad-signalssecret key or user session · conversions:read
adSignals.updatePATCH /v1/projects/{project}/ad-signalssecret key or user session · project:admin
adSignals.previewPOST /v1/projects/{project}/ad-signals/previewsecret key or user session · conversions:read
adSignals.sendTestPOST /v1/projects/{project}/ad-signals/testsecret key or user session · project:admin
adSignals.backfillPOST /v1/projects/{project}/ad-signals/backfillsecret key or user session · project:admin
adSignals.metaStatsPOST /v1/projects/{project}/ad-signals/meta-statssecret key or user session · conversions:read
adSignals.googleActionsGET /v1/projects/{project}/ad-signals/google-actionssecret key or user session · conversions:read
adSignals.customListGET /v1/projects/{project}/ad-signals/customsecret key or user session · conversions:read
adSignals.customCreatePOST /v1/projects/{project}/ad-signals/customsecret key or user session · project:admin
adSignals.customUpdatePATCH /v1/projects/{project}/ad-signals/custom/{key}secret key or user session · project:admin
adSignals.customDeleteDELETE /v1/projects/{project}/ad-signals/custom/{key}secret key or user session · project:admin
adSignals.customBackfillPOST /v1/projects/{project}/ad-signals/custom/{key}/backfillsecret key or user session · project:admin
adSignals.customPreviewPOST /v1/projects/{project}/ad-signals/custom/previewsecret key or user session · conversions:read
conversions.matchQualityGET /v1/projects/{project}/analytics/match-qualitysecret key or user session · conversions:read
purchases.createPOST /v1/projects/{project}/purchasessecret key or user session · conversions:write · Idempotency-Key
purchases.refundPOST /v1/projects/{project}/purchases/refundssecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
status"held" | "pending" | "uploaded" | "skipped"no
source"quiz" | "booking" | "whatsapp_manual" | "manual" | "event" | "goal" | "lead" | "api" | "purchase" | "leadmagnet"no
definitionstringno
session_idstringno
provider"meta" | "linkedin" | "google_ads" | "tiktok"no
provider_status"pending" | "uploaded" | "feed" | "failed" | "skipped" | "not_configured" | "dry_run" | "error"no
daysstringno
fromstringno
tostringno
lead_idstringno
include_test"0" | "1" | "true" | "false"no
limitstringno
cursorstringno
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: goal, campaign, page
f.created_atstringnoRecorded (date): before | after | between, e.g. after:2026-10-01
f.occurred_atstringnoOccurred (date): before | after | between, e.g. after:2026-10-01
f.definitionstringnoConversion (text): eq | in | contains | isEmpty, e.g. contains:text
f.sourcestringnoTrigger (enum): eq | in, e.g. in:quiz,booking
f.originstringnoCaptured via (enum): eq | in, e.g. in:web,server
f.statusstringnoStatus (enum): eq | in, e.g. in:held,pending
f.valuestringnoValue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.channelstringnoChannel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains | isEmpty, e.g. contains:text
f.attemptsstringnoAttempts (number): eq | gte | lte | between, e.g. between:10,60
f.skip_reasonstringnoSkipped because (enum): eq | in | isEmpty, e.g. in:held_expired,web_daily_cap
f.order_idstringnoOrder id (text): eq | in | contains | isEmpty, e.g. contains:text
f.refunded_valuestringnoRefunded (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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
status"held" | "pending" | "uploaded" | "skipped"no
source"quiz" | "booking" | "whatsapp_manual" | "manual" | "event" | "goal" | "lead" | "api" | "purchase" | "leadmagnet"no
definitionstringno
session_idstringno
provider"meta" | "linkedin" | "google_ads" | "tiktok"no
provider_status"pending" | "uploaded" | "feed" | "failed" | "skipped" | "not_configured" | "dry_run" | "error"no
daysstringno
fromstringno
tostringno
lead_idstringno
include_test"0" | "1" | "true" | "false"no
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: goal, campaign, page
f.created_atstringnoRecorded (date): before | after | between, e.g. after:2026-10-01
f.occurred_atstringnoOccurred (date): before | after | between, e.g. after:2026-10-01
f.definitionstringnoConversion (text): eq | in | contains | isEmpty, e.g. contains:text
f.sourcestringnoTrigger (enum): eq | in, e.g. in:quiz,booking
f.originstringnoCaptured via (enum): eq | in, e.g. in:web,server
f.statusstringnoStatus (enum): eq | in, e.g. in:held,pending
f.valuestringnoValue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.channelstringnoChannel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains | isEmpty, e.g. contains:text
f.attemptsstringnoAttempts (number): eq | gte | lte | between, e.g. between:10,60
f.skip_reasonstringnoSkipped because (enum): eq | in | isEmpty, e.g. in:held_expired,web_daily_cap
f.order_idstringnoOrder id (text): eq | in | contains | isEmpty, e.g. contains:text
f.refunded_valuestringnoRefunded (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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
kstringyes
definitionstringyes
eventIdstringyes
sidstring | nullyes
pvstring | nullyes
urlstring | nullyes
attrobject | nullyes
testbooleanyes
emstringno
emgstringno
fnstringno
lnstringno
phstringno
fbpstringno
fbcstringno
ttpstringno

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:

NameTypeRequiredDescription
projectstringyes

Query parameters:

NameTypeRequiredDescription
sourcestringno
definitionstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
provider"meta" | "linkedin" | "google_ads" | "tiktok"yes

Query parameters:

NameTypeRequiredDescription
accountstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
daysintno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Ads

OperationEndpointAuth
ads.connections.listGET /v1/projects/{project}/ad-connectionssecret key or user session · ads:read
ads.connections.createPOST /v1/projects/{project}/ad-connectionsdashboard user session · ads:write · sudo
ads.connections.completePOST /v1/projects/{project}/ad-connections/{id}/completedashboard user session · ads:write
ads.connections.discoverGET /v1/projects/{project}/ad-connections/{id}/accountssecret key or user session · ads:write
ads.connections.getGET /v1/projects/{project}/ad-connections/{id}secret key or user session · ads:read
ads.connections.deleteDELETE /v1/projects/{project}/ad-connections/{id}secret key or user session · ads:write · sudo
ads.accounts.listGET /v1/projects/{project}/ad-accountssecret key or user session · ads:read
ads.accounts.selectPUT /v1/projects/{project}/ad-accountssecret key or user session · ads:write
ads.sync.runPOST /v1/projects/{project}/ads/syncsecret key or user session · ads:write · X3 App
ads.sync.runsGET /v1/projects/{project}/ads/sync-runssecret key or user session · ads:read
ads.reportGET /v1/projects/{project}/ads/reportsecret key or user session · ads:read
ads.previewGET /v1/projects/{project}/ads/{platform}/{adId}/previewsecret key or user session · ads:read
ads.mediaGET /v1/projects/{project}/ads/mediasecret key or user session · ads:read
ads.accounts.confirmPOST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/confirmsecret key or user session · ads:write
ads.campaignScopes.listGET /v1/projects/{project}/ads/campaign-scopessecret key or user session · ads:read
ads.campaignScope.getGET /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scopesecret key or user session · ads:read
ads.campaignScope.previewPOST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scope/previewsecret key or user session · ads:read
ads.campaignScope.setPUT /v1/projects/{project}/ad-accounts/{platform}/{accountId}/campaign-scopesecret key or user session · ads:write
ads.accounts.rejectPOST /v1/projects/{project}/ad-accounts/{platform}/{accountId}/rejectsecret key or user session · ads:write
ads.timeseriesGET /v1/projects/{project}/ads/timeseriessecret key or user session · ads:read
ads.unmatchedGET /v1/projects/{project}/ads/unmatchedsecret key or user session · ads:read
ads.gapsGET /v1/projects/{project}/ads/unmatched/diagnosissecret key or user session · ads:read
ads.urlSuffix.getGET /v1/projects/{project}/ads/url-suffixsecret key or user session · ads:read
ads.urlSuffix.setPOST /v1/projects/{project}/ads/url-suffixsecret key or user session · ads:write
ads.entitiesGET /v1/projects/{project}/ads/entitiessecret key or user session · ads:read
ads.mappingRules.listGET /v1/projects/{project}/ads/mapping-rulessecret key or user session · ads:read
ads.mappingRules.createPOST /v1/projects/{project}/ads/mapping-rulessecret key or user session · ads:write
ads.mappingRules.deleteDELETE /v1/projects/{project}/ads/mapping-rules/{id}secret key or user session · ads:write
ads.unknownCampaignsGET /v1/projects/{project}/ads/unknown-campaignssecret key or user session · ads:read
ads.manualEntities.listGET /v1/projects/{project}/ads/manual-entitiessecret key or user session · ads:read
ads.manualEntities.upsertPUT /v1/projects/{project}/ads/manual-entitiessecret key or user session · ads:write
ads.manualEntities.deleteDELETE /v1/projects/{project}/ads/manual-entities/{id}secret key or user session · ads:write
ads.manualEntities.acknowledgePOST /v1/projects/{project}/ads/manual-entities/{id}/acknowledgesecret key or user session · ads:write
ads.utmTemplatesGET /v1/projects/{project}/ads/utm-templatessecret key or user session · ads:read
ads.orgConnections.listGET /v1/orgs/{org}/ad-connectionssecret key or user session · org:admin
ads.orgConnections.createPOST /v1/orgs/{org}/ad-connectionsdashboard user session · org:admin · sudo
ads.orgConnections.completePOST /v1/orgs/{org}/ad-connections/{id}/completedashboard user session · org:admin
ads.orgConnections.discoverGET /v1/orgs/{org}/ad-connections/{id}/accountssecret key or user session · org:admin
ads.orgConnections.deleteDELETE /v1/orgs/{org}/ad-connections/{id}dashboard user session · org:admin · sudo
ads.webhookPOST /v1/webhooks/composiowebhook signature
adConnectLinks.createPOST /v1/projects/{project}/ad-connect-linkssecret key or user session · ads:write
adConnectLinks.listGET /v1/projects/{project}/ad-connect-linkssecret key or user session · ads:read
adConnectLinks.revokeDELETE /v1/projects/{project}/ad-connect-links/{id}secret key or user session · ads:write
ads.statusHistoryGET /v1/projects/{project}/ads/status-historysecret key or user session · ads:read
media.thumbGET /v1/media/thumbpublic

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
limitstringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: campaign, ad set or ad name
f.namestringnoName (text): eq | in | contains, e.g. contains:text
f.platformstringnoPlatform (enum): eq | in | isEmpty, e.g. in:google_ads,meta_ads
f.spendstringnoSpend (number): eq | gte | lte | between, e.g. between:10,60
f.leadsstringnoLeads (number): eq | gte | lte | between, e.g. between:10,60
f.cplstringnoCost per lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.qualifiedstringnoFit by questionnaire (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.sessionsstringnoVisits (number): eq | gte | lte | between, e.g. between:10,60
f.relevantSessionsstringnoInterested visits (number): eq | gte | lte | between, e.g. between:10,60
f.engagedPlusSessionsstringnoInterested (number): eq | gte | lte | between, e.g. between:10,60
f.hotPlusSessionsstringnoHot visitors (number): eq | gte | lte | between, e.g. between:10,60
f.avgRelevancestringnoAvg. interest (number): eq | gte | lte | between, e.g. between:10,60
f.impressionsstringnoImpressions (number): eq | gte | lte | between, e.g. between:10,60
f.clicksstringnoClicks (number): eq | gte | lte | between, e.g. between:10,60
f.cpcstringnoCost per click (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.ctrstringnoCTR (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.costPerSessionstringnoCost per visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.costPerRelevantSessionstringnoCost per interested visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.costPerEngagedSessionstringnoPer interested visitor (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.conversionsstringnoConversions (number): eq | gte | lte | between, e.g. between:10,60
f.conversionValuestringnoConversion value (number): eq | gte | lte | between, e.g. between:10,60
f.costPerConversionstringnoCost per conversion (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.roasstringnoROAS (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.platformConversionsstringnoPlatform conversions (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.platformCpastringnoPlatform CPA (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.platformRoasstringnoPlatform ROAS (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.hookRatestringnoHook rate (3 s) (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.visitorsstringnoVisitors (number): eq | gte | lte | between, e.g. between:10,60
f.visitRatestringnoClick to visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.cpmstringnoCPM (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.engagedPlusRatestringnoInterested % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.hotPlusRatestringnoHot % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.leadRatestringnoLead rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.engagedToLeadstringnoInterested → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.hotToLeadstringnoHot → lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.contactAttemptsstringnoContact attempts (number): eq | gte | lte | between, e.g. between:10,60
f.contactRatestringnoContact attempts % (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.conversionRatestringnoConversion share (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.bounceRatestringnoBounce rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.avgEngagedSstringnoAvg. active time (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.avgPagesstringnoPages per visit (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.costPerHotSessionstringnoCost per hot visitor (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.statusstringnoStatus (own) (enum): eq | in | isEmpty, e.g. in:active,paused
f.effective_statusstringnoStatus (enum): eq | in | isEmpty, e.g. in:active,paused
f.qualified_leadsstringnoQualified leads (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.cost_per_qualified_leadstringnoCost per qualified lead (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.disqualified_sharestringnoDisqualified share (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.customersstringnoCustomers (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.crm_revenuestringnoRevenue (customers) (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.roas_crmstringnoReal ROAS (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.cost_per_customerstringnoCost per customer (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.purchasesstringnoPurchases (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.revenuestringnoRevenue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.cost_per_purchasestringnoCost per purchase (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.aovstringnoAvg. order value (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.conversion_ratestringnoConversion rate (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
dir"asc" | "desc"no
limitstringno
cursorstringno
relevant_minstringno
modelobjectno
models"all"no
statusstring | string[]noEffective statuses to keep (repeat or comma-separate): active, paused, paused_parent, in_review, rejected, learning, learning_limited, ended, draft, deleted, unknown
quickobjectnoQuick filter: active_or_spend (default in the dashboard), active, with_spend, all
hide_deleted"0" | "1" | "true" | "false"noHide 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
adIdstringyes

Query parameters:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"no
fromstringno
tostringno
media"signed"nosigned: 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
accountIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
accountIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
accountIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
accountIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
accountIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
limitstringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"yes
account_idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
level"campaign" | "adset" | "ad"no
qstringno
limitstringno
statusstring | string[]noEffective statuses to keep (repeat or comma-separate): active, paused, paused_parent, in_review, rejected, learning, learning_limited, ended, draft, deleted, unknown
quickobjectnoQuick filter: active_or_spend (default in the dashboard), active, with_spend, all
hide_deleted"0" | "1" | "true" | "false"noHide 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes
idstringyes

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:

NameTypeRequiredDescription
orgstringyes
idstringyes

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:

NameTypeRequiredDescription
orgstringyes
idstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
level"campaign" | "adset" | "ad"no
entity_idstringno
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
tstringyessigned media token (m1.…)

Setup

OperationEndpointAuth
setup.frameworksGET /v1/setup/frameworkspublic
setup.detectPOST /v1/setup/detectpublic
setup.instructionsGET /v1/setup/instructionspublic
setup.snippetGET /v1/projects/{project}/setup/snippetsecret key or user session · project:admin
setup.verifyPOST /v1/projects/{project}/setup/verifysecret key or user session · project:admin
setup.statusGET /v1/projects/{project}/setup/statussecret key or user session · analytics:read
setup.progressPATCH /v1/projects/{project}/setupsecret key or user session · analytics:read
setup.installationGET /v1/projects/{project}/setup/installationsecret key or user session · analytics:read
setup.promptsGET /v1/projects/{project}/setup/promptssecret key or user session · analytics:read
setup.promptGET /v1/projects/{project}/setup/prompts/{kind}secret key or user session · analytics:read
setup.testConversionPOST /v1/projects/{project}/setup/test-conversionsecret key or user session · project:admin
setup.mcpActivityGET /v1/projects/{project}/setup/mcp-activitysecret key or user session · analytics:read
setup.detectStackPOST /v1/projects/{project}/setup/detect-stacksecret key or user session · analytics:read
setup.claudeGET /v1/projects/{project}/setup/claudesecret key or user session · analytics:read
setup.claudeEventsGET /v1/projects/{project}/setup/claude/eventssecret key or user session · analytics:read
setup.claudeUndoPOST /v1/projects/{project}/setup/claude/undodashboard 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:

NameTypeRequiredDescription
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
projectstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
sincestringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
stack"next-app" | "next-pages" | "react-vite" | "astro" | "wordpress" | "webflow-html" | "shopify" | "other" | "auto"no
site_urlstringno
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Docs

OperationEndpointAuth
docs.openapiGET /v1/openapi.jsonpublic
docs.listGET /v1/docspublic
docs.searchGET /v1/docs/searchpublic
docs.getGET /v1/docs/{slug}public
docs.getMarkdownGET /v1/docs/{slug}.mdpublic
docs.referenceGET /docs/apipublic
docs.referenceMarkdownGET /docs/api.mdpublic
docs.llmsGET /llms.txtpublic
docs.llmsFullGET /llms-full.txtpublic

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:

NameTypeRequiredDescription
qstringyes
limitstringno

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:

NameTypeRequiredDescription
slugstringyes

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:

NameTypeRequiredDescription
slugstringyes

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

OperationEndpointAuth
journeys.listGET /v1/projects/{project}/journeyssecret key or user session · analytics:read
journeys.exportGET /v1/projects/{project}/journeys/export.csvsecret key or user session · analytics:read
journeys.getGET /v1/projects/{project}/journeys/{id}secret key or user session · analytics:read
journeys.linkPOST /v1/projects/{project}/journeys/linksecret key or user session · leads:write
journeys.unlinkPOST /v1/projects/{project}/journeys/unlinksecret key or user session · leads:write
journeys.coverageGET /v1/projects/{project}/analytics/journeyssecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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_sessionsstringno
limitstringno
cursorstringno
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: campaign, source, landing page
f.last_seen_atstringnoLast seen (date): before | after | between, e.g. after:2026-10-01
f.first_seen_atstringnoFirst visit (date): before | after | between, e.g. after:2026-10-01
f.sessionsstringnoVisits (number): eq | gte | lte | between, e.g. between:10,60
f.span_daysstringnoSpan (days) (number): eq | gte | lte | between, e.g. between:10,60
f.devicesstringnoDevices (number): eq | gte | lte | between, e.g. between:10,60
f.leadsstringnoInquiries (number): eq | gte | lte | between, e.g. between:10,60
f.lead_statusstringnoLead status (enum): eq | in | isEmpty, e.g. in:new,contacted
f.convertedstringnoGoal reached (boolean): eq, e.g. eq:true
f.conversionsstringnoGoals reached (number): eq | gte | lte | between, e.g. between:10,60
f.first_channelstringnoFirst channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.last_channelstringnoLast channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.first_campaignstringnoFirst campaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.last_campaignstringnoLast campaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.first_sourcestringnoFirst source (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoFirst landing page (text): eq | in | contains | isEmpty, e.g. contains:text
f.engagedstringnoTotal active time (number): eq | gte | lte | between, e.g. between:10,60
f.max_relevancestringnoPeak 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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_sessionsstringno
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: campaign, source, landing page
f.last_seen_atstringnoLast seen (date): before | after | between, e.g. after:2026-10-01
f.first_seen_atstringnoFirst visit (date): before | after | between, e.g. after:2026-10-01
f.sessionsstringnoVisits (number): eq | gte | lte | between, e.g. between:10,60
f.span_daysstringnoSpan (days) (number): eq | gte | lte | between, e.g. between:10,60
f.devicesstringnoDevices (number): eq | gte | lte | between, e.g. between:10,60
f.leadsstringnoInquiries (number): eq | gte | lte | between, e.g. between:10,60
f.lead_statusstringnoLead status (enum): eq | in | isEmpty, e.g. in:new,contacted
f.convertedstringnoGoal reached (boolean): eq, e.g. eq:true
f.conversionsstringnoGoals reached (number): eq | gte | lte | between, e.g. between:10,60
f.first_channelstringnoFirst channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.last_channelstringnoLast channel (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.first_campaignstringnoFirst campaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.last_campaignstringnoLast campaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.first_sourcestringnoFirst source (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoFirst landing page (text): eq | in | contains | isEmpty, e.g. contains:text
f.engagedstringnoTotal active time (number): eq | gte | lte | between, e.g. between:10,60
f.max_relevancestringnoPeak 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
by"journey" | "session" | "lead"no

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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

OperationEndpointAuth
portfolio.summaryGET /v1/portfoliosecret key or user session · analytics:read
portfolio.leadsExportGET /v1/portfolio/leads/export.csvsecret key or user session · leads:summary
portfolio.liveGET /v1/portfolio/livesecret key or user session · analytics:read
portfolio.leadsGET /v1/portfolio/leadssecret key or user session · leads:summary
pulse.getGET /v1/projects/{project}/pulsesecret key or user session · analytics:read
pulse.badgesGET /v1/projects/{project}/pulse/badgessecret key or user session · analytics:read
recommendations.listGET /v1/projects/{project}/recommendationssecret key or user session · analytics:read + ads:read
recommendations.feedbackPOST /v1/projects/{project}/recommendations/{id}/feedbacksecret key or user session · ads:write · X3 App
alerts.listGET /v1/alertssecret key or user session · analytics:read
alerts.projectGET /v1/projects/{project}/alertssecret key or user session · analytics:read
alerts.updatePATCH /v1/alerts/{id}secret key or user session · X3 App
notices.listGET /v1/noticessecret key or user session · analytics:read
notices.updatePATCH /v1/orgs/{org}/notices/{key}secret key or user session · config:write · X3 App
notices.updateMinePATCH /v1/notices/{key}user session or X3 App token · X3 App
health.getGET /v1/projects/{project}/healthsecret key or user session · analytics:read
explain.getGET /v1/projects/{project}/explainsecret key or user session · analytics:read
search.queryGET /v1/searchsecret key or user session · analytics:read
budget.getGET /v1/projects/{project}/budgetsecret key or user session · ads:read
budget.putPUT /v1/projects/{project}/budgetsecret key or user session · ads:write · Idempotency-Key
orgs.clientReportPOST /v1/orgs/{org}/client-reportsecret key or user session · org:admin
orgs.clientReportSettingsGET /v1/orgs/{org}/client-reportsecret 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:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"noRange when from/to are absent. Default 7d (Letzte 7 Tage).
fromstringno
tostringno
cmp"prev" | "yoy" | "off" | "previous" | "previous_year"no
orgstringno
fields"switcher" | "full"no
display_currencystringno
tzstringno

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:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"noRange when from/to are absent. Default 7d (Letzte 7 Tage).
fromstringno
tostringno
cmp"prev" | "yoy" | "off" | "previous" | "previous_year"no
sortstringnoComma-separated field:dir (max. 3); sortable: client, channel, utm_campaign, entry_page, form, status, reason, grade, score, value, appointment_at, country, created_at
fieldsstringnoComma-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
qstringno
f.clientstringnoClient (text): eq | in | contains, e.g. contains:text
f.channelstringnoChannel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains | isEmpty, e.g. contains:text
f.formstringnoForm (text): eq | in | contains | isEmpty, e.g. contains:text
f.statusstringnoStatus (enum): eq | in, e.g. in:new,contacted
f.reasonstringnoReason (text): eq | in | contains | isEmpty, e.g. contains:text
f.gradestringnoFit (text): eq | in | contains | isEmpty, e.g. contains:text
f.scorestringnoScore (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.valuestringnoValue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.appointment_atstringnoAppointment (date): before | after | between | isEmpty, e.g. after:2026-10-01
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.created_atstringnoReceived (date): before | after | between, e.g. after:2026-10-01
limitstringno
orgstringno
statusstring | string[]no
gradestring | 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:

NameTypeRequiredDescription
orgstringno
projectsstringno
partsstringno
window"now" | "30m"no
sincestringno
display_currencystringno
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:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"noRange when from/to are absent. Default 7d (Letzte 7 Tage).
fromstringno
tostringno
cmp"prev" | "yoy" | "off" | "previous" | "previous_year"no
sortstringnoComma-separated field:dir (max. 3); sortable: client, channel, utm_campaign, entry_page, form, status, reason, grade, score, value, appointment_at, country, created_at
fieldsstringnoComma-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
qstringno
f.clientstringnoClient (text): eq | in | contains, e.g. contains:text
f.channelstringnoChannel (first contact) (enum): eq | in | isEmpty, e.g. in:google_ads,google_organic
f.utm_campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.entry_pagestringnoLanding page (text): eq | in | contains | isEmpty, e.g. contains:text
f.formstringnoForm (text): eq | in | contains | isEmpty, e.g. contains:text
f.statusstringnoStatus (enum): eq | in, e.g. in:new,contacted
f.reasonstringnoReason (text): eq | in | contains | isEmpty, e.g. contains:text
f.gradestringnoFit (text): eq | in | contains | isEmpty, e.g. contains:text
f.scorestringnoScore (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.valuestringnoValue (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.appointment_atstringnoAppointment (date): before | after | between | isEmpty, e.g. after:2026-10-01
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.created_atstringnoReceived (date): before | after | between, e.g. after:2026-10-01
limitstringno
cursorstringno
sincestringno
orgstringno
statusstring | string[]no
gradestring | 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"noRange when from/to are absent. Default 7d (Letzte 7 Tage).
fromstringno
tostringno
cmp"prev" | "yoy" | "off" | "previous" | "previous_year"no
modelobjectnoCounting 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"noRange when from/to are absent. Default 7d (Letzte 7 Tage).
fromstringno
tostringno
cmp"prev" | "yoy" | "off" | "previous" | "previous_year"no
modelobjectnoCounting 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
status"open" | "done" | "snoozed"no
orgstringno
projectstringnoProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
type"problem" | "attention" | "opportunity" | "setup" | "info"no
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
status"open" | "done" | "snoozed"no
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
idstringyes

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:

NameTypeRequiredDescription
orgstringno

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:

NameTypeRequiredDescription
orgstringyes
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:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"noRange when from/to are absent. Default 7d (Letzte 7 Tage).
fromstringno
tostringno
cmp"prev" | "yoy" | "off" | "previous" | "previous_year"no
modelobjectnoCounting 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:

NameTypeRequiredDescription
qstringyes
projectstringnoProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
typesstring | 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
monthstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

Connect

OperationEndpointAuth
connect.getGET /v1/connect/{code}public
connect.startPOST /v1/connect/{code}/startpublic
connect.callbackPOST /v1/connect/{code}/callbackpublic
connect.completePOST /v1/connect/{code}/completepublic

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:

NameTypeRequiredDescription
codestringyes

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:

NameTypeRequiredDescription
codestringyes

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:

NameTypeRequiredDescription
codestringyes

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:

NameTypeRequiredDescription
codestringyes

Presets

OperationEndpointAuth
presets.listGET /v1/orgs/{org}/presetssecret key or user session · analytics:read
presets.getGET /v1/orgs/{org}/presets/{preset}secret key or user session · analytics:read
presets.createPOST /v1/orgs/{org}/presetssecret key or user session · config:write · Idempotency-Key
presets.updatePATCH /v1/orgs/{org}/presets/{preset}secret key or user session · config:write
presets.duplicatePOST /v1/orgs/{org}/presets/{preset}/duplicatesecret key or user session · config:write
presets.archivePOST /v1/orgs/{org}/presets/{preset}/archivesecret key or user session · config:write
presets.unarchivePOST /v1/orgs/{org}/presets/{preset}/unarchivesecret key or user session · config:write
presets.previewRelevancePOST /v1/orgs/{org}/presets/preview-relevancesecret key or user session · analytics:read
presets.applyPOST /v1/projects/{project}/preset/applysecret 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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
orgstringyes
presetstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes
presetstringyes

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:

NameTypeRequiredDescription
orgstringyes
presetstringyes

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:

NameTypeRequiredDescription
orgstringyes
presetstringyes

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:

NameTypeRequiredDescription
orgstringyes
presetstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Annotations

OperationEndpointAuth
annotations.listGET /v1/projects/{project}/annotationssecret key or user session · analytics:read
annotations.createPOST /v1/projects/{project}/annotationssecret key or user session · Idempotency-Key
annotations.updatePATCH /v1/projects/{project}/annotations/{id}secret key or user session
annotations.deleteDELETE /v1/projects/{project}/annotations/{id}secret key or user session
annotations.orgListGET /v1/orgs/{org}/annotationssecret key or user session · analytics:read
annotations.orgDeleteDELETE /v1/orgs/{org}/annotations/{id}secret key or user session · org:admin
deployWebhooks.listGET /v1/projects/{project}/deploy-webhookssecret key or user session · project:admin
deployWebhooks.createPOST /v1/projects/{project}/deploy-webhookssecret key or user session · project:admin
deployWebhooks.revokeDELETE /v1/projects/{project}/deploy-webhooks/{id}secret key or user session · project:admin
deployWebhooks.receivePOST /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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringno
tostringno
kindstringnoComma-separated kinds
include_org"0" | "1" | "true" | "false"no
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
fromstringno
tostringno
kindstringnoComma-separated kinds
include_org"0" | "1" | "true" | "false"no
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
orgstringyes
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Search Console

OperationEndpointAuth
searchConsole.statusGET /v1/projects/{project}/search-consolesecret key or user session · analytics:read
searchConsole.connectPOST /v1/projects/{project}/search-console/connectiondashboard user session · project:admin · sudo
searchConsole.completePOST /v1/projects/{project}/search-console/connection/completedashboard user session · project:admin
searchConsole.disconnectDELETE /v1/projects/{project}/search-console/connectionsecret key or user session · project:admin · sudo
searchConsole.sitesGET /v1/projects/{project}/search-console/sitessecret key or user session · project:admin
searchConsole.selectPropertyPUT /v1/projects/{project}/search-console/propertysecret key or user session · project:admin · Idempotency-Key
searchConsole.syncPOST /v1/projects/{project}/search-console/syncsecret key or user session · project:admin · Idempotency-Key
searchConsole.runsGET /v1/projects/{project}/search-console/runssecret key or user session · analytics:read
searchConsole.reportGET /v1/projects/{project}/search-console/reportsecret key or user session · analytics:read
searchConsole.timeseriesGET /v1/projects/{project}/search-console/timeseriessecret key or user session · analytics:read
searchConsole.opportunitiesGET /v1/projects/{project}/search-console/opportunitiessecret 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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
fromstringno
tostringno
cmp"previous" | "previous_year" | "off"no
querystringnoOnly rows of this search query
pagestringnoOnly rows of this canonical X3 page path or GSC page URL
countrystringno
device"desktop" | "mobile" | "tablet"no
sortstringno
qstringno
fieldsstringno
cursorstringno
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"no
fromstringno
tostringno
cmp"previous" | "previous_year" | "off"no
querystringnoOnly rows of this search query
pagestringnoOnly rows of this canonical X3 page path or GSC page URL
countrystringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
preset"today" | "yesterday" | "7d" | "14d" | "30d" | "90d" | "365d" | "this_month" | "last_month" | "all" | "this_week" | "last_week" | "this_quarter"no
fromstringno
tostringno
cmp"previous" | "previous_year" | "off"no
limitstringno

Reports

OperationEndpointAuth
reports.subscriptions.listGET /v1/me/report-subscriptionsdashboard user session
reports.subscriptions.createPOST /v1/me/report-subscriptionsdashboard user session · Idempotency-Key
reports.subscriptions.updatePATCH /v1/me/report-subscriptions/{id}dashboard user session
reports.subscriptions.deleteDELETE /v1/me/report-subscriptions/{id}dashboard user session
reports.subscriptions.testPOST /v1/me/report-subscriptions/{id}/testdashboard user session · Idempotency-Key
reports.subscriptions.deliveriesGET /v1/me/report-subscriptions/{id}/deliveriesdashboard user session
reports.previewPOST /v1/me/report-previewdashboard user session
reports.unsubscribeInfoGET /v1/reports/unsubscribe/{token}public
reports.unsubscribePOST /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:

NameTypeRequiredDescription
idstringyes

reports.subscriptions.delete

DELETE /v1/me/report-subscriptions/{id} – Delete a subscription.

  • Auth: dashboard user session
  • Response: 204, no body

Path parameters:

NameTypeRequiredDescription
idstringyes

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:

NameTypeRequiredDescription
idstringyes

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:

NameTypeRequiredDescription
idstringyes

Query parameters:

NameTypeRequiredDescription
limitstringno

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:

NameTypeRequiredDescription
tokenstringyes

reports.unsubscribe

POST /v1/reports/unsubscribe/{token} – Unsubscribe by link token (public, one-click; idempotent).

  • Auth: public
  • Response: 200 JSON (ReportUnsubscribeInfo)

Path parameters:

NameTypeRequiredDescription
tokenstringyes

Shares

OperationEndpointAuth
shares.listGET /v1/projects/{project}/sharessecret key or user session · project:admin
shares.createPOST /v1/projects/{project}/sharessecret key or user session · project:admin · Idempotency-Key
shares.updatePATCH /v1/projects/{project}/shares/{id}secret key or user session · project:admin
shares.revokePOST /v1/projects/{project}/shares/{id}/revokesecret key or user session · project:admin
shares.rotateSecretPOST /v1/projects/{project}/shares/{id}/rotate-secretsecret key or user session · project:admin
shares.deleteDELETE /v1/projects/{project}/shares/{id}secret key or user session · project:admin
shares.public.getGET /v1/shares/{token}public
shares.public.unlockPOST /v1/shares/{token}/unlockpublic
shares.public.dataGET /v1/shares/{token}/datapublic
recordingShares.listGET /v1/projects/{project}/recording-sharessecret key or user session · recordings:read + project:admin
recordingShares.createPOST /v1/projects/{project}/recordings/{id}/sharessecret key or user session · recordings:read + project:admin · Idempotency-Key
recordingShares.revokePOST /v1/projects/{project}/recording-shares/{id}/revokesecret key or user session · recordings:read + project:admin
shares.public.recordingGET /v1/shares/{token}/recordingpublic

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
tokenstringyes

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:

NameTypeRequiredDescription
tokenstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Query parameters:

NameTypeRequiredDescription
section"kpis" | "timeseries" | "sources" | "campaigns" | "pages" | "countries" | "devices" | "goals" | "search" | "annotations" | "funnel"yes
preset"7d" | "30d" | "90d" | "this_month" | "last_month"no
ststringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
recordingstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Tasks

OperationEndpointAuth
tasks.listGET /v1/taskssecret key or user session · analytics:read
tasks.projectGET /v1/projects/{project}/taskssecret key or user session · analytics:read
tasks.updatePATCH /v1/tasks/{id}secret key or user session · X3 App
tasks.historyGET /v1/tasks/{id}/historysecret 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:

NameTypeRequiredDescription
scope"all" | "project" | "org" | "mine"no
orgstringno
projectstringnoProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
state"open" | "auto_resolved" | "done" | "snoozed" | "dismissed" | "resolved" | "all"noopen (default; includes snoozes that ran out), snoozed, done, auto_resolved, dismissed, resolved (done + auto_resolved of the last 30 days) or all
typestringnoOnly these types (comma-separated), e.g. budget_over,no_leads
kind"problem" | "attention" | "opportunity" | "setup" | "info"no
limitstringno
cursorstringno
resolvedSincestringnoOnly 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
state"open" | "auto_resolved" | "done" | "snoozed" | "dismissed" | "resolved" | "all"noopen (default; includes snoozes that ran out), snoozed, done, auto_resolved, dismissed, resolved (done + auto_resolved of the last 30 days) or all
typestringnoOnly these types (comma-separated), e.g. budget_over,no_leads
kind"problem" | "attention" | "opportunity" | "setup" | "info"no
limitstringno
cursorstringno
resolvedSincestringnoOnly 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:

NameTypeRequiredDescription
idstringyes

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:

NameTypeRequiredDescription
idstringyes

Runs

OperationEndpointAuth
runs.listGET /v1/projects/{project}/runssecret key or user session · analytics:read
runs.orgListGET /v1/orgs/{org}/runssecret key or user session · analytics:read
runs.getGET /v1/runs/{id}secret key or user session · analytics:read
runs.eventsGET /v1/projects/{project}/runs/eventssecret key or user session · analytics:read
runs.startPOST /v1/projects/{project}/runssecret key or user session · analytics:read
runs.orgStartPOST /v1/orgs/{org}/runssecret key or user session · analytics:read
runs.cancelPOST /v1/runs/{id}/cancelsecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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_idstringno
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
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_idstringno
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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_idstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
idstringyes

Behavior

OperationEndpointAuth
behavior.heatmapGET /v1/projects/{project}/behavior/heatmapsecret key or user session · analytics:read
behavior.heatmapImageGET /v1/projects/{project}/behavior/heatmap/imagesecret key or user session · analytics:read
behavior.compareGET /v1/projects/{project}/behavior/comparesecret key or user session · analytics:read
behavior.massGET /v1/projects/{project}/behavior/masssecret key or user session · analytics:read
behavior.boardGET /v1/projects/{project}/behavior/boardsecret key or user session · analytics:read
behavior.elementsGET /v1/projects/{project}/behavior/elementssecret key or user session · analytics:read
behavior.fieldsGET /v1/projects/{project}/behavior/fieldssecret key or user session · analytics:read
behavior.sessionsGET /v1/projects/{project}/behavior/sessionssecret key or user session · analytics:read
behavior.reconstructGET /v1/projects/{project}/behavior/reconstruct/{sessionId}secret key or user session · analytics:read
behavior.logGET /v1/projects/{project}/behavior/log/{sessionId}secret key or user session · analytics:read
snapshots.listGET /v1/projects/{project}/snapshotssecret key or user session · analytics:read
snapshots.recapturePOST /v1/projects/{project}/snapshots/recapturesecret key or user session · config:write
snapshots.captureLinkPOST /v1/projects/{project}/snapshots/capture-linksecret key or user session · config:write
snapshots.dataGET /v1/projects/{project}/snapshots/{id}/datasecret key or user session · analytics:read
snapshots.stageLinkGET /v1/projects/{project}/snapshots/{id}/stage-linksecret key or user session · analytics:read
snapshots.statesGET /v1/projects/{project}/snapshots/statessecret key or user session · analytics:read
snapshots.stateCreatePOST /v1/projects/{project}/snapshots/statessecret key or user session · config:write
snapshots.stateDeleteDELETE /v1/projects/{project}/snapshots/statessecret key or user session · config:write
snapshots.versionsGET /v1/projects/{project}/snapshots/versionssecret key or user session · analytics:read
behavior.settingsGET /v1/projects/{project}/settings/behaviorsecret key or user session · analytics:read
behavior.settingsUpdatePATCH /v1/projects/{project}/settings/behaviorsecret key or user session · project:admin
behavior.deployHookRotatePOST /v1/projects/{project}/behavior/deploy-hook/rotatesecret key or user session · project:admin
behavior.cmpCheckPOST /v1/projects/{project}/behavior/cmp-checksecret key or user session · project:admin
behavior.runsGET /v1/projects/{project}/behavior/runssecret key or user session · analytics:read
behavior.runGET /v1/projects/{project}/behavior/runs/{id}secret key or user session · analytics:read
behavior.perfImpactGET /v1/projects/{project}/behavior/perf-impactsecret key or user session · analytics:read
recordings.listGET /v1/projects/{project}/recordingssecret key or user session · analytics:read
recordings.exportGET /v1/projects/{project}/recordings/export.csvsecret key or user session · analytics:read
recordings.getGET /v1/projects/{project}/recordings/{id}secret key or user session · recordings:read
recordings.dataGET /v1/projects/{project}/recordings/{id}/datasecret key or user session · recordings:read
recordings.stageLinkGET /v1/projects/{project}/recordings/{id}/stage-linksecret key or user session · recordings:read
recordings.assetGET /v1/projects/{project}/replay-assets/{sha}secret key or user session · recordings:read
recordings.savePOST /v1/projects/{project}/recordings/{id}/savesecret key or user session · recordings:read + config:write · X3 App
recordings.deleteDELETE /v1/projects/{project}/recordings/{id}secret key or user session · project:admin
recordings.erasePOST /v1/projects/{project}/recordings/erasesecret key or user session · project:admin · Idempotency-Key
notes.listGET /v1/projects/{project}/behavior/notessecret key or user session · analytics:read
notes.createPOST /v1/projects/{project}/behavior/notessecret key or user session · config:write
notes.updatePATCH /v1/projects/{project}/behavior/notes/{id}secret key or user session · config:write
notes.deleteDELETE /v1/projects/{project}/behavior/notes/{id}secret key or user session · config:write
waRefs.getGET /v1/projects/{project}/wa-refs/{code}secret key or user session · analytics:read
behavior.orgSettingsGET /v1/orgs/{org}/settings/behaviorsecret key or user session
behavior.orgSettingsUpdatePATCH /v1/orgs/{org}/settings/behaviorsecret key or user session · org:admin
behavior.setupGET /v1/projects/{project}/behavior/setupsecret key or user session · analytics:read
behavior.cmpConfirmPOST /v1/projects/{project}/behavior/cmp-confirmsecret key or user session · project:admin
behavior.retentionPOST /v1/projects/{project}/behavior/retentionsecret key or user session · project:admin
behavior.sessionMediaGET /v1/projects/{project}/behavior/session-mediasecret key or user session · analytics:read
behavior.patternsGET /v1/projects/{project}/behavior/patternssecret key or user session · analytics:read
behavior.aiCredentialGET /v1/orgs/{org}/ai/credentialssecret key or user session
behavior.aiCredentialPutPUT /v1/orgs/{org}/ai/credentialssecret key or user session · org:admin
behavior.aiCredentialTestPOST /v1/orgs/{org}/ai/credentials/testsecret key or user session · org:admin
behavior.aiCredentialDeleteDELETE /v1/orgs/{org}/ai/credentialssecret key or user session · org:admin
behavior.aiStatusGET /v1/projects/{project}/behavior/aisecret key or user session · analytics:read
behavior.aiRunPOST /v1/projects/{project}/behavior/ai/runsecret key or user session · config:write
behavior.aiSummariesGET /v1/projects/{project}/behavior/ai/summariessecret key or user session · analytics:read
behavior.reportInappGET /v1/projects/{project}/behavior/reports/inappsecret key or user session · analytics:read
behavior.reportFrictionGET /v1/projects/{project}/behavior/reports/frictionsecret key or user session · analytics:read
behavior.reportChangeImpactGET /v1/projects/{project}/behavior/reports/change-impactsecret key or user session · analytics:read
behavior.reportClientGET /v1/projects/{project}/behavior/reports/clientsecret key or user session · analytics:read
behavior.reportSharesGET /v1/projects/{project}/behavior/reports/sharessecret key or user session · analytics:read
behavior.reportShareCreatePOST /v1/projects/{project}/behavior/reports/sharessecret key or user session · config:write
behavior.reportShareRevokePOST /v1/projects/{project}/behavior/reports/shares/{id}/revokesecret key or user session · config:write
behavior.reportSharePageGET /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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyesPage of the map, canonical path
bp"m" | "t" | "d"noBreakpoint m < 768 ≤ t < 1280 ≤ d (default d)
layer"clicks" | "scroll" | "attention" | "frust" | "rank" | "moves" | "money"noLayer (default clicks); moves needs recordings:read; money needs ads:read for money=cost
statestringnoOverlay state (default initial)
versionstringnolatest (default), all, or a structure hash
money"cost" | "value"no
inapp"0" | "1" | "true" | "false"noOnly 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyesPage of the map, canonical path
bp"m" | "t" | "d"noBreakpoint m < 768 ≤ t < 1280 ≤ d (default d)
layer"clicks" | "scroll" | "attention" | "frust" | "rank" | "moves" | "money"noLayer (default clicks); moves needs recordings:read
statestringnoOverlay state (default initial)
versionstringnolatest (default), all, or a structure hash
money"cost" | "value"no
inapp"0" | "1" | "true" | "false"noOnly in-app browsers (Instagram/Facebook webviews)
format"page" | "square" | "portrait" | "story"nopage (default), square 1080×1080, portrait 1080×1350, story 1080×1920
locale"de" | "en"noLanguage 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyesPage of the map, canonical path
bp"m" | "t" | "d"noBreakpoint m < 768 ≤ t < 1280 ≤ d (default d)
layer"clicks" | "scroll" | "attention" | "frust" | "rank" | "moves" | "money"noLayer (default clicks); moves needs recordings:read; money needs ads:read for money=cost
statestringnoOverlay state (default initial)
versionstringnolatest (default), all, or a structure hash
money"cost" | "value"no
inapp"0" | "1" | "true" | "false"noOnly in-app browsers (Instagram/Facebook webviews)
version_bstringnoStructure hash of side b (version comparison)
b_converted"0" | "1" | "true" | "false"noSide 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyes
bp"m" | "t" | "d"no
clock"page" | "session"no
bucket_s"1" | "2" | "5" | "0.5"no
max_tstringno
cohortstringnofrom:/page – only pageviews that came from that page
inapp"0" | "1" | "true" | "false"noOnly 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagesstringnoComma-separated pages to show (default: top 8)
anchorstringnoPage clock of this page (mass replay): plays start at its views, tiles show where those visitors are at t
cohortstringnoWith anchor: only views of the anchor page that came from that page
bp"m" | "t" | "d"no
bucket_s"1" | "2" | "5"no
max_tstringno
inapp"0" | "1" | "true" | "false"noOnly 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyes
bp"m" | "t" | "d"no
anchorstringno
sortstringnoComma-separated field:dir (max. 3); sortable: label, clicks, share, clickers, clickerCr, lift, dead, rage, spend
fieldsstringnoComma-separated columns for CSV/MCP output: label, clicks, share, clickers, clickerCr, lift, dead, rage, spend, anchor
qstringnoSearch: Search element
f.labelstringnoElement (text): eq | in | contains, e.g. contains:text
f.clicksstringnoClicks (number): eq | gte | lte | between, e.g. between:10,60
f.sharestringnoShare (number): eq | gte | lte | between, e.g. between:10,60
f.clickersstringnoClicking visits (number): eq | gte | lte | between, e.g. between:10,60
f.clickerCrstringnoEnquiry rate of clickers (number): eq | gte | lte | between, e.g. between:10,60
f.liftstringnoLift (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.deadstringnoDead clicks (number): eq | gte | lte | between, e.g. between:10,60
f.ragestringnoRage clicks (number): eq | gte | lte | between, e.g. between:10,60
f.spendstringnoSpend affected (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.anchorstringnoAnchor (text): eq | in | contains, e.g. contains:text
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyes
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
pagestringyes
bp"m" | "t" | "d"no
anchorstringno
t_fromstringno
t_tostringno
exit_atstringnoexit position bucket 0–99
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
sessionIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
sessionIdstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
sortstringnoComma-separated field:dir (max. 3); sortable: page, bp, state, status, source, version, capturedAt, pageviews, height
fieldsstringnoComma-separated columns for CSV/MCP output: page, bp, state, status, source, version, capturedAt, pageviews, height
qstringnoSearch: Search page or state
f.pagestringnoPage (text): eq | in | contains, e.g. contains:text
f.bpstringnoBreakpoint (enum): eq | in, e.g. in:m,t
f.statestringnoState (text): eq | in | contains, e.g. contains:text
f.statusstringnoStatus (enum): eq | in, e.g. in:ok,degraded
f.sourcestringnoSource (enum): eq | in, e.g. in:crawler,owner
f.versionstringnoVersion (text): eq | in | contains, e.g. contains:text
f.capturedAtstringnoCaptured (date): before | after | between | isEmpty, e.g. after:2026-10-01
f.pageviewsstringnoPageviews of this version (number): eq | gte | lte | between, e.g. between:10,60
f.heightstringnoHeight (number): eq | gte | lte | between, e.g. between:10,60
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
thumb"0" | "1" | "true" | "false"no

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
host"frame" | "native"yesnative = 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
pagestringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
pagestringyes
statestringyes
triggerAnchorstring | nullno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
pagestringyes
statestringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
pagestringno
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
urlstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
subjectstringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
adstringnoplaylist this_ad: ad id
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: Search entry page, campaign or ad
f.startedAtstringnoStart (date): before | after | between, e.g. after:2026-10-01
f.kindstringnoKind (enum): eq | in, e.g. in:recording,reconstruction
f.entryPagestringnoEntry page (text): eq | in | contains, e.g. contains:text
f.durationSstringnoDuration (number): eq | gte | lte | between, e.g. between:10,60
f.pagesstringnoPages (number): eq | gte | lte | between, e.g. between:10,60
f.channelstringnoChannel (enum): eq | in, e.g. in:google_ads,google_organic
f.campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.adstringnoAd (text): eq | in | contains | isEmpty, e.g. contains:text
f.devicestringnoDevice (enum): eq | in, e.g. in:m,t
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.intereststringnoInterest (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.tierstringnoTier (enum): eq | in | isEmpty, e.g. in:cold,interested
f.frictionstringnoFriction (number): eq | gte | lte | between, e.g. between:10,60
f.resultstringnoResult (enum): eq | in, e.g. in:lead,converted
f.ragestringnoRage clicks (number): eq | gte | lte | between, e.g. between:10,60
f.deadstringnoDead clicks (number): eq | gte | lte | between, e.g. between:10,60
f.keepReasonstringnoKept because (enum): eq | in | isEmpty, e.g. in:converted,lead
f.statusstringnoStatus (enum): eq | in, e.g. in:live,pending_drop
f.consentstringnoBasis (enum): eq | in, e.g. in:g,p
f.bytesstringnoSize (number): eq | gte | lte | between, e.g. between:10,60
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
adstringnoplaylist this_ad: ad id
sortstringnoComma-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
fieldsstringnoComma-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
qstringnoSearch: Search entry page, campaign or ad
f.startedAtstringnoStart (date): before | after | between, e.g. after:2026-10-01
f.kindstringnoKind (enum): eq | in, e.g. in:recording,reconstruction
f.entryPagestringnoEntry page (text): eq | in | contains, e.g. contains:text
f.durationSstringnoDuration (number): eq | gte | lte | between, e.g. between:10,60
f.pagesstringnoPages (number): eq | gte | lte | between, e.g. between:10,60
f.channelstringnoChannel (enum): eq | in, e.g. in:google_ads,google_organic
f.campaignstringnoCampaign (text): eq | in | contains | isEmpty, e.g. contains:text
f.adstringnoAd (text): eq | in | contains | isEmpty, e.g. contains:text
f.devicestringnoDevice (enum): eq | in, e.g. in:m,t
f.countrystringnoCountry (text): eq | in | contains | isEmpty, e.g. contains:text
f.intereststringnoInterest (number): eq | gte | lte | between | isEmpty, e.g. between:10,60
f.tierstringnoTier (enum): eq | in | isEmpty, e.g. in:cold,interested
f.frictionstringnoFriction (number): eq | gte | lte | between, e.g. between:10,60
f.resultstringnoResult (enum): eq | in, e.g. in:lead,converted
f.ragestringnoRage clicks (number): eq | gte | lte | between, e.g. between:10,60
f.deadstringnoDead clicks (number): eq | gte | lte | between, e.g. between:10,60
f.keepReasonstringnoKept because (enum): eq | in | isEmpty, e.g. in:converted,lead
f.statusstringnoStatus (enum): eq | in, e.g. in:live,pending_drop
f.consentstringnoBasis (enum): eq | in, e.g. in:g,p
f.bytesstringnoSize (number): eq | gte | lte | between, e.g. between:10,60
locale"de" | "en"nolanguage 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
host"frame" | "native"yesnative = 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
shastringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
pagestringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
pagestringyes
anchorstringyes
bodystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Body fields:

NameTypeRequiredDescription
bodystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
codestringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
idsstringyesComma-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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
adstringno

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
session_idsstringyesComma-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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
adstringnoOnly 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
pagestringyes
daysstringnoWindow 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
monthstringnoYYYY-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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

behavior.reportSharePage

GET /v1/share/behavior/{token} – Shared client report page (HTML, aggregates only, noindex).

  • Auth: public
  • Response: 200 html

Path parameters:

NameTypeRequiredDescription
tokenstringyes

Live

OperationEndpointAuth
live.tokenPOST /v1/projects/{project}/live/tokensecret key or user session · analytics:read · X3 App
live.streamGET /v1/live/{projectId}/streampublic
live.countGET /v1/projects/{project}/live/countsecret key or user session · analytics:read
live.geoGET /v1/projects/{project}/live/geosecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
window"now" | "30m"no

Experiments

OperationEndpointAuth
experiments.listGET /v1/projects/{project}/experimentssecret key or user session · analytics:read
experiments.createPOST /v1/projects/{project}/experimentssecret key or user session · config:write · Idempotency-Key
experiments.planPOST /v1/projects/{project}/experiments/plansecret key or user session · analytics:read
experiments.getGET /v1/projects/{project}/experiments/{experiment}secret key or user session · analytics:read
experiments.updatePATCH /v1/projects/{project}/experiments/{experiment}secret key or user session · config:write
experiments.planForPOST /v1/projects/{project}/experiments/{experiment}/plansecret key or user session · analytics:read
experiments.schedulePOST /v1/projects/{project}/experiments/{experiment}/schedulesecret key or user session · config:write · Idempotency-Key
experiments.startPOST /v1/projects/{project}/experiments/{experiment}/startsecret key or user session · config:write · Idempotency-Key
experiments.pausePOST /v1/projects/{project}/experiments/{experiment}/pausesecret key or user session · config:write · X3 App · Idempotency-Key
experiments.resumePOST /v1/projects/{project}/experiments/{experiment}/resumesecret key or user session · config:write · X3 App · Idempotency-Key
experiments.stopPOST /v1/projects/{project}/experiments/{experiment}/stopsecret key or user session · config:write · X3 App · Idempotency-Key
experiments.resultsGET /v1/projects/{project}/experiments/{experiment}/resultssecret key or user session · analytics:read
experiments.funnelGET /v1/projects/{project}/experiments/{experiment}/funnelsecret key or user session · analytics:read
experiments.decidePOST /v1/projects/{project}/experiments/{experiment}/decidesecret key or user session · project:admin · Idempotency-Key
experiments.rolloutPOST /v1/projects/{project}/experiments/{experiment}/rolloutsecret key or user session · config:write · X3 App · Idempotency-Key
experiments.revertPOST /v1/projects/{project}/experiments/{experiment}/revertsecret key or user session · config:write · X3 App · Idempotency-Key
experiments.extendPOST /v1/projects/{project}/experiments/{experiment}/extendsecret key or user session · project:admin · Idempotency-Key
experiments.cleanupGET /v1/projects/{project}/experiments/{experiment}/cleanupsecret key or user session · analytics:read
experiments.qaLinksPOST /v1/projects/{project}/experiments/{experiment}/qa-linkssecret key or user session · config:write
experiments.eventsGET /v1/projects/{project}/experiments/{experiment}/eventssecret key or user session · analytics:read
experiments.duplicatePOST /v1/projects/{project}/experiments/{experiment}/duplicatesecret key or user session · config:write · Idempotency-Key
experiments.archivePOST /v1/projects/{project}/experiments/{experiment}/archivesecret key or user session · config:write · Idempotency-Key
experiments.deleteDELETE /v1/projects/{project}/experiments/{experiment}secret key or user session · config:write
experiments.assignGET /v1/x/{pk}publishable key (pk_3x_…)
experiments.assignServerPOST /v1/x/{pk}/assignpublishable 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
statusstringnocomma-separated statuses
areastringno
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment id or flag key

Query parameters:

NameTypeRequiredDescription
funnelstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment id or flag key

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
experimentstringyesexperiment 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:

NameTypeRequiredDescription
pkstringyes

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:

NameTypeRequiredDescription
pkstringyes

Billing

OperationEndpointAuth
billing.usageGET /v1/orgs/{org}/billing/usagesecret key or user session · analytics:read
featureRequests.createPOST /v1/orgs/{org}/feature-requestssecret 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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

CRM

OperationEndpointAuth
crm.providersGET /v1/projects/{project}/crm/providerssecret key or user session · crm:read
crm.statusGET /v1/projects/{project}/crm/statussecret key or user session · crm:read
crm.connections.listGET /v1/projects/{project}/crm-connectionssecret key or user session · crm:read
crm.connections.createPOST /v1/projects/{project}/crm-connectionssecret key or user session · crm:write + leads:read
crm.connections.completePOST /v1/projects/{project}/crm-connections/{id}/completesecret key or user session · crm:write + leads:read · Idempotency-Key
crm.connections.updatePATCH /v1/projects/{project}/crm-connections/{id}secret key or user session · crm:write
crm.connections.deleteDELETE /v1/projects/{project}/crm-connections/{id}secret key or user session · crm:write
crm.connections.propertiesGET /v1/projects/{project}/crm-connections/{id}/propertiessecret key or user session · crm:read
crm.connections.pipelinesGET /v1/projects/{project}/crm-connections/{id}/pipelinessecret key or user session · crm:read
crm.mappings.getGET /v1/projects/{project}/crm-connections/{id}/mappingssecret key or user session · crm:read
crm.mappings.updatePUT /v1/projects/{project}/crm-connections/{id}/mappingssecret key or user session · crm:write + leads:read
crm.settings.getGET /v1/projects/{project}/crm/settingssecret key or user session · crm:read
crm.settings.updatePUT /v1/projects/{project}/crm/settingssecret key or user session · crm:write
crm.rules.listGET /v1/projects/{project}/crm-routing-rulessecret key or user session · crm:read
crm.rules.updatePUT /v1/projects/{project}/crm-routing-rulessecret key or user session · crm:write
crm.rules.testPOST /v1/projects/{project}/crm-routing-rules/testsecret key or user session · crm:read
crm.sync.runPOST /v1/projects/{project}/crm/syncsecret key or user session · crm:write · Idempotency-Key
crm.push.bulkPOST /v1/projects/{project}/crm/pushsecret key or user session · crm:write + leads:read · Idempotency-Key
crm.pushJobs.listGET /v1/projects/{project}/crm/push-jobssecret key or user session · crm:read
crm.pushJobs.retryPOST /v1/projects/{project}/crm/push-jobs/{id}/retrysecret key or user session · crm:write · Idempotency-Key
crm.pushJobs.releasePOST /v1/projects/{project}/crm/push-jobs/{id}/releasesecret key or user session · crm:write · Idempotency-Key
crm.reviews.listGET /v1/projects/{project}/crm/reviewssecret key or user session · crm:read
crm.reviews.resolvePOST /v1/projects/{project}/crm/reviews/{id}/resolvesecret key or user session · crm:write · Idempotency-Key
crm.searchGET /v1/projects/{project}/crm/searchsecret key or user session · crm:read + leads:read
crm.lead.getGET /v1/projects/{project}/leads/{id}/crmsecret key or user session · crm:read
crm.lead.pushPOST /v1/projects/{project}/leads/{id}/crmsecret key or user session · crm:write + leads:write · Idempotency-Key
crm.lead.salesImportPOST /v1/projects/{project}/leads/{id}/crm/salessecret key or user session · crm:write + leads:read · Idempotency-Key
crm.lead.linkPOST /v1/projects/{project}/leads/{id}/crm/linksecret key or user session · crm:write · Idempotency-Key
crm.lead.unlinkPOST /v1/projects/{project}/leads/{id}/crm/unlinksecret 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
statusstringnocomma-separated job statuses
connectionstringno
leadstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
connectionstringyes
qstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Lead setup

OperationEndpointAuth
leadSetup.getGET /v1/projects/{project}/lead-setupsecret key or user session · analytics:read
leadSetup.proposalGET /v1/projects/{project}/lead-setup/proposalsecret key or user session · analytics:read
leadSetup.proposalApplyPOST /v1/projects/{project}/lead-setup/proposal/applydashboard user session · config:write
leadSetup.proposalDiscardPOST /v1/projects/{project}/lead-setup/proposal/discarddashboard user session · config:write
leadSetup.stateGET /v1/projects/{project}/lead-setup/statesecret key or user session · analytics:read
leadSetup.inquiriesGET /v1/projects/{project}/lead-setup/inquiriessecret key or user session · analytics:read
leadSetup.estimatePOST /v1/projects/{project}/lead-setup/estimatesecret key or user session · analytics:read
leadSetup.applyPOST /v1/projects/{project}/lead-setup/applysecret key or user session · config:write · Idempotency-Key
leadSetup.undoPOST /v1/projects/{project}/lead-setup/undosecret key or user session · config:write
leadSetup.shopHintPOST /v1/projects/{project}/lead-setup/shop-hintsecret key or user session · config:write
leadSetup.forwardPOST /v1/projects/{project}/lead-setup/forwardsecret key or user session · analytics:read
leadSetup.scanPOST /v1/projects/{project}/site-scansecret key or user session · config:write
leadSetup.checkPOST /v1/projects/{project}/lead-setup/items/{key}/checksecret key or user session · analytics:read
leadSetup.laterPOST /v1/projects/{project}/lead-setup/items/{key}/latersecret key or user session · config:write
leadSetup.handoffPOST /v1/projects/{project}/lead-setup/handoffssecret key or user session · project:admin
leadSetup.installHandoffPOST /v1/projects/{project}/lead-setup/install-handoffsecret key or user session · project:admin
leadSetup.revokeHandoffPOST /v1/projects/{project}/lead-setup/handoffs/{id}/revokesecret key or user session · project:admin
setupBrief.getGET /v1/setup-brief/{token}public
setupBrief.markdownGET /v1/setup-brief/{token}/guidepublic
setupBrief.statusGET /v1/setup-brief/{token}/statuspublic
setupBrief.checkPOST /v1/setup-brief/{token}/checkpublic
setupBrief.contactPOST /v1/setup-brief/{token}/contactpublic

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringyes
tostringyes
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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
keystringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
tokenstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
tokenstringyes

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:

NameTypeRequiredDescription
tokenstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Platform admin

OperationEndpointAuth
platformAdmin.usageGET /v1/admin/usagedashboard user session
platformAdmin.usageCheckPOST /v1/admin/usage/checkdashboard user session
platformAdmin.usageSettingsGET /v1/admin/usage/settingsdashboard user session
platformAdmin.usageSettingsUpdatePUT /v1/admin/usage/settingsdashboard user session
platformAdmin.usageResetPOST /v1/admin/usage/orgs/{orgRef}/resetdashboard 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:

NameTypeRequiredDescription
orgRefstringyes

Notifications

OperationEndpointAuth
notifications.devices.registerPUT /v1/me/notifications/devicesuser session or X3 App token · X3 App
notifications.devices.listGET /v1/me/notifications/devicesuser session or X3 App token
notifications.devices.deleteDELETE /v1/me/notifications/devices/{id}user session or X3 App token · X3 App
notifications.settings.getGET /v1/me/notifications/settingsuser session or X3 App token
notifications.settings.updatePATCH /v1/me/notifications/settingsuser session or X3 App token · X3 App
notifications.rules.listGET /v1/me/notifications/rulesuser session or X3 App token
notifications.rules.updatePUT /v1/me/notifications/rulesuser session or X3 App token · X3 App
notifications.testPOST /v1/me/notifications/testuser session or X3 App token · X3 App
notifications.historyGET /v1/me/notifications/historyuser session or X3 App token
notifications.openPOST /v1/me/notifications/openuser session or X3 App token · X3 App
notifications.openAllPOST /v1/me/notifications/open-alluser session or X3 App token · X3 App
notifications.badgeGET /v1/me/notifications/badgeuser session or X3 App token
notifications.actions.mutePOST /v1/notifications/actions/mutepublic

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:

NameTypeRequiredDescription
idstringyes

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:

NameTypeRequiredDescription
limitintno
cursorstringno
projectstringno

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

OperationEndpointAuth
traffic.dataQualityGET /v1/projects/{project}/traffic/data-qualitysecret key or user session · analytics:read
analytics.changesGET /v1/projects/{project}/analytics/changessecret key or user session · analytics:read
analytics.baselineGET /v1/projects/{project}/analytics/baselinesecret key or user session · analytics:read
traffic.qualityGET /v1/projects/{project}/traffic/qualitysecret key or user session · analytics:read
traffic.returningGET /v1/projects/{project}/traffic/returningsecret key or user session · analytics:read
traffic.summaryGET /v1/projects/{project}/traffic/summarysecret key or user session · analytics:read
traffic.heatmapGET /v1/projects/{project}/traffic/heatmapsecret key or user session · analytics:read
leads.goalGET /v1/projects/{project}/lead-goalsecret key or user session · analytics:read
leads.goalSetPUT /v1/projects/{project}/lead-goalsecret key or user session · config:write
leads.projectionGET /v1/projects/{project}/lead-goal/projectionsecret key or user session · analytics:read
leads.awaitingGET /v1/projects/{project}/leads-awaitingsecret key or user session · analytics:read
leads.responseTimeGET /v1/projects/{project}/leads-response-timesecret key or user session · analytics:read
behavior.biggestGapGET /v1/projects/{project}/behavior/biggest-gapsecret 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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"nosessions (default), engaged_plus, hot_plus, leads (Leads list)
compare"previous" | "previous_year"noComparison: 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
atstringnodefault 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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"noday (default up to 90 days) or week; rolling7 = day buckets with the rolling series as the primary view
withstringnoleads (default) and/or contacts (Kontaktversuche, off by default)
compare"previous" | "previous_year"noComparison: 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"noQuellen vergleichen: dimension of the values
valuesstringno2 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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"no3 (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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
monthstringnoYYYY-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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
monthstringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
hoursstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
daysstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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

OperationEndpointAuth
webhooks.listGET /v1/projects/{project}/webhookssecret key or user session · project:admin
webhooks.createPOST /v1/projects/{project}/webhookssecret key or user session · project:admin · Idempotency-Key
webhooks.updatePATCH /v1/projects/{project}/webhooks/{id}secret key or user session · project:admin
webhooks.deleteDELETE /v1/projects/{project}/webhooks/{id}secret key or user session · project:admin
webhooks.rotateSecretPOST /v1/projects/{project}/webhooks/{id}/secretsecret key or user session · project:admin
webhooks.testPOST /v1/projects/{project}/webhooks/{id}/testsecret key or user session · project:admin
webhooks.deliveriesGET /v1/projects/{project}/webhook-deliveriessecret key or user session · project:admin
webhooks.redeliverPOST /v1/projects/{project}/webhook-deliveries/{id}/redeliversecret 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Body fields:

NameTypeRequiredDescription
event"lead.created" | "lead.updated" | "lead.status_changed" | "conversion.created" | "experiment.decided"no
tagstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
endpointstringno
status"pending" | "retrying" | "succeeded" | "failed" | "cancelled"no
event"lead.created" | "lead.updated" | "lead.status_changed" | "conversion.created" | "experiment.decided"no
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Meta Instant Forms

OperationEndpointAuth
metaLeads.statusGET /v1/projects/{project}/meta-leads/statussecret key or user session · project:admin
metaLeads.pages.listGET /v1/projects/{project}/meta-leads/pagessecret key or user session · project:admin
metaLeads.pages.connectPOST /v1/projects/{project}/meta-leads/pagessecret key or user session · project:admin
metaLeads.pages.deleteDELETE /v1/projects/{project}/meta-leads/pages/{pageId}secret key or user session · project:admin
metaLeads.pages.syncPOST /v1/projects/{project}/meta-leads/pages/{pageId}/syncsecret key or user session · project:admin
metaLeads.pages.resubscribePOST /v1/projects/{project}/meta-leads/pages/{pageId}/subscribesecret key or user session · project:admin
metaLeads.metaAds.listGET /v1/projects/{project}/meta-leads/meta-adssecret key or user session · project:admin
metaLeads.metaAds.connectPOST /v1/projects/{project}/meta-leads/meta-adssecret key or user session · project:admin
metaLeads.ownApp.getGET /v1/projects/{project}/meta-leads/own-appsecret key or user session · project:admin
metaLeads.ownApp.updatePUT /v1/projects/{project}/meta-leads/own-appsecret key or user session · project:admin
metaLeads.ownApp.deleteDELETE /v1/projects/{project}/meta-leads/own-appsecret key or user session · project:admin
metaLeads.ownApp.webhookPOST /v1/webhooks/meta/p/{hookId}webhook signature
metaLeads.forms.listGET /v1/projects/{project}/meta-leads/formssecret key or user session · project:admin
metaLeads.forms.updatePATCH /v1/projects/{project}/meta-leads/forms/{formId}secret key or user session · project:admin
metaLeads.forms.backfillPOST /v1/projects/{project}/meta-leads/forms/{formId}/backfillsecret key or user session · project:admin
metaLeads.forms.simulatePOST /v1/projects/{project}/meta-leads/forms/{formId}/simulatesecret key or user session · project:admin
metaLeads.oauth.startPOST /v1/projects/{project}/meta-leads/oauthdashboard user session · project:admin
metaLeads.oauth.getGET /v1/projects/{project}/meta-leads/oauth/{sessionId}dashboard user session · project:admin
metaLeads.oauth.connectPOST /v1/projects/{project}/meta-leads/oauth/{sessionId}/connectdashboard user session · project:admin
metaLeads.oauth.callbackGET /v1/meta-leads/oauth/callbackpublic
metaLeads.dataDeletionPOST /v1/meta/data-deletionwebhook signature
metaLeads.dataDeletion.statusGET /v1/meta/data-deletion/{code}public
metaLeads.webhookPOST /v1/webhooks/metawebhook 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
pageIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
pageIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
pageIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
hookIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
formIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
formIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
formIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
sessionIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
sessionIdstringyes

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:

NameTypeRequiredDescription
statestringno
codestringno
errorstringno
error_reasonstringno
error_descriptionstringno

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:

NameTypeRequiredDescription
codestringyes

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

OperationEndpointAuth
apps.ingest.configGET /v1/m/config/{pk}publishable key (pk_3x_…)
apps.ingest.batchPOST /v1/m/batchpublishable key (pk_3x_…)
apps.ingest.installPOST /v1/m/installpublishable key (pk_3x_…)
apps.ingest.leadPOST /v1/m/leadpublishable key (pk_3x_…)
apps.ingest.replayPOST /v1/m/rpublishable key (pk_3x_…)
apps.ingest.erasePOST /v1/m/erasepublishable key (pk_3x_…)
apps.goGET /v1/go/{ref}public
apps.postbacks.receivePOST /v1/m/postbacks/{kind}/{endpoint}webhook signature
apps.store.applePOST /v1/m/store/apple/{token}webhook signature
apps.store.googlePOST /v1/m/store/google/{token}webhook signature
apps.store.revenuecatPOST /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:

NameTypeRequiredDescription
pkstringyes

Query parameters:

NameTypeRequiredDescription
plat"ios" | "android"yes
bidstringyes
sdkstringno

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:

NameTypeRequiredDescription
refstringyes

Query parameters:

NameTypeRequiredDescription
utm_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
gclidstringno
gbraidstringno
wbraidstringno
fbclidstringno
li_fat_idstringno
ttclidstringno
msclkidstringno
sstringno
x3_teststringno

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:

NameTypeRequiredDescription
kind"aak" | "skan"yes
endpointstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Body fields:

NameTypeRequiredDescription
signedPayloadstringyes

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:

NameTypeRequiredDescription
tokenstringyes

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:

NameTypeRequiredDescription
tokenstringyes

Apps

OperationEndpointAuth
apps.listGET /v1/projects/{project}/appssecret key or user session · analytics:read
apps.createPOST /v1/projects/{project}/appssecret key or user session · config:write
apps.getGET /v1/projects/{project}/apps/{id}secret key or user session · analytics:read
apps.updatePATCH /v1/projects/{project}/apps/{id}secret key or user session · config:write
apps.deleteDELETE /v1/projects/{project}/apps/{id}secret key or user session · project:admin
apps.secretsPUT /v1/projects/{project}/apps/{id}/secretssecret key or user session · config:write
apps.storeTokenPOST /v1/projects/{project}/apps/{id}/store-tokensecret key or user session · config:write
apps.setupGET /v1/projects/{project}/apps/{id}/setupsecret key or user session · analytics:read
apps.privacyLabelsGET /v1/projects/{project}/apps/{id}/privacy-labelssecret key or user session · analytics:read
apps.links.listGET /v1/projects/{project}/app-linkssecret key or user session · analytics:read
apps.links.createPOST /v1/projects/{project}/app-linkssecret key or user session · config:write
apps.links.updatePATCH /v1/projects/{project}/app-links/{id}secret key or user session · config:write
apps.links.deleteDELETE /v1/projects/{project}/app-links/{id}secret key or user session · config:write
apps.linkTokens.createPOST /v1/projects/{project}/app-link-tokenssecret key or user session · events:write
apps.installs.reportGET /v1/projects/{project}/app-installs/reportsecret key or user session · analytics:read
apps.installs.listGET /v1/projects/{project}/app-installssecret key or user session · analytics:read
apps.retentionGET /v1/projects/{project}/app-installs/retentionsecret key or user session · analytics:read
apps.postbacks.reportGET /v1/projects/{project}/app-postbacks/reportsecret key or user session · analytics:read
apps.storeEvents.listGET /v1/projects/{project}/app-store-eventssecret key or user session · conversions:read
apps.users.erasePOST /v1/projects/{project}/app-users/erasesecret key or user session · leads:write
apps.leadAppsGET /v1/projects/{project}/leads/{id}/appssecret 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Query parameters:

NameTypeRequiredDescription
locale"de" | "en"no
modulesstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
appstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
appstringno
tier"referrer" | "apple_ads" | "link" | "identity" | "organic" | "unknown" | "pending"no
qstringno
sort"firstOpenAt" | "-firstOpenAt" | "lastSeenAt" | "-lastSeenAt" | "sessions" | "-sessions" | "revenue" | "-revenue"no
limitstringno
cursorstringno
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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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
appstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
fromstringnoStart day YYYY-MM-DD (project time zone, inclusive). Wins over preset.
tostringnoEnd 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"noDate range when from/to are absent. Default 30d; all = last 731 days.
pagestringnoCanonical page path, e.g. /pricing
page_groupstringnoPage group key from the project config
page_mode"any" | "entry" | "exit"noSession 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_sourcestringno
utm_mediumstringno
utm_campaignstringno
utm_contentstringno
utm_termstringno
utm_idstringno
ref_hoststringnoEntry referrer host, e.g. www.google.com
variantstringnoPage 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
countrystringnoISO country code, uppercase
langstringno
screen"xs" | "sm" | "md" | "lg" | "xl"no
converted"0" | "1" | "true" | "false"no
hasstring | string[]no
goalstring | string[]no
eventstring | string[]no
click_id"any" | "none" | "gclid" | "gbraid" | "wbraid" | "fbclid" | "li_fat_id" | "ttclid" | "msclkid"noany/none or a specific click id present on the session
traffic"paid" | "organic" | "free" | "search"nopaid = 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"noRead-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"noTier 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"nosame_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_relevancestringno
max_relevancestringno
relevance_tierstringnoTier key, e.g. hot
ad_platform"google_ads" | "meta_ads" | "linkedin_ads" | "tiktok_ads"no
platform"web" | "ios" | "android" | "app"noSession platform (app tracking): web, ios, android or app (= ios + android). Only projects with a registered app have app sessions.
ad_account_idstringno
ad_campaign_idstringno
ad_adset_idstringno
ad_idstringno
ad_match"matched" | "unmatched"noSessions with/without an ad-entity match
experimentstringnoSessions 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_stepstringnoVisits 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.
appstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
appstringno
store"apple" | "google" | "revenuecat"no
kindstringno
limitstringno
cursorstringno

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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
idstringyes

Connections

OperationEndpointAuth
connections.listGET /v1/orgs/{org}/connectionssecret key or user session
connections.statusGET /v1/orgs/{org}/connections/{id}secret key or user session
connections.reauthorizePOST /v1/orgs/{org}/connections/{id}/reauthorizedashboard user session
connections.disconnectDELETE /v1/orgs/{org}/connections/{id}secret key or user session · sudo
connections.uses.listGET /v1/orgs/{org}/connection-usessecret key or user session
connections.uses.createPOST /v1/orgs/{org}/connection-usessecret key or user session
connections.uses.deleteDELETE /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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
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
usableForstringno
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:

NameTypeRequiredDescription
orgstringyes
idstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
orgstringyes
idstringyes

Body fields:

NameTypeRequiredDescription
scopesstring[]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:

NameTypeRequiredDescription
orgstringyes
idstringyes

Query parameters:

NameTypeRequiredDescription
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:

NameTypeRequiredDescription
orgstringyes

Query parameters:

NameTypeRequiredDescription
connectionstringno
product"growth" | "sales"no
purpose"ad_costs" | "conversions" | "crm_sync" | "instant_forms" | "search_console" | "mailbox" | "calendar" | "meeting"no
projectstringno

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes
idstringyes

Identity

OperationEndpointAuth
me.getGET /v1/medashboard user session
me.updatePATCH /v1/medashboard user session
me.slugRedirectGET /v1/me/slug-redirectdashboard user session
onboarding.profile.getGET /v1/orgs/{org}/onboarding/profiledashboard user session · org:admin
onboarding.profile.updatePATCH /v1/orgs/{org}/onboarding/profiledashboard user session · org:admin
onboarding.keys.createPOST /v1/orgs/{org}/onboarding/keysdashboard user session · org:admin · sudo
onboarding.orgs.createPOST /v1/onboarding/orgsdashboard user session
identity.pokePOST /v1/webhooks/identitywebhook signature
crmFeed.pokePOST /v1/webhooks/crmwebhook 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:

NameTypeRequiredDescription
slugstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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:

NameTypeRequiredDescription
orgstringyes

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

OperationEndpointAuth
widgets.tokenPOST /v1/app/widgets/tokenuser session or X3 App token · X3 App
widgets.summaryGET /v1/widgets/summarypublic
widgets.projectsGET /v1/widgets/projectspublic

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:

NameTypeRequiredDescription
projectsstringno
limitintno

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

OperationEndpointAuth
assistant.statusGET /v1/projects/{project}/assistantsecret key or user session · analytics:read
assistant.chats.listGET /v1/projects/{project}/assistant/chatssecret key or user session · analytics:read
assistant.chats.createPOST /v1/projects/{project}/assistant/chatssecret key or user session · analytics:read · X3 App
assistant.chats.getGET /v1/projects/{project}/assistant/chats/{chat}secret key or user session · analytics:read
assistant.chats.renamePATCH /v1/projects/{project}/assistant/chats/{chat}secret key or user session · analytics:read · X3 App
assistant.chats.deleteDELETE /v1/projects/{project}/assistant/chats/{chat}secret key or user session · analytics:read · X3 App
assistant.chats.restorePOST /v1/projects/{project}/assistant/chats/{chat}/restoresecret key or user session · analytics:read · X3 App
assistant.chats.sendPOST /v1/projects/{project}/assistant/chats/{chat}/messagessecret key or user session · analytics:read · X3 App
assistant.chats.regeneratePOST /v1/projects/{project}/assistant/chats/{chat}/regeneratesecret key or user session · analytics:read · X3 App
assistant.chats.editPOST /v1/projects/{project}/assistant/chats/{chat}/editsecret key or user session · analytics:read · X3 App
assistant.chats.continuePOST /v1/projects/{project}/assistant/chats/{chat}/continuesecret key or user session · analytics:read · X3 App
assistant.turns.getGET /v1/projects/{project}/assistant/turns/{turn}secret key or user session · analytics:read
assistant.turns.stopPOST /v1/projects/{project}/assistant/turns/{turn}/stopsecret key or user session · analytics:read · X3 App
assistant.turns.streamGET /v1/projects/{project}/assistant/turns/{turn}/streamsecret key or user session · analytics:read
assistant.approvals.decidePOST /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:

NameTypeRequiredDescription
projectstringyesProject 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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Query parameters:

NameTypeRequiredDescription
qstringno
limitstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)

Body fields:

NameTypeRequiredDescription
textstringyes
contextobjectno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

Body fields:

NameTypeRequiredDescription
titlestringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

Body fields:

NameTypeRequiredDescription
textstringyes
contextobjectno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

Body fields:

NameTypeRequiredDescription
messageIdstringyes
skipWritesbooleanno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

Body fields:

NameTypeRequiredDescription
messageIdstringyes
textstringyes
skipWritesbooleanno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
chatstringyes

Body fields:

NameTypeRequiredDescription
turnIdstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
turnstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
turnstringyes

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
turnstringyes

Query parameters:

NameTypeRequiredDescription
lastEventIdstringno

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:

NameTypeRequiredDescription
projectstringyesProject id, project-slug or org-slug/project-slug (URL-encode the slash as %2F)
approvalstringyes

Body fields:

NameTypeRequiredDescription
decision"approve" | "decline"yes