Přeskočit na obsah
API dokumentace

Statistiky

Reference API pro statistiky e-mailů z kampaní a automatizací, přehled a konverze.

Technická reference je anglicky (stejně jako strojově čitelný dokument OpenAPI). Celou skupinu pro AI agenta načtete z /api/openapi.json?tag=Statistics.

Přihlášení: Authorization: Bearer pst_... nebo HTTP Basic (e-mail člena firmy a API klíč).

Operace

MetodaCestaPopis
GET/api/v1/tenants/{tenant}/conversionsConversions summary
GET/api/v1/tenants/{tenant}/dashboardDashboard numbers
GET/api/v1/tenants/{tenant}/stats/api-emailsStatistics of the e-mails sent through the API (API campaigns or transactional tags)
GET/api/v1/tenants/{tenant}/stats/api-emails/{api_email_id}Log of the e-mails of one API tag
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}Statistics of an automation
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/activityActivity of an automation over time
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/conversionsConversions (orders) of an automation
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/heatmapClick map of an automation
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/recipientsRecipients of an automation with their events (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/reportReport of an automation (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}Statistics of a campaign
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/activityActivity of a campaign over time
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/conversionsConversions (orders) of a campaign
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/heatmapClick map of a campaign
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/recipientsRecipients of a campaign with their events (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/reportReport of a campaign (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/emailsE-mail statistics of campaigns and automations
GET/api/v1/tenants/{tenant}/stats/se-historyCampaigns taken over from SmartEmailing

Conversions summary

GET /api/v1/tenants/{tenant}/conversions

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Conversions per kind and currency, optionally of one campaign or automation and in [from, to).

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automationIdquerystringne
campaignIdquerystringne
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).

Odpovědi

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Dashboard numbers

GET /api/v1/tenants/{tenant}/dashboard

Oprávnění: oblast null, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: get_dashboard

Dashboard: contacts (total, subscribed, added and lost in the period, daily trend) and e-mails of the period against the period of the same length before it. Default the last 30 days; from / to choose other days (at most 366).

?preset= (default 30d) or ?from=&to= (the tenant's calendar days, at most periods.MAX_DAYS): the period of the statistics, compared with the period of the same length right before.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
fromquerystringneFirst day YYYY-MM-DD.
presetqueryone of: all, today, yesterday, 7d, 30d, 90d, this_week, last_week, month, last_month, this_year, last_yearneA period preset instead of from / to, resolved to the account's calendar days ending today (weeks start on Monday; all = no limit where the list allows it). The same days as from / to give the same numbers.
toquerystringneLast day YYYY-MM-DD.

Odpovědi

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Statistics of the e-mails sent through the API (API campaigns or transactional tags)

GET /api/v1/tenants/{tenant}/stats/api-emails

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

?kind=custom (API kampaně, default) | transactional, ?q= (tag or id), ?sort=name | -name | id | -id | sent | -sent, the Filtry panel ?idFrom=&idTo=, ?createdFrom=&createdTo= (the tenant's days), ?page=&pageSize=: {items, total, page, pageSize, enabled}.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
kindquerystringne
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text (case and diacritics insensitive). max 200 chars
sortquerystringneSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
tagquerystringneLabel filter; repeat for more labels.

Odpovědi

Chyby

StavKódHodnoty message
400validationkind, q, sort
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Log of the e-mails of one API tag

GET /api/v1/tenants/{tenant}/stats/api-emails/{api_email_id}

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

The log of one tag, newest first: {tag {id, kind, name, createdAt}, items [{id, requestId, email, subject, from, status, error, queuedAt, sentAt, openedAt, clickedAt, unsubscribedAt, bouncedAt, complainedAt, attachments}], total, page, pageSize}; ?q= (address, subject or request id).

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
api_email_idpathstringanoId of the api email (string of digits).
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text (case and diacritics insensitive). max 200 chars

Odpovědi

Chyby

StavKódHodnoty message
400validationq
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Statistics of an automation

GET /api/v1/tenants/{tenant}/stats/automations/{automation_id}

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: get_automation_stats

E-mail statistics of an automation (or of one e-mail node).

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automation_idpathstringanoId of the automation (string of digits).
fromquerystringneFirst day YYYY-MM-DD.
nodequerystringneE-mail node key.
toquerystringneLast day YYYY-MM-DD.

Odpovědi

Chyby

StavKódHodnoty message
400validationnode
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Activity of an automation over time

GET /api/v1/tenants/{tenant}/stats/automations/{automation_id}/activity

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automation_idpathstringanoId of the automation (string of digits).
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
nodequerystringne
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text (case and diacritics insensitive). max 200 chars
tabquerystringne
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).

Odpovědi

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationnode, q, tab
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Conversions (orders) of an automation

GET /api/v1/tenants/{tenant}/stats/automations/{automation_id}/conversions

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automation_idpathstringanoId of the automation (string of digits).
nodequerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validationnode
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Click map of an automation

GET /api/v1/tenants/{tenant}/stats/automations/{automation_id}/heatmap

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

The same for one e-mail node of an automation (?node=) with a choice of snapshot (?snapshot=, the template versions the node sent, default the newest); without a node no HTML.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automation_idpathstringanoId of the automation (string of digits).
nodequerystringne
snapshotquerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validationnode
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Recipients of an automation with their events (JSON or CSV)

GET /api/v1/tenants/{tenant}/stats/automations/{automation_id}/recipients

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automation_idpathstringanoId of the automation (string of digits).
engagementquerystringne
formatqueryone of: json, csvnecsv = a CSV file (UTF-8 with BOM, semicolons).
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
humansquerystringne
nodequerystringne
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text (case and diacritics insensitive). max 200 chars
rowsquerystringne
tabquerystringne
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).
vatquerystringne

Odpovědi

  • 200 JSON, or CSV with format=csv: application/json object, text/csv string

Chyby

StavKódHodnoty message
400validationengagement, node, q, tab
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Report of an automation (JSON or CSV)

GET /api/v1/tenants/{tenant}/stats/automations/{automation_id}/report

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automation_idpathstringanoId of the automation (string of digits).
engagementquerystringne
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
humansquerystringne
nodequerystringne
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).
vatquerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validationengagement, node
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Statistics of a campaign

GET /api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: get_campaign_stats

E-mail statistics of a campaign: totals, rates (base: sent), providers, daily timeline, links.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
campaign_idpathstringanoId of the campaign (string of digits).
fromquerystringneFirst day YYYY-MM-DD.
nodequerystringne
toquerystringneLast day YYYY-MM-DD.

Odpovědi

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Activity of a campaign over time

GET /api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/activity

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: get_campaign_activity

Who opened, clicked, unsubscribed or bounced (tab).

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
campaign_idpathstringanoId of the campaign (string of digits).
fromquerystringneFirst day YYYY-MM-DD.
nodequerystringne
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text. max 200 chars
tabqueryone of: opened, clicked, unsubscribed, bouncedneTab.
toquerystringneLast day YYYY-MM-DD.

Odpovědi

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationq, tab
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Conversions (orders) of a campaign

GET /api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/conversions

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: get_campaign_conversions

Orders after clicks of the campaign (direct within 24 hours, assisted), per currency.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
campaign_idpathstringanoId of the campaign (string of digits).
nodequerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Click map of a campaign

GET /api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/heatmap

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

The sent e-mail with its variables filled for a sample recipient (the UI shows it in a sandboxed frame without scripts) and the clicks per link; an HTML editor e-mail has no picture.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
campaign_idpathstringanoId of the campaign (string of digits).
nodequerystringne
snapshotquerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Recipients of a campaign with their events (JSON or CSV)

GET /api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/recipients

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
campaign_idpathstringanoId of the campaign (string of digits).
engagementquerystringne
formatqueryone of: json, csvnecsv = a CSV file (UTF-8 with BOM, semicolons).
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
humansquerystringne
nodequerystringne
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text (case and diacritics insensitive). max 200 chars
rowsquerystringne
tabquerystringne
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).
vatquerystringne

Odpovědi

  • 200 JSON, or CSV with format=csv: application/json object, text/csv string

Chyby

StavKódHodnoty message
400validationengagement, q, tab
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Report of a campaign (JSON or CSV)

GET /api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/report

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
campaign_idpathstringanoId of the campaign (string of digits).
engagementquerystringne
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
humansquerystringne
nodequerystringne
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).
vatquerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validationengagement
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

E-mail statistics of campaigns and automations

GET /api/v1/tenants/{tenant}/stats/emails

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: list_email_stats

Sent campaigns and automation e-mails with their metrics, newest first.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
automationIdsquerystringne
kindqueryone of: campaign, automationnecampaign or automation.
namequerystringne
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text. max 200 chars
refquerystringne
shopquerystringneShop id filter.
sortquerystringneSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
tagquerystringneLabel filter; repeat for more labels.
transactionalquerystringne

Odpovědi

Chyby

StavKódHodnoty message
400validationautomationIds, countTo, kind, name, q, sentTo, sort, transactional
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Campaigns taken over from SmartEmailing

GET /api/v1/tenants/{tenant}/stats/se-history

Oprávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full

The campaigns taken over from SmartEmailing by the switch (MG-05, se-spec v2 11 §11.2 step 11), newest first: SE's name, sender and counts (unique contacts) and how many of their events are on Poštárna's contacts (their Aktivity show them). q: words in the name. Read only; an account without a switch has none.

Parametry

NázevKdeTypPovinnéPopis
tenantpathstring (uuid)anoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
pagequeryintegernePage number, from 1. default 1, min 1
pageSizequeryintegerneItems per page, 1 to 100. default 25, min 1, max 100
qquerystringneSearch text (case and diacritics insensitive). max 200 chars

Odpovědi

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationq
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

Schémata

ApiEmailKind

one of: custom, transactional

ApiEmailLog

PoleTypPovinnéPopis
tagobjectano
itemsarray of ApiEmailLogItemano
totalnumberano
pagenumberano
pageSizenumberano

ApiEmailLogItem

One e-mail of the log (queued, sent or skipped with the reason).

PoleTypPovinnéPopis
idstringano
requestIdstringanoThe id the API answered for the e-mail (32 hex).
emailstringano
subjectstringano
fromstringano
statusone of: unknown, sent, queued, sending, failed, skippedano
errorstringano
queuedAtstring or nullano
sentAtstring or nullano
openedAtstring or nullano
clickedAtstring or nullano
unsubscribedAtstring or nullano
bouncedAtstring or nullano
complainedAtstring or nullano
attachmentsnumberanoNumber of attachments (transactional e-mails).

ApiEmailStat

One tag of API e-mails with its columns (rates are shares of the sent e-mails, 0 to 1).

PoleTypPovinnéPopis
idstringano
namestringano
sentnumberano
openRatenumberano
clickRatenumberano
unsubscribeRatenumberano
lastQueuedAtstring or nullano

ApiEmailStatsPage

PoleTypPovinnéPopis
enabledbooleananoThe platform turned e-mails through the API on for the account (off by default, on request).
itemsarray of ApiEmailStatano
totalnumberano
pagenumberano
pageSizenumberano

ConversionCurrency

One currency: CZK and EUR are never added up or converted.

PoleTypPovinnéPopis
currencyCurrencyano
directConversionPartano
assistedConversionPartano

ConversionOrder

PoleTypPovinnéPopis
orderIdstringano
codestringano
contactIdstring or nullano
emailstring or nullano
kindone of: direct, assistedano
clickedAtstringano
orderedAtstringano
currencyCurrencyano
totalWithVatstring or nullano
totalWithoutVatstring or nullano

ConversionPart

PoleTypPovinnéPopis
ordersnumberano
revenuestring or nullano
revenueWithoutVatstring or nullano

Currency

one of: CZK, EUR

DashboardData

PoleTypPovinnéPopis
daysnumberanoDays of the period (from..to, both included) and of the comparison right before it.
fromstringne
tostringne
contactsobject or nullanonull when the member's roles cannot read contacts.
lastContactobject or nullano
emailsobject or nullanonull when the member's roles cannot read campaigns.
lastEmailobject or nullano

EmailClickMap

The e-mail's HTML and the clicks of every link.

PoleTypPovinnéPopis
editorone of: html, visualanoThe editor of the e-mail: the click map exists only for the visual editor (visual); html is '' for the others.
htmlstringanoThe e-mail as it went out, its variables filled for a sample recipient.
snapshotsarray of objectanoThe template versions the node sent, newest first.
snapshotIdstring or nullano
linksarray of objectano

EmailConversions

PoleTypPovinnéPopis
availablebooleananofalse = no conversion provider yet (the tab says so instead of showing zeros).
directHoursnumberano
assistedDaysnumberano
lastClickRuleFromstring or nullneSince when an order goes to the last clicked e-mail, else the last opened one (owner 3 Dec 2026, migration 0706); orders placed before keep the last delivered e-mail. null = the rule applies to every order.
currenciesarray of ConversionCurrencyano
ordersarray of ConversionOrderano

EmailMetrics

Counts of e-mails and their events (server core/stats.py). Rates: openRate, unsubscribeRate and complaintRate over the delivered e-mails, ctr and bounceRate over the sent ones; ctor = unique clicks / unique opens. Test e-mails never count.

PoleTypPovinnéPopis
sentnumberano
deliverednumberanosent - undelivered
undeliverednumberanoHard or soft bounce.
bouncednumberano
softBouncednumberano
opensnumberano
uniqueOpensnumberano
repeatedOpensnumberano
machineOpensnumberanoE-mails whose pixel only a machine fetched (Apple Mail Privacy Protection, security gateways): whether a person read them is unknown, so they are in no open count or rate.
machineClicksnumberneClicks of link scanners of mail servers and other machines (rules in core/machine.py): in no click count or rate, shown apart so the filtering is visible. Missing in older answers.
clicksnumberano
uniqueClicksnumberano
unsubscribednumberano
complainednumberano
queuednumberano
failednumberano
skippednumberano
openRatenumberano
ctrnumberano
ctornumberano
unsubscribeRatenumberano
bounceRatenumberano
complaintRatenumberano
deliveryRatenumberanodelivered / sent

EmailStatsDetail

PoleTypPovinnéPopis
kindone of: campaign, automationano
campaignIdstring or nullano
automationIdstring or nullano
nodeKeystring or nullano
namestringano
subjectstringano
shopIdstringano
statusstringano
sentAtstring or nullano
nodesarray of objectano
totalsEmailMetricsano
providersarray of objectano
timelinearray of StatsDayano
linksarray of objectano

EmailStatsItem

PoleTypPovinnéPopis
idstringanoc<campaign id> or a<automation id>:<node key>
kindone of: campaign, automationano
campaignIdstring or nullano
automationIdstring or nullano
nodeKeystring or nullano
namestringano
nodeNamestringano
subjectstringano
shopIdstringano
statusstringano
sentAtstring or nullano
transactionalbooleanneAn e-mail of a transactional automation (Statistiky › Transakční e-maily).
statsEmailMetricsano

EmailStatsPage

A page of the statistics grid; totals = every e-mail of the asked automations together (query.automationIds).

PoleTypPovinnéPopis
itemsarray of EmailStatsItemano
totalnumberano
pagenumberano
pageSizenumberano
totalsEmailMetricsne

EmailStatsReport

PoleTypPovinnéPopis
kindone of: campaign, automationano
campaignIdstring or nullano
automationIdstring or nullano
nodeKeystring or nullano
namestringano
statusstringano
startedAtstring or nullano
completedAtstring or nullano
shopIdstringano
nodesarray of objectano
filtersobjectano
firstSentAtstring or nullano
lastSentAtstring or nullano
totalsReportMetricsano
baselineReportBaseline or nullano
daysarray of ReportDayano
domainsobjectano
clientsobjectano
systemsobjectano
linksarray of objectano
unsubscribeReasonsarray of objectano
bounceReasonsarray of objectano
bounceSplitobjectano
revenuearray of ReportRevenueano
revenueDaysarray of objectano
conversionLinksarray of NamedCountanoOrders per clicked link.
productsarray of objectanoItems sold (quantity) with a picture.
engagementSpendarray of objectano
topSpendersarray of objectano
lastClickRuleFromstring or nullneSince when an order goes to the last clicked e-mail, else the last opened one (owner 3 Dec 2026, migration 0706); orders placed before keep the last delivered e-mail. null = the rule applies to every order.

Error

PoleTypPovinnéPopis
errorobjectano
json
{
  "error": {
    "code": "validation",
    "message": "email"
  }
}

NamedCount

PoleTypPovinnéPopis
namestringano'' = the rest.
countnumberano

ReportBaseline

The account's e-mails of the 30 days before (trend "oproti předchozím 30 dnům"); sent = average one-time campaign.

PoleTypPovinnéPopis
sentnumber or nullano
openRatenumberano
ctrnumberano
ctornumberano
complaintRatenumberano
unsubscribeRatenumberano
bounceRatenumberano
deliveryRatenumberano
orderRatenumberano

ReportDay

PoleTypPovinnéPopis
datestringano
opensnumberano
clicksnumberano
unsubscribednumberano
bouncednumberano

ReportMetrics

Rates: openRate, unsubscribeRate and complaintRate over delivered, ctr and orderRate over sent.

PoleTypPovinnéPopis
ordersnumberano
orderRatenumberano
reopenersnumberanoE-mails opened more than once, and their share of the opened ones.
reopenRatenumberano
webVersionViewsnumberanoViews of the web version and prints, the e-mails with one, and their share of the opened e-mails.
webVersionUniquenumberano
webVersionRatenumberano
printViewsnumberano
printUniquenumberano
printRatenumberano
sentnumberano
deliverednumberanosent - undelivered
undeliverednumberanoHard or soft bounce.
bouncednumberano
softBouncednumberano
opensnumberano
uniqueOpensnumberano
repeatedOpensnumberano
machineOpensnumberanoE-mails whose pixel only a machine fetched (Apple Mail Privacy Protection, security gateways): whether a person read them is unknown, so they are in no open count or rate.
machineClicksnumberneClicks of link scanners of mail servers and other machines (rules in core/machine.py): in no click count or rate, shown apart so the filtering is visible. Missing in older answers.
clicksnumberano
uniqueClicksnumberano
unsubscribednumberano
complainednumberano
queuednumberano
failednumberano
skippednumberano
openRatenumberano
ctrnumberano
ctornumberano
unsubscribeRatenumberano
bounceRatenumberano
complaintRatenumberano
deliveryRatenumberanodelivered / sent

ReportRevenue

PoleTypPovinnéPopis
currencyCurrencyano
ordersnumberano
directOrdersnumberano
assistedOrdersnumberano
totalstringano
directstringano
assistedstringano
averageOrderstringano
directAveragestringano
assistedAveragestringano
eshopOrdersnumberano
eshopTotalstringano
sharenumberano
marginstring or nullneFrom the purchase prices the e-shop sent with the order lines; null when no order of the group has one. *MarginOrders = orders with a known margin.
marginAveragestring or nullne
marginOrdersnumberne
directMarginstring or nullne
directMarginAveragestring or nullne
directMarginOrdersnumberne
assistedMarginstring or nullne
assistedMarginAveragestring or nullne
assistedMarginOrdersnumberne

StatsActivity

PoleTypPovinnéPopis
sendIdstringano
contactIdstring or nullano
emailstringano
firstAtstringano
lastAtstringano
opensnumberano
clicksnumberano
typeStatsActivityTypeano
sourcestringano
linksarray of stringano
detailstringano

StatsActivityType

one of: complaint, unsubscribe, open, click, hard, soft

StatsDay

PoleTypPovinnéPopis
datestringano
opensnumberano
clicksnumberano
unsubscribednumberano