Přeskočit na obsah
API dokumentace

Odesílání a doručitelnost

Reference API pro odesílatele, odesílací domény (SPF, DKIM, DMARC), reporty DMARC a režim odesílání.

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

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

Operace

MetodaCestaPopis
GET/api/v1/tenants/{tenant}/deliverability/dmarcDMARC summary
GET/api/v1/tenants/{tenant}/deliverability/dmarc/reportDMARC report detail
GET/api/v1/tenants/{tenant}/deliverability/domainsList domains with their DNS state
POST/api/v1/tenants/{tenant}/deliverability/domainsAdd a domain
PATCH/api/v1/tenants/{tenant}/deliverability/domains/{domain_id}Update a domain
DELETE/api/v1/tenants/{tenant}/deliverability/domains/{domain_id}Delete a domain
POST/api/v1/tenants/{tenant}/deliverability/domains/{domain_id}/checkCheck the DNS records of a domain now
GET/api/v1/tenants/{tenant}/deliverability/sendersSenders with their authentication state
GET/api/v1/tenants/{tenant}/sending-defaultsGet the default sending settings (tracking parameters of new campaigns, e-mail step window of automations)
PUT/api/v1/tenants/{tenant}/sending-defaultsSet whether new campaigns start with tracking parameters
GET/api/v1/tenants/{tenant}/sending-modeSending mode of the company (switch, limits)
POST/api/v1/tenants/{tenant}/sending/domainsAdd a sending domain
DELETE/api/v1/tenants/{tenant}/sending/domains/{domain_id}Delete a sending domain
POST/api/v1/tenants/{tenant}/sending/domains/{domain_id}/checkCheck a sending domain
POST/api/v1/tenants/{tenant}/sending/sendersAdd a sender
PATCH/api/v1/tenants/{tenant}/sending/senders/{sender_id}Update a sender
DELETE/api/v1/tenants/{tenant}/sending/senders/{sender_id}Delete a sender
POST/api/v1/tenants/{tenant}/sending/senders/{sender_id}/checkVerify a waiting sender address once its domain is verified
GET/api/v1/tenants/{tenant}/sending/senders/{sender_id}/usageWhere a sender is used
GET/api/v1/tenants/{tenant}/sending/setupState of the sending setup (domains and senders)

DMARC summary

GET /api/v1/tenants/{tenant}/deliverability/dmarc

Oprávnění: oblast dmarc, ú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.

Odpovědi

Chyby

StavKódHodnoty message
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

DMARC report detail

GET /api/v1/tenants/{tenant}/deliverability/dmarc/report

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

?from=&to= (calendar days of the tenant, both included; none = the whole history) or ?preset= (core/periods.py, all = the whole history), ?domain= (sending domain id), ?reporter= (the provider's org name).

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.
domainquerystringne
fromquerystringneStart of the period (YYYY-MM-DD local day, or ISO time where noted).
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.
reporterquerystringne
toquerystringneEnd of the period (YYYY-MM-DD local day, or ISO time where noted).

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

List domains with their DNS state

GET /api/v1/tenants/{tenant}/deliverability/domains

Oprávnění: oblast settings, ú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.

Odpovědi

Chyby

StavKódHodnoty message
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

Add a domain

POST /api/v1/tenants/{tenant}/deliverability/domains

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.

Tělo požadavku (application/json): Required by the server: domain.

PoleTypPovinnéPopis
domainstringano
dkimSelectorsarray of stringne

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

Update a domain

PATCH /api/v1/tenants/{tenant}/deliverability/domains/{domain_id}

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.
domain_idpathstringanoId of the domain (string of digits).

Tělo požadavku (application/json): Required by the server: dkimSelectors.

PoleTypPovinnéPopis
dkimSelectorsarray of stringano

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

Delete a domain

DELETE /api/v1/tenants/{tenant}/deliverability/domains/{domain_id}

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.
domain_idpathstringanoId of the domain (string of digits).

Odpovědi

  • 204 No content

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

Check the DNS records of a domain now

POST /api/v1/tenants/{tenant}/deliverability/domains/{domain_id}/check

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.
domain_idpathstringanoId of the domain (string of digits).

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, dns

Senders with their authentication state

GET /api/v1/tenants/{tenant}/deliverability/senders

Oprávnění: oblast settings, ú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.

Odpovědi

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
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

Get the default sending settings (tracking parameters of new campaigns, e-mail step window of automations)

GET /api/v1/tenants/{tenant}/sending-defaults

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

Nastavení › Odesílání › Výchozí nastavení beyond what other routes keep (senders, test recipients, the default unsubscribe page): {utmDefaultOn} = new campaign drafts start with the tracking parameters on. automationNodeSendWindowHours (read only) = the e-mail step window of automations in hours: one e-mail step e-mails one contact at most once in that many hours, 0 = no limit (setting automation_node_send_window_hours, default 24; the value the engine uses, core/automation_engine.node_send_window). The company cannot change it here: Poštárna's support sets it on a written request.

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.

Odpovědi

Chyby

StavKódHodnoty message
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

Set whether new campaigns start with tracking parameters

PUT /api/v1/tenants/{tenant}/sending-defaults

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

Body {utmDefaultOn: bool}. Audited as setting_changed. automationNodeSendWindowHours is read only: a value sent here is ignored and the answer carries the stored one.

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.

Tělo požadavku (application/json): Required by the server: utmDefaultOn.

PoleTypPovinnéPopis
utmDefaultOnbooleanano

Odpovědi

Chyby

StavKódHodnoty message
400validationutmDefaultOn
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

Sending mode of the company (switch, limits)

GET /api/v1/tenants/{tenant}/sending-mode

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

What leaves Poštárna for this tenant now (core/backends.mode_of): live (everything), test (only test e-mails to the test whitelist, the platform's test mode), folder (development: files, nothing leaves) or off (nothing). testRecipients = how many addresses the test whitelist has. sendingEnabled = the tenant's kill switch (setting sending_enabled, python -m postarna.admin sending-switch): while it is off no sending tick runs, so no campaign goes out and no automation lets anybody in, whatever the mode says (test e-mails still go out). sendingState = the platform's approval of live sending (pending, live, paused, suspended; migration 0170) and sendingHold why a live tenant is held ('', platform, trial_limit, free_limit, unpaid, reputation = the sending service paused the account for its delivery quality); trial = the usage of a capped self-serve trial (trial_json) or null. sendingBlock = why nothing goes out now (core/sending_switch.BLOCKS: '' it can, held the platform's approval or a hold, no_domain no verified sending domain yet, switched_off a person switched it off, off the switch is off and turns on by itself soon) and canSwitchOn = a verified sending domain exists, so a person with full settings rights may turn the switch on (PUT sending-switch).

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.

Odpovědi

Chyby

StavKódHodnoty message
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

Add a sending domain

POST /api/v1/tenants/{tenant}/sending/domains

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.

Tělo požadavku (application/json): Required by the server: domain.

PoleTypPovinnéPopis
domainstringano

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

Delete a sending domain

DELETE /api/v1/tenants/{tenant}/sending/domains/{domain_id}

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.
domain_idpathstringanoId of the domain (string of digits).

Odpovědi

  • 204 No content

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

Check a sending domain

POST /api/v1/tenants/{tenant}/sending/domains/{domain_id}/check

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.
domain_idpathstringanoId of the domain (string of digits).

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

Add a sender

POST /api/v1/tenants/{tenant}/sending/senders

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.

Tělo požadavku (application/json): Required by the server: email, shopId.

PoleTypPovinnéPopis
shopIdstringano
emailstringano
namestringne
replyTostringne
isDefaultbooleanne

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

Update a sender

PATCH /api/v1/tenants/{tenant}/sending/senders/{sender_id}

Oprávnění: oblast settings, úroveň full; klíč s přístupem 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.
sender_idpathstringanoId of the sender (string of digits).

Tělo požadavku (application/json)

PoleTypPovinnéPopis
namestringneFrom name, at most 100 characters without < > { } " and line breaks.
replyTostringneAddress for replies, '' = replies go to the sender address.
isDefaulttruene

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

Delete a sender

DELETE /api/v1/tenants/{tenant}/sending/senders/{sender_id}

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

204; 409 conflict default / in_use; ?replacementId= first moves the shop's default, the unfinished campaigns and the automation e-mail steps to that sender of the same shop.

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.
sender_idpathstringanoId of the sender (string of digits).
replacementIdquerystringne

Odpovědi

  • 204 No content

Chyby

StavKódHodnoty message
400validationreplacementId
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

Verify a waiting sender address once its domain is verified

POST /api/v1/tenants/{tenant}/sending/senders/{sender_id}/check

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

Zkontrolovat of an unverified sender (DO-03): verified once its address is on a verified sending domain.

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.
sender_idpathstringanoId of the sender (string of digits).

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

Where a sender is used

GET /api/v1/tenants/{tenant}/sending/senders/{sender_id}/usage

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

Where a sender is used: {items: [{type, id, name, status}]}, type default (its shop's default sender), campaign or automation.

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.
sender_idpathstringanoId of the sender (string of digits).

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.
404not_found
429429 rate_limited: wait Retry-After seconds.
503unavailablebusy

State of the sending setup (domains and senders)

GET /api/v1/tenants/{tenant}/sending/setup

Oprávnění: oblast settings, ú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.

Odpovědi

Chyby

StavKódHodnoty message
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

DmarcReport

PoleTypPovinnéPopis
totalsobjectano
domainsarray of objectano
daysarray of objectano
ipsarray of objectanoSending servers (top 100): country = ISO 3166-1 alpha-2 from the bundled GeoIP data ('' unknown), own = one of the platform's sending IPs (marked "(Poštárna)").
ipVersionsobjectano
countriesarray of objectanoEvery server of the period by country, most first.
reportersarray of objectano
dispositionsarray of objectano
casesarray of objectano
reporterChoicesarray of stringano
domainChoicesarray of objectano

DmarcSummary

PoleTypPovinnéPopis
daysnumberano
domainsarray of objectano
sourcesarray of objectano
reportsarray of objectano
complaintsobjectano

Error

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

SenderAuth

PoleTypPovinnéPopis
idstringano
shopIdstringano
namestringano
emailstringano
replyTostringano
domainstringano
domainIdstring or nullano
verifiedbooleanano
isDefaultbooleanano
freemailbooleanano
spfone of: ok, invalid, unknown, error, missingano
dkimone of: ok, invalid, unknown, error, missingano
dmarcone of: ok, invalid, unknown, error, missingano
usableAsSenderbooleanano
policyIssueone of: freemail, domain_not_verified, nullneDO-03: why Terms 7.4 would refuse this address today (it keeps working, the grid warns).

SenderUsage

One use of a sender (GET /sending/senders/{id}/usage). type default: the default sender of shop id.

PoleTypPovinnéPopis
typeone of: campaign, automation, defaultano
idstringano
namestringano
statusstringano

SendingDefaults

GET/PUT /tenants/{t}/sending-defaults: utmDefaultOn = new drafts start with the tracking parameters utm_source newsletter and utm_medium email.

PoleTypPovinnéPopis
utmDefaultOnbooleanano
automationNodeSendWindowHoursnumberanoRead only: the e-mail step window of automations in hours. One e-mail step e-mails one contact at most once in that many hours (0 = no limit, default 24). Support changes it on a written request; PUT ignores it.

SendingDefaultsInput

Body of PUT /tenants/{t}/sending-defaults: what the company itself may change.

PoleTypPovinnéPopis
utmDefaultOnbooleanano

SendingDomain

PoleTypPovinnéPopis
idstringano
domainstringano
dkimSelectorsarray of stringano
spfobjectano
dkimobjectano
dmarcobjectano
issuesarray of stringanoCodes, texts in the catalogs (deliverability.issue.<code>).
checkedAtstring or nullano
createdAtstringano

SendingDomainInput

PoleTypPovinnéPopis
domainstringano
dkimSelectorsarray of stringne

SendingDomainList

PoleTypPovinnéPopis
itemsarray of SendingDomainano
suggestionsarray of stringanoDomains of sender addresses without a sending domain yet.

SendingMode

one of: live, test, folder, off

SendingModeInfo

PoleTypPovinnéPopis
modeSendingModeano
testRecipientsnumberanoHow many addresses the tenant's test list has.
sendingEnabledbooleanneThe tenant's kill switch: off = no campaign goes out and no automation lets anybody in (tests still go out).
sendingStateone of: suspended, pending, live, pausedneThe platform's approval (B4): anything but live keeps the tenant to test e-mails.
sendingHoldone of: `, trial_limit, free_limit, unpaid, platform, reputation`neWhy a live tenant is held: the platform switch or billing (trial or free tier used up, unpaid invoice).
trialTrialUsage or nullneA capped self-serve trial: what it used of its limits and the days left; null otherwise.
sendingBlockone of: `, off, held, no_domain, switched_off`neWhy nothing goes out now: '' it can, held (the platform's approval or a hold, the banner names it), no_domain (no verified sending domain yet), switched_off (a person switched it off), off (it turns on by itself soon).
canSwitchOnbooleanneA verified sending domain exists, so a person with full settings rights may turn the switch on.
trialSenderTrialSenderInfo or nullneThe platform's shared trial sender carries this account's test e-mails (no verified sending domain yet); null or missing while it does not apply.
trialSenderReloginbooleanneThe trial sender would carry this account's tests, but this sign-in is older than it: sign in again.

SendingSetup

PoleTypPovinnéPopis
managedbooleananoThe tenant sends through the platform account (Poštárna creates the identity).
platformReadybooleananofalse = the platform still has to finish its part (no identity credential).
domainsarray of SetupDomainano
suggestionsarray of stringano
shopsarray of objectano
sendersarray of SetupSenderano
apiEmailEnabledbooleanneThe platform turned e-mails through the API (transactional) on for the account (AP-05).
agencyDomainsarray of stringneVerified domains of the agency this client account may send from (agencies).
advancedobjectnePlatform admins only.

SetupDnsRecord

PoleTypPovinnéPopis
kindone of: dkim, spf, dmarc, return_pathanoreturn_path = the custom MAIL FROM subdomain (bounce.<domain>): an MX and a TXT record.
typeone of: CNAME, TXT, MXano
prioritynumberneMX records only.
hoststringanoName without the domain (what most DNS hosts ask for); '@' = the domain itself.
namestringanoFull name.
valuestringano
requiredbooleanano
statusSetupRecordStatusano

SetupDomain

PoleTypPovinnéPopis
idstringano
domainstringano
stateSetupDomainStateano
recordsarray of SetupDnsRecordano
checkedAtstring or nullano
createdAtstringano
recheckUntilstring or nullanoUntil when Poštárna checks the unverified domain by itself (null when verified or waiting for the platform).
restartedAtstring or nullanoWhen Poštárna last started the failed check again after it found the records in DNS (null = never).
advancedobjectnePlatform admins only.

SetupDomainState

one of: pending, failed, verified, setup

SetupRecordStatus

one of: ok, unknown, missing

SetupSender

PoleTypPovinnéPopis
idstringano
shopIdstringano
namestringano
emailstringano
replyTostringano
isDefaultbooleanano
verifiedbooleanano
domainVerifiedbooleanano
verifyMethodone of: domain, emailneDO-03: domain = verified by the DKIM of its domain, email = confirmed (or waiting for) a confirmation e-mail.
verificationSentAtstring or nullneWhen the last confirmation e-mail went out; null = none could be sent.
freemailbooleanneAn address of a free mailbox service (its provider's DMARC fails for e-mails sent through Poštárna).
policyIssueone of: freemail, domain_not_verified, nullneDO-03: why Terms 7.4 would refuse this address today (it keeps working, the UI warns).

SetupSenderInput

PoleTypPovinnéPopis
shopIdstringano
emailstringano
namestringne
replyTostringne
isDefaultbooleanne

SetupSenderPatch

Edit of an existing sender. The address itself never changes (it belongs to a verified domain; server 400 validation email, reason read_only).

PoleTypPovinnéPopis
namestringneFrom name, at most 100 characters without < > { } " and line breaks.
replyTostringneAddress for replies, '' = replies go to the sender address.
isDefaulttruene

TrialSenderInfo

The shared trial sender of test e-mails (GET /tenants/{t}/sending-mode, trialSender).

PoleTypPovinnéPopis
fromstringano"Company přes Poštárnu <t-…@domain>": what the recipient sees as the sender.
addressesarray of stringanoWho may get a trial test: the login address first, then the confirmed extra addresses.
maxExtranumberanoHow many extra addresses may be confirmed besides the login address.
dailyCapnumberanoTrial tests of the account in 24 hours and how many of them are used.
usedTodaynumberano
disabledbooleananoA hard bounce or a complaint on a trial test switched the trial sender of this account off.
waitMinutesnumberneMinutes until a new account may send through it; 0 or missing = now.

TrialUsage

PoleTypPovinnéPopis
contactsnumberano
contactsLimitnumberano
emailsMonthnumberanoE-mails of this calendar month (campaigns, automations, transactional, double opt-in).
emailsLimitnumberano
hourlynumberano
dailynumberano
firstCampaignnumberano
endsAtstring or nullano
daysLeftnumber or nullano
firstPaymentPendingbooleanneA tariff is ordered but its first invoice is not paid yet: the trial limits hold until it is (terms 1.2).
firstPaymentInvoiceobject or nullne