Preskočiť na obsah
API dokumentácia

Odosielanie a doručiteľnosť

Referencia API pre odosielateľov, odosielacie domény (SPF, DKIM, DMARC), reporty DMARC a režim odosielania.

Technická referencia je v angličtine (rovnako ako strojovo čitateľný dokument OpenAPI). Celú skupinu pre AI agenta načítate z /api/openapi.json?tag=Sending.

Prihlásenie: Authorization: Bearer pst_... alebo HTTP Basic (e-mail člena firmy a API kľúč).

Operácie

MetódaCestaPopis
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ávnenie: oblasť dmarc, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Odpovede

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ávnenie: oblasť dmarc, úroveň read; kľúč s prístupom read alebo 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).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.
domainquerystringnie
fromquerystringnieStart 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_yearnieA 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.
reporterquerystringnie
toquerystringnieEnd of the period (YYYY-MM-DD local day, or ISO time where noted).

Odpovede

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ávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Telo požiadavky (application/json): Required by the server: domain.

PoleTypPovinnéPopis
domainstringáno
dkimSelectorsarray of stringnie

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the domain (string of digits).

Telo požiadavky (application/json): Required by the server: dkimSelectors.

PoleTypPovinnéPopis
dkimSelectorsarray of stringáno

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the domain (string of digits).

Odpovede

  • 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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the domain (string of digits).

Odpovede

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ávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Odpovede

  • 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ávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo 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.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom 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.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Telo požiadavky (application/json): Required by the server: utmDefaultOn.

PoleTypPovinnéPopis
utmDefaultOnbooleanáno

Odpovede

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ávnenie: oblasť null, úroveň read; kľúč s prístupom read alebo 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).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Telo požiadavky (application/json): Required by the server: domain.

PoleTypPovinnéPopis
domainstringáno

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the domain (string of digits).

Odpovede

  • 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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the domain (string of digits).

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Telo požiadavky (application/json): Required by the server: email, shopId.

PoleTypPovinnéPopis
shopIdstringáno
emailstringáno
namestringnie
replyTostringnie
isDefaultbooleannie

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the sender (string of digits).

Telo požiadavky (application/json)

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

Odpovede

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ávnenie: oblasť settings, úroveň full; kľúč s prístupom 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.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the sender (string of digits).
replacementIdquerystringnie

Odpovede

  • 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ávnenie: oblasť settings, úroveň full; kľúč s prístupom full

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

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the sender (string of digits).

Odpovede

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ávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full

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

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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_idpathstringánoId of the sender (string of digits).

Odpovede

  • 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ávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic 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.

Odpovede

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émy

DmarcReport

PoleTypPovinnéPopis
totalsobjectáno
domainsarray of objectáno
daysarray of objectáno
ipsarray of objectánoSending 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)").
ipVersionsobjectáno
countriesarray of objectánoEvery server of the period by country, most first.
reportersarray of objectáno
dispositionsarray of objectáno
casesarray of objectáno
reporterChoicesarray of stringáno
domainChoicesarray of objectáno

DmarcSummary

PoleTypPovinnéPopis
daysnumberáno
domainsarray of objectáno
sourcesarray of objectáno
reportsarray of objectáno
complaintsobjectáno

Error

PoleTypPovinnéPopis
errorobjectáno
json
{
  "error": {
    "code": "validation",
    "message": "email"
  }
}

SenderAuth

PoleTypPovinnéPopis
idstringáno
shopIdstringáno
namestringáno
emailstringáno
replyTostringáno
domainstringáno
domainIdstring or nulláno
verifiedbooleanáno
isDefaultbooleanáno
freemailbooleanáno
spfone of: ok, invalid, unknown, error, missingáno
dkimone of: ok, invalid, unknown, error, missingáno
dmarcone of: ok, invalid, unknown, error, missingáno
usableAsSenderbooleanáno
policyIssueone of: freemail, domain_not_verified, nullnieDO-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, defaultáno
idstringáno
namestringáno
statusstringáno

SendingDefaults

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

PoleTypPovinnéPopis
utmDefaultOnbooleanáno
automationNodeSendWindowHoursnumberánoRead 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
utmDefaultOnbooleanáno

SendingDomain

PoleTypPovinnéPopis
idstringáno
domainstringáno
dkimSelectorsarray of stringáno
spfobjectáno
dkimobjectáno
dmarcobjectáno
issuesarray of stringánoCodes, texts in the catalogs (deliverability.issue.<code>).
checkedAtstring or nulláno
createdAtstringáno

SendingDomainInput

PoleTypPovinnéPopis
domainstringáno
dkimSelectorsarray of stringnie

SendingDomainList

PoleTypPovinnéPopis
itemsarray of SendingDomaináno
suggestionsarray of stringánoDomains of sender addresses without a sending domain yet.

SendingMode

one of: live, test, folder, off

SendingModeInfo

PoleTypPovinnéPopis
modeSendingModeáno
testRecipientsnumberánoHow many addresses the tenant's test list has.
sendingEnabledbooleannieThe tenant's kill switch: off = no campaign goes out and no automation lets anybody in (tests still go out).
sendingStateone of: suspended, pending, live, pausednieThe platform's approval (B4): anything but live keeps the tenant to test e-mails.
sendingHoldone of: `, trial_limit, free_limit, unpaid, platform, reputation`nieWhy a live tenant is held: the platform switch or billing (trial or free tier used up, unpaid invoice).
trialTrialUsage or nullnieA capped self-serve trial: what it used of its limits and the days left; null otherwise.
sendingBlockone of: `, off, held, no_domain, switched_off`nieWhy 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).
canSwitchOnbooleannieA verified sending domain exists, so a person with full settings rights may turn the switch on.
trialSenderTrialSenderInfo or nullnieThe 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.
trialSenderReloginbooleannieThe trial sender would carry this account's tests, but this sign-in is older than it: sign in again.

SendingSetup

PoleTypPovinnéPopis
managedbooleanánoThe tenant sends through the platform account (Poštárna creates the identity).
platformReadybooleanánofalse = the platform still has to finish its part (no identity credential).
domainsarray of SetupDomaináno
suggestionsarray of stringáno
shopsarray of objectáno
sendersarray of SetupSenderáno
apiEmailEnabledbooleannieThe platform turned e-mails through the API (transactional) on for the account (AP-05).
agencyDomainsarray of stringnieVerified domains of the agency this client account may send from (agencies).
advancedobjectniePlatform admins only.

SetupDnsRecord

PoleTypPovinnéPopis
kindone of: dkim, spf, dmarc, return_pathánoreturn_path = the custom MAIL FROM subdomain (bounce.<domain>): an MX and a TXT record.
typeone of: CNAME, TXT, MXáno
prioritynumbernieMX records only.
hoststringánoName without the domain (what most DNS hosts ask for); '@' = the domain itself.
namestringánoFull name.
valuestringáno
requiredbooleanáno
statusSetupRecordStatusáno

SetupDomain

PoleTypPovinnéPopis
idstringáno
domainstringáno
stateSetupDomainStateáno
recordsarray of SetupDnsRecordáno
checkedAtstring or nulláno
createdAtstringáno
recheckUntilstring or nullánoUntil when Poštárna checks the unverified domain by itself (null when verified or waiting for the platform).
restartedAtstring or nullánoWhen Poštárna last started the failed check again after it found the records in DNS (null = never).
advancedobjectniePlatform admins only.

SetupDomainState

one of: pending, failed, verified, setup

SetupRecordStatus

one of: ok, unknown, missing

SetupSender

PoleTypPovinnéPopis
idstringáno
shopIdstringáno
namestringáno
emailstringáno
replyTostringáno
isDefaultbooleanáno
verifiedbooleanáno
domainVerifiedbooleanáno
verifyMethodone of: domain, emailnieDO-03: domain = verified by the DKIM of its domain, email = confirmed (or waiting for) a confirmation e-mail.
verificationSentAtstring or nullnieWhen the last confirmation e-mail went out; null = none could be sent.
freemailbooleannieAn 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, nullnieDO-03: why Terms 7.4 would refuse this address today (it keeps working, the UI warns).

SetupSenderInput

PoleTypPovinnéPopis
shopIdstringáno
emailstringáno
namestringnie
replyTostringnie
isDefaultbooleannie

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
namestringnieFrom name, at most 100 characters without < > { } " and line breaks.
replyTostringnieAddress for replies, '' = replies go to the sender address.
isDefaulttruenie

TrialSenderInfo

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

PoleTypPovinnéPopis
fromstringáno"Company přes Poštárnu <t-…@domain>": what the recipient sees as the sender.
addressesarray of stringánoWho may get a trial test: the login address first, then the confirmed extra addresses.
maxExtranumberánoHow many extra addresses may be confirmed besides the login address.
dailyCapnumberánoTrial tests of the account in 24 hours and how many of them are used.
usedTodaynumberáno
disabledbooleanánoA hard bounce or a complaint on a trial test switched the trial sender of this account off.
waitMinutesnumbernieMinutes until a new account may send through it; 0 or missing = now.

TrialUsage

PoleTypPovinnéPopis
contactsnumberáno
contactsLimitnumberáno
emailsMonthnumberánoE-mails of this calendar month (campaigns, automations, transactional, double opt-in).
emailsLimitnumberáno
hourlynumberáno
dailynumberáno
firstCampaignnumberáno
endsAtstring or nulláno
daysLeftnumber or nulláno
firstPaymentPendingbooleannieA tariff is ordered but its first invoice is not paid yet: the trial limits hold until it is (terms 1.2).
firstPaymentInvoiceobject or nullnie