Preskočiť na obsah
API dokumentácia

Contacts

Contacts of the company: profile fields, consent state, suppressions, custom fields, purposes of processing (consents), activities and GDPR export and erasure.

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=Contacts.

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

Operácie

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/contactsList contacts (search, filters, paging)
POST/api/v1/tenants/{tenant}/contactsCreate a contact
POST/api/v1/tenants/{tenant}/contacts/bulkStart a bulk action over contacts in the background
GET/api/v1/tenants/{tenant}/contacts/duplicatesFind possible duplicate contacts
GET/api/v1/tenants/{tenant}/contacts/summaryCount contacts by status
GET/api/v1/tenants/{tenant}/contacts/{contact_id}Get a contact
PATCH/api/v1/tenants/{tenant}/contacts/{contact_id}Update a contact
DELETE/api/v1/tenants/{tenant}/contacts/{contact_id}Delete a contact
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/activitiesList activities of a contact
POST/api/v1/tenants/{tenant}/contacts/{contact_id}/activitiesAdd a manual activity (note) to a contact
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/automation-runsThe real journey of a contact through the automations (runs and steps)
POST/api/v1/tenants/{tenant}/contacts/{contact_id}/blacklistBlacklist a contact
DELETE/api/v1/tenants/{tenant}/contacts/{contact_id}/blacklistRemove a contact from the blacklist
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/couponsList coupons given to a contact
POST/api/v1/tenants/{tenant}/contacts/{contact_id}/eraseErase a contact (GDPR, irreversible)
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/exportExport all data of a contact (GDPR access)
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/neighborsPrevious and next contact of a filtered list
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/purposesList consents (purposes) of a contact
POST/api/v1/tenants/{tenant}/contacts/{contact_id}/purposesRecord a consent (purpose) of a contact
POST/api/v1/tenants/{tenant}/contacts/{contact_id}/purposes/{consent_id}/withdrawWithdraw a consent of a contact
GET/api/v1/tenants/{tenant}/contacts/{contact_id}/segmentsList segments a contact belongs to
POST/api/v1/tenants/{tenant}/contacts/{contact_id}/unsubscribeUnsubscribe a contact from everything
GET/api/v1/tenants/{tenant}/custom-fieldsList custom fields
POST/api/v1/tenants/{tenant}/custom-fieldsCreate a custom field
PATCH/api/v1/tenants/{tenant}/custom-fields/{field_id}Update a custom field
DELETE/api/v1/tenants/{tenant}/custom-fields/{field_id}Delete a custom field
GET/api/v1/tenants/{tenant}/purposesList purposes of processing (consent types)
POST/api/v1/tenants/{tenant}/purposesCreate a purpose of processing
PATCH/api/v1/tenants/{tenant}/purposes/{purpose_id}Update a purpose of processing
DELETE/api/v1/tenants/{tenant}/purposes/{purpose_id}Delete a purpose of processing
POST/api/v1/tenants/{tenant}/purposes/{purpose_id}/to-contact-listCreate a list of the contacts with a purpose
GET/api/v1/tenants/{tenant}/searchSearch contacts, campaigns, templates and more
GET/api/v1/tenants/{tenant}/suppressionsList suppressed addresses
POST/api/v1/tenants/{tenant}/suppressionsSuppress an address
POST/api/v1/tenants/{tenant}/suppressions/blacklist-importImport addresses to the blacklist
DELETE/api/v1/tenants/{tenant}/suppressions/{email}Remove one suppression

List contacts (search, filters, paging)

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

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: search_contacts

Searches contacts. Filters: q (e-mail, name or #id), tab (all, bounced, no_list, blacklisted, complained), status (pending, subscribed, unsubscribed, bounced, complained), engagement (A to E, N), shop. Paged, newest first.

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.
createdFromquerystringnie
createdToquerystringnie
engagementquerystringnieEngagement grade A to E or N (unknown).
engagementOpquerystringnie
fieldsquerystringnie
importquerystringnie
listquerystringnie
listOpquerystringnie
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text. max 200 chars
shopquerystringnieShop id filter.
sortquerystringnieSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
sourcequerystringnie
sourceOpquerystringnie
statequerystringnie
stateOpquerystringnie
statusqueryone of: pending, subscribed, unsubscribed, bounced, complainednieContact status.
tabqueryone of: all, bounced, no_list, blacklisted, complainednieTab filter.

Odpovede

  • 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.

Create a contact

POST /api/v1/tenants/{tenant}/contacts

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: create_contact (cez MCP len s náhľadom a potvrdením)

Creates a contact by hand (like one import row). Needs a purpose of processing and consentConfirmed true (the user confirms a documented consent). Other profile fields by their API names: titleBefore, titleAfter, mobile, companyId, street, postalCode, country, nameDay, note, salutation, salutationFormal, vocativeFirstName, vocativeLastName, affiliateId.

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
emailstringáno
shopIdstringáno
purposeIdstringáno
consentConfirmedbooleanáno
listIdsarray of stringnie
validFromstringnieSE's "Od kdy účel platí" (KK-17): a day (YYYY-MM-DD) or an ISO date-time; default now.
firstNamestringnie
lastNamestringnie
titleBeforestringnie
titleAfterstringnie
salutationstringnie
salutationFormalstringnie
vocativeFirstNamestringnie
vocativeLastNamestringnie
genderone of: f, m, nullnie
languagestringnie
companystringnie
companyIdstringnie
phonestringnie
mobilestringnie
streetstringnie
citystringnie
postalCodestringnie
countrystring or nullnie
birthdaystring or nullnie
nameDaystring or nullnie
notestringnie
affiliateIdstringnie
customFieldsmap of boolean or string or number or array of string or nullnie

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.

Start a bulk action over contacts in the background

POST /api/v1/tenants/{tenant}/contacts/bulk

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

SE's bulk actions of the contacts grid as a background job (core/contacts_bulk.py, KG-08): body {action: add_to_list | blacklist | delete, contactIds: [ids] (the ticked rows) or all: true (every contact matching the grid filters given as the query string of GET /contacts), listIds for add_to_list}. Contacts on the blacklist are left out. 202 {jobId, count}; the end comes as the notification contacts_bulk_done.

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.
createdFromquerystringnie
createdToquerystringnie
engagementquerystringnie
engagementOpquerystringnie
fieldsquerystringnie
importquerystringnie
listquerystringnie
listOpquerystringnie
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text (case and diacritics insensitive). max 200 chars
shopquerystringnieOnly objects of this shop (shop id).
sortquerystringnieSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
sourcequerystringnie
sourceOpquerystringnie
statequerystringnie
stateOpquerystringnie
statusquerystringnieStatus filter.
tabquerystringnie

Telo požiadavky (application/json)

PoleTypPovinnéPopis
actionone of: blacklist, add_to_list, deleteáno
contactIdsarray of stringnieThe ticked contacts; or all: every contact matching the grid query (no cap).
allbooleannie
listIdsarray of stringnieadd_to_list: the manual lists.

Odpovede

Chyby

StavKódHodnoty message
400validationall, contactIds, q
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.

Find possible duplicate contacts

GET /api/v1/tenants/{tenant}/contacts/duplicates

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full

Possible duplicates (core/contacts.possible_duplicates): groups of contacts with the same phone or the same name and company. A report only, nothing is merged.

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.

Count contacts by status

GET /api/v1/tenants/{tenant}/contacts/summary

Oprávnenie: modul contacts, ú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.
createdFromquerystringnie
createdToquerystringnie
engagementquerystringnie
engagementOpquerystringnie
fieldsquerystringnie
listquerystringnie
listOpquerystringnie
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text (case and diacritics insensitive). max 200 chars
shopquerystringnieOnly objects of this shop (shop id).
sortquerystringnieSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
sourcequerystringnie
sourceOpquerystringnie
statequerystringnie
stateOpquerystringnie
statusquerystringnieStatus filter.
tabquerystringnie

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.

Get a contact

GET /api/v1/tenants/{tenant}/contacts/{contact_id}

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: get_contact

Contact card: profile fields, status and consent, lists, last 90 days of e-mail activity, recent activities and orders (totals per currency).

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.
contact_idpathstringánoId of the contact (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.

Update a contact

PATCH /api/v1/tenants/{tenant}/contacts/{contact_id}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: update_contact (cez MCP len s náhľadom a potvrdením)

Changes profile fields and custom fields of a contact (never its e-mail, status or consent). Other profile fields by their API names: titleBefore, titleAfter, mobile, companyId, street, postalCode, country, nameDay, note, salutation, salutationFormal, vocativeFirstName, vocativeLastName, affiliateId.

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.
contact_idpathstringánoId of the contact (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
firstNamestringnie
lastNamestringnie
titleBeforestringnie
titleAfterstringnie
salutationstringnie
salutationFormalstringnie
vocativeFirstNamestringnie
vocativeLastNamestringnie
genderone of: f, m, nullnie
languagestringnie
companystringnie
companyIdstringnie
phonestringnie
mobilestringnie
streetstringnie
citystringnie
postalCodestringnie
countrystring or nullnie
birthdaystring or nullnie
nameDaystring or nullnie
notestringnie
affiliateIdstringnie
customFieldsmap of boolean or string or number or array of string or nullnie

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.

Delete a contact

DELETE /api/v1/tenants/{tenant}/contacts/{contact_id}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: delete_contact (cez MCP len s náhľadom a potvrdením)

Deletes a contact (its suppression stays, so it is never mailed again by mistake). For a data erasure request use erase_contact.

204, 404, or 423 recently_sent: a campaign e-mail to the contact is queued or went out within 24 hours (SE's HTTP 423, core/contact_data.py RECENT_SEND).

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.
contact_idpathstringánoId of the contact (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
423recently_sent
429429 rate_limited: wait Retry-After seconds.

List activities of a contact

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/activities

Oprávnenie: modul contacts, ú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.
contact_idpathstringánoId of the contact (string of digits).
fromquerystringnieStart of the period (YYYY-MM-DD local day, or ISO time where noted).
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text (case and diacritics insensitive). max 200 chars
toquerystringnieEnd of the period (YYYY-MM-DD local day, or ISO time where noted).
typequerystringnie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationq, type
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.

Add a manual activity (note) to a contact

POST /api/v1/tenants/{tenant}/contacts/{contact_id}/activities

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: add_contact_activity

Adds a note, call, deal or other activity to a contact.

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.
contact_idpathstringánoId of the contact (string of digits).

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

PoleTypPovinnéPopis
kindone of: other, note, call, dealáno
titlestringáno
bodystringnie
atstringnieISO time; default now.

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.

The real journey of a contact through the automations (runs and steps)

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/automation-runs

Oprávnenie: modul campaigns, úroveň read; kľúč s prístupom read alebo full

The real journey of one contact through the automations (contact card, tab Automatizace): its runs, newest first, each with {automation: {id, name, status}, nodes: {key: {type, name}}} and its real steps (outcome, branch, next node, reason). Paged. 404 for a contact of another tenant.

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.
contact_idpathstringánoId of the contact (string of digits).
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100

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.

Blacklist a contact

POST /api/v1/tenants/{tenant}/contacts/{contact_id}/blacklist

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: blacklist_contact

Puts the contact on the blacklist (manual suppression: never mailed).

Card menu "Přidat na blacklist" (KK-02): 201 newly added, 200 already there (the note stays); 409 suppression_locked with params.reason when the address is suppressed for another reason.

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.
contact_idpathstringánoId of the contact (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
notestringáno

Odpovede

  • 200 OK: it already existed or nothing changed: application/json BlacklistResult
  • 201 Created (200 when it already existed or nothing changed): application/json BlacklistResult

Chyby

StavKódHodnoty message
400validationemail, note
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
409suppression_locked
429429 rate_limited: wait Retry-After seconds.

Remove a contact from the blacklist

DELETE /api/v1/tenants/{tenant}/contacts/{contact_id}/blacklist

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: unblacklist_contact (cez MCP len s náhľadom a potvrdením)

Takes the contact off the blacklist (it stays unsubscribed until it subscribes again).

Card menu "Odebrat z blacklistu": 204; 404 when the contact is not on the blacklist; 409 suppression_locked when its suppression has another reason (only a confirmed double opt-in lifts those).

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.
contact_idpathstringánoId of the contact (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
409suppression_locked
429429 rate_limited: wait Retry-After seconds.

List coupons given to a contact

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/coupons

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full

The codes of one contact (tab Slevové kupóny): code, stack, status, assigned and used.

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.
contact_idpathstringánoId of the contact (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.

Erase a contact (GDPR, irreversible)

POST /api/v1/tenants/{tenant}/contacts/{contact_id}/erase

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: erase_contact (cez MCP len s náhľadom a potvrdením)

Erasure on request (GDPR): erases the person and their data, keeps only a keyed hash that blocks a new import.

Erasure on request: the tenant's data in the request's transaction, then the consent log as the platform role (only after the tenant transaction committed). When that second step fails, the same request again finishes it (review of batch 4): the contact is gone, but its consent log rows still name the address (cd.erasure_state); a contact that was never erased here stays 404.

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.
contact_idpathstringánoId of the contact (string of digits).

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

PoleTypPovinnéPopis
confirmbooleanáno

Odpovede

Chyby

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

Export all data of a contact (GDPR access)

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/export

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: export_contact_data

Everything stored about one contact (data access request), as JSON.

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.
contact_idpathstringánoId of the contact (string of digits).

Odpovede

  • 200 OK: application/json map of any

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.

Previous and next contact of a filtered list

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/neighbors

Oprávnenie: modul contacts, ú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.
contact_idpathstringánoId of the contact (string of digits).
createdFromquerystringnie
createdToquerystringnie
engagementquerystringnie
engagementOpquerystringnie
fieldsquerystringnie
importquerystringnie
listquerystringnie
listOpquerystringnie
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text (case and diacritics insensitive). max 200 chars
shopquerystringnieOnly objects of this shop (shop id).
sortquerystringnieSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
sourcequerystringnie
sourceOpquerystringnie
statequerystringnie
stateOpquerystringnie
statusquerystringnieStatus filter.
tabquerystringnie

Odpovede

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.

List consents (purposes) of a contact

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/purposes

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: get_contact_consents

Consents (purposes of processing) of a contact.

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.
contact_idpathstringánoId of the contact (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.

Record a consent (purpose) of a contact

POST /api/v1/tenants/{tenant}/contacts/{contact_id}/purposes

Oprávnenie: modul contacts, ú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.
contact_idpathstringánoId of the contact (string of digits).

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

PoleTypPovinnéPopis
validFromstringnie
validUntilstringnie
purposeIdstringáno

Odpovede

  • 201 Created: 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.

Withdraw a consent of a contact

POST /api/v1/tenants/{tenant}/contacts/{contact_id}/purposes/{consent_id}/withdraw

Oprávnenie: modul contacts, ú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.
contact_idpathstringánoId of the contact (string of digits).
consent_idpathstringánoId of the consent (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
409conflictstatus
429429 rate_limited: wait Retry-After seconds.

List segments a contact belongs to

GET /api/v1/tenants/{tenant}/contacts/{contact_id}/segments

Oprávnenie: modul contacts, ú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.
contact_idpathstringánoId of the contact (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.

Unsubscribe a contact from everything

POST /api/v1/tenants/{tenant}/contacts/{contact_id}/unsubscribe

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: unsubscribe_contact (cez MCP len s náhľadom a potvrdením)

Unsubscribes a contact from all e-mails, as its own unsubscribe link would (only a new double opt-in subscribes it again).

Unsubscribes the contact from everything, as its own unsubscribe link would (store.unsubscribe: status unsubscribed, the address suppressed, queued e-mails skipped, the consent log). Only a new double opt-in subscribes it again. Body optional {note}: up to 500 characters for the consent log. Answers the contact detail.

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.
contact_idpathstringánoId of the contact (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
notestringnieReason for the consent log, up to 500 characters. max 500 chars

Odpovede

Chyby

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

List custom fields

GET /api/v1/tenants/{tenant}/custom-fields

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: list_custom_fields

Custom contact fields (id, name, type, options).

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.

Create a custom field

POST /api/v1/tenants/{tenant}/custom-fields

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: create_custom_field

Creates a custom contact field.

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)

PoleTypPovinnéPopis
namestringáno
typeone of: number, text, date, checkbox, textarea, select, multi_checkbox, radioáno
optionsarray 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.

Update a custom field

PATCH /api/v1/tenants/{tenant}/custom-fields/{field_id}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: update_custom_field

Renames a custom field or changes its options.

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.
field_idpathstringánoId of the field (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
namestringnie
optionsarray 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.
404not_found
429429 rate_limited: wait Retry-After seconds.

Delete a custom field

DELETE /api/v1/tenants/{tenant}/custom-fields/{field_id}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: delete_custom_field (cez MCP len s náhľadom a potvrdením)

Deletes a custom field and its values.

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.
field_idpathstringánoId of the field (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.

List purposes of processing (consent types)

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

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: list_purposes

Purposes of processing (consents) with legal basis and validity.

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.

Create a purpose of processing

POST /api/v1/tenants/{tenant}/purposes

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: create_purpose

Creates a purpose of processing.

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)

PoleTypPovinnéPopis
namestringáno
legalBasisone of: consent, contract, legal_obligation, legitimate_interest, vital_interest, public_interestáno
validityDaysnumber or nullnieOlder callers send whole days; the purpose form sends validity.
validityValidityLength or nullnie
notesstringáno

Odpovede

  • 201 Created: application/json Purpose

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.

Update a purpose of processing

PATCH /api/v1/tenants/{tenant}/purposes/{purpose_id}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: update_purpose

Changes a purpose of processing.

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.
purpose_idpathstringánoId of the purpose (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
namestringnie
legalBasisone of: consent, contract, legal_obligation, legitimate_interest, vital_interest, public_interestnie
validityDaysnumber or nullnieOlder callers send whole days; the purpose form sends validity.
validityValidityLength or nullnie
notesstringnie

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.

Delete a purpose of processing

DELETE /api/v1/tenants/{tenant}/purposes/{purpose_id}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: delete_purpose (cez MCP len s náhľadom a potvrdením)

Deletes an unused purpose of processing.

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.
purpose_idpathstringánoId of the purpose (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
409conflictin_use
429429 rate_limited: wait Retry-After seconds.

Create a list of the contacts with a purpose

POST /api/v1/tenants/{tenant}/purposes/{purpose_id}/to-contact-list

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

SE "Přidat ke kontaktům v seznamu": body {listId}; answers {count} of the consents added.

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.
purpose_idpathstringánoId of the purpose (string of digits).

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

PoleTypPovinnéPopis
listIdstringáno

Odpovede

  • 200 OK: application/json object

Chyby

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

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

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: search

Quick search over contacts and lists (at least 2 characters).

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.
qquerystringnieSearch text. max 200 chars

Odpovede

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.

List suppressed addresses

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

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: list_suppressions

Suppression list (addresses never mailed) with reason.

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.
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text. max 200 chars
reasonquerystringnieReason filter (manual, unsubscribed, hard_bounce, complaint...).

Odpovede

  • 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.

Suppress an address

POST /api/v1/tenants/{tenant}/suppressions

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: add_suppression

Adds an address to the suppression list (manual blacklist), also when it is not a contact.

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)

PoleTypPovinnéPopis
emailstringánoAddress.
detailstringnieNote.

Odpovede

  • 200 OK: it already existed or nothing changed: application/json object
  • 201 Created (200 when it already existed or nothing changed): application/json object

Chyby

StavKódHodnoty message
400validationdetail, email
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.

Import addresses to the blacklist

POST /api/v1/tenants/{tenant}/suppressions/blacklist-import

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

SmartEmailing's blacklist on the tenant's blacklist (core/blacklist.py, migration 0180): body {contacts: the SmartEmailing backup list (blacklisted.json) or {emails: [addresses]}, apply: true to write (default: a dry run that writes nothing)}. Idempotent; nothing is sent, no automation starts, no other suppression or contact changes. 200 with the counts (never an address).

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)

PoleTypPovinnéPopis
applyanynie
contactsanynie
emailsanynie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationapply, contacts
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.

Remove one suppression

DELETE /api/v1/tenants/{tenant}/suppressions/{email}

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full · Nástroj MCP: remove_suppression (cez MCP len s náhľadom a potvrdením)

Removes a manual suppression of an address (other reasons are locked).

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.
emailpathstringánoE-mail address (URL encoded).

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
409suppression_locked
429429 rate_limited: wait Retry-After seconds.

Schémy

Activity

PoleTypPovinnéPopis
idstringáno
typeActivityTypeáno
atstringáno
titlestringánoCampaign, form or order name; tenant data, shown as is.

ActivityDetail

What the expanded activity card shows (SE: E-mail, Newsletter or Automatizace, Šablona, Zdroj); null = none.

PoleTypPovinnéPopis
emailstring or nulláno
messageKindone of: campaign, automation, nulláno
campaignIdstring or nulláno
campaignNamestring or nulláno
automationIdstring or nulláno
automationNamestring or nulláno
templateIdstring or nulláno
templateNamestring or nulláno
sourcestring or nulláno
orderIdstring or nulláno

ActivityType

one of: other, unsubscribed, bounced, form, sent, opened, clicked, doi, order, status_change, web_tracking, note, call, deal

AutomationRunStatus

one of: active, completed, exited

AutomationStatus

one of: active, draft, paused

AutomationStepOutcome

one of: expired, queued, failed, skipped, goal, reset, end, yes, no, entered, passed, variant, released, jumped

BlacklistResult

A blacklist entry made from the contact card (POST /contacts/{id}/blacklist).

PoleTypPovinnéPopis
emailstringáno
reasonone of: invalid, manual, unsubscribed, hard_bounce, complaint, soft_bounce_limitáno
sourcestringáno
detailstringánoThe note why (empty when none was given).
createdAtstringáno
createdbooleanánoFalse when the contact was already on the blacklist (its note stays).

ConsentBasis

one of: none, soft_opt_in_customer, double_opt_in, imported

ContactActivity

PoleTypPovinnéPopis
bodystringánoText of a custom activity, '' for the others.
detailActivityDetailnieReferences of the activity (missing from older servers).
idstringáno
typeActivityTypeáno
atstringáno
titlestringánoCampaign, form or order name; tenant data, shown as is.

ContactAutomationRun

A run of one contact with its automation (contact card, tab Automatizace).

PoleTypPovinnéPopis
automationobjectáno
nodesmap of objectánoThe nodes of the automation by key: type and name (the name may be empty).
idstringáno
contactobjectáno
statusAutomationRunStatusáno
nodestring or nulláno
entryKeystringáno
enteredAtstringáno
dueAtstring or nulláno
finishedAtstring or nulláno
exitReasonstring or nulláno
stepsarray of objectánoThe real steps (automation_steps): reason = why a step was skipped or failed, messageId = the e-mail it queued.
triggerstring or nullnieThe trigger node the run came in through.

ContactConsent

PoleTypPovinnéPopis
idstringáno
purposeIdstringáno
namestringáno
legalBasisone of: consent, contract, legal_obligation, legitimate_interest, vital_interest, public_interestáno
validFromstringáno
validUntilstring or nulláno
withdrawnAtstring or nulláno
sourcestringáno
stateone of: expired, valid, future, withdrawnáno

ContactCoupon

PoleTypPovinnéPopis
idstringáno
codestringáno
statusCouponStatusáno
assignedAtstring or nulláno
usedAtstring or nulláno
stackIdstringáno
stackNamestringáno
shopIdstringáno

ContactCreateInput

A contact added by hand: like a one-row import (purpose and confirmation required).

PoleTypPovinnéPopis
emailstringáno
shopIdstringáno
purposeIdstringáno
consentConfirmedbooleanáno
listIdsarray of stringnie
validFromstringnieSE's "Od kdy účel platí" (KK-17): a day (YYYY-MM-DD) or an ISO date-time; default now.
firstNamestringnie
lastNamestringnie
titleBeforestringnie
titleAfterstringnie
salutationstringnie
salutationFormalstringnie
vocativeFirstNamestringnie
vocativeLastNamestringnie
genderone of: f, m, nullnie
languagestringnie
companystringnie
companyIdstringnie
phonestringnie
mobilestringnie
streetstringnie
citystringnie
postalCodestringnie
countrystring or nullnie
birthdaystring or nullnie
nameDaystring or nullnie
notestringnie
affiliateIdstringnie
customFieldsmap of boolean or string or number or array of string or nullnie

ContactDetail

PoleTypPovinnéPopis
guidstring or nullnieSE's contact GUID (32 hex characters): the grid search finds it as #GUID (KG-07).
sourcesarray of ContactSourceRecordnieSource records (CSV import, Shoptet, SmartEmailing ...); the contact's own state is the most restrictive one.
editedFieldsarray of stringnieFields a person edited in Poštárna: imports and syncs never overwrite them.
phonestringáno
mobilestringáno
titleBeforestringáno
titleAfterstringáno
salutationstringáno
salutationFormalstringáno
vocativeFirstNamestringáno
vocativeLastNamestringáno
genderone of: f, m, nulláno
languagestringáno
companystringáno
companyIdstringáno
streetstringáno
citystringáno
postalCodestringáno
countrystring or nulláno
birthdaystring or nulláno
nameDaystring or nullánoMM-DD
notestringáno
affiliateIdstringáno
sourceContactSourceáno
consentBasisConsentBasisáno
consentWeakbooleanáno
statusAtstringánoWhen the current status (ContactListItem.status) started; always set.
consentAtstring or nullánoWhen the current consent was given; null without one (e.g. weak consent).
softBouncesnumberáno
lastSentAtstring or nulláno
lastOpenAtstring or nulláno
lastClickAtstring or nulláno
suppressedAtstring or nulláno
suppressionNotestring or nullánoNote given when the address was put on the blacklist by hand (suppressionReason 'manual'), else null.
stats90dContactStatsáno
listsarray of ContactListMembershipáno
recentActivitiesarray of ActivityánoNewest first, at most 20.
ordersarray of ContactOrderánoNewest first, at most 20.
orderTotalsarray of OrderTotaláno
engagementAtstring or nullánoWhen the engagement grade last changed (weekly recomputation).
customFieldsmap of CustomFieldValueánoValues of custom fields by field id.
updatedAtstringáno
idstringáno
emailstringáno
firstNamestringáno
lastNamestringáno
statusone of: pending, subscribed, unsubscribed, bounced, complained, customeráno
engagementone of: A, B, C, D, E, Náno
excludedbooleanánoSE "Vyloučené": long inactive yet mailed often (recomputed weekly with the engagement).
shopIdstring or nullánoMain e-shop (contacts.shop_id), null when unknown.
suppressionReasonone of: invalid, manual, unsubscribed, hard_bounce, complaint, soft_bounce_limit, nullánoSet when the address is on the tenant suppression list.
blacklistedbooleannieOn the tenant's blacklist ("Na blacklistu"): a manual entry, or an entry of SmartEmailing's blacklist that keeps its own reason (migration 0180). Older servers leave it out: then suppressionReason 'manual' decides.
blacklistedAtstring or nullnieWhen the address went on the blacklist (the suppression's time), null when it is not on it ("Přidán na blacklist").
stateone of: active, bounced, blacklistednieSmartEmailing's 3-value contact state; older servers leave it out (contactState derives it).
createdAtstringáno
extramap of boolean or string or number or nullnieValues of the extra columns asked for (ContactQuery.fields): dates as YYYY-MM-DD, times as ISO.

ContactListItem

PoleTypPovinnéPopis
idstringáno
emailstringáno
firstNamestringáno
lastNamestringáno
statusone of: pending, subscribed, unsubscribed, bounced, complained, customeráno
engagementone of: A, B, C, D, E, Náno
excludedbooleanánoSE "Vyloučené": long inactive yet mailed often (recomputed weekly with the engagement).
shopIdstring or nullánoMain e-shop (contacts.shop_id), null when unknown.
suppressionReasonone of: invalid, manual, unsubscribed, hard_bounce, complaint, soft_bounce_limit, nullánoSet when the address is on the tenant suppression list.
blacklistedbooleannieOn the tenant's blacklist ("Na blacklistu"): a manual entry, or an entry of SmartEmailing's blacklist that keeps its own reason (migration 0180). Older servers leave it out: then suppressionReason 'manual' decides.
blacklistedAtstring or nullnieWhen the address went on the blacklist (the suppression's time), null when it is not on it ("Přidán na blacklist").
stateone of: active, bounced, blacklistednieSmartEmailing's 3-value contact state; older servers leave it out (contactState derives it).
createdAtstringáno
extramap of boolean or string or number or nullnieValues of the extra columns asked for (ContactQuery.fields): dates as YYYY-MM-DD, times as ISO.

ContactListMembership

PoleTypPovinnéPopis
listIdstringáno
namestringáno
stateListMembershipStateáno
changedAtstringáno
listSizenumberáno

ContactNeighbors

PoleTypPovinnéPopis
prevIdstring or nulláno
nextIdstring or nulláno

ContactOrder

PoleTypPovinnéPopis
idstringáno
shopIdstringáno
codestringáno
statusOrderStatusáno
sourceStatusstringánoState name in the e-shop
currencyCurrencyáno
totalWithVatstring or nullánoDecimal string with VAT in the order currency, as sent by the e-shop.
orderedAtstringáno
paidAtstring or nulláno
itemsarray of OrderItemPreviewánoFirst items only; itemCount is the full number of lines.
itemCountnumberáno

ContactPatch

Profile changes; the address, state and consent never change here. A null custom field value removes it.

PoleTypPovinnéPopis
firstNamestringnie
lastNamestringnie
titleBeforestringnie
titleAfterstringnie
salutationstringnie
salutationFormalstringnie
vocativeFirstNamestringnie
vocativeLastNamestringnie
genderone of: f, m, nullnie
languagestringnie
companystringnie
companyIdstringnie
phonestringnie
mobilestringnie
streetstringnie
citystringnie
postalCodestringnie
countrystring or nullnie
birthdaystring or nullnie
nameDaystring or nullnie
notestringnie
affiliateIdstringnie
customFieldsmap of boolean or string or number or array of string or nullnie

ContactSegment

PoleTypPovinnéPopis
idstringáno
namestringáno
shopIdstringáno
refreshone of: static, dailyáno
computedAtstring or nulláno
updatedAtstringáno
tagsarray of stringánoThe segment's labels (SE's column Štítky).
activenumberánoContacts of the segment that can be e-mailed (SE's Aktivní kontakty).

ContactSource

one of: manual, shoptet, smartemailing, api, erp_order, signup_form, import

ContactSourceRecord

One source record of a contact (provenance): what that source says about consent.

PoleTypPovinnéPopis
sourceone of: manual, shoptet, csv, smartemailing, api, form, erpáno
consentone of: unsubscribed, hard_bounce, blacklisted, opt_in, noneáno
consentAtstring or nulláno
firstSeenAtstringáno
lastSeenAtstringáno

ContactStats

PoleTypPovinnéPopis
receivednumberáno
openednumberáno
clickednumberáno
bestHournumber or nullánoHour of day (0 to 23, tenant time zone) with the most opens, null without data.
preferredDeliveryTimestring or nullnieSE's preferredDeliveryTime 'HH:MM' (KK-20): the same ideal time the automations' Individuální čas and the campaigns' Ideální čas odeslání use; null without an open.

ContactSummary

PoleTypPovinnéPopis
totalnumberáno
byStatusobjectáno
blacklistednumberáno

ContactsBulkRequest

PoleTypPovinnéPopis
actionone of: blacklist, add_to_list, deleteáno
contactIdsarray of stringnieThe ticked contacts; or all: every contact matching the grid query (no cap).
allbooleannie
listIdsarray of stringnieadd_to_list: the manual lists.

ContactsBulkStarted

PoleTypPovinnéPopis
jobIdstringáno
countnumberánoContacts the action will go over (blacklisted ones left out).

CouponStatus

one of: free, assigned, used

Currency

one of: CZK, EUR

CustomActivityInput

PoleTypPovinnéPopis
kindone of: other, note, call, dealáno
titlestringáno
bodystringnie
atstringnieISO time; default now.

CustomField

PoleTypPovinnéPopis
idstringáno
namestringáno
typeone of: number, text, date, checkbox, textarea, select, multi_checkbox, radioánoFixed once created.
optionsarray of stringáno
usednumberánoContacts with a value.
createdAtstringáno

CustomFieldInput

PoleTypPovinnéPopis
namestringáno
typeone of: number, text, date, checkbox, textarea, select, multi_checkbox, radioáno
optionsarray of stringnie

CustomFieldValue

boolean or string or number or array of string

DuplicateGroup

Possible duplicates: contacts with the same phone or the same name and company (a report, nothing is merged).

PoleTypPovinnéPopis
kindone of: phone, name_companyáno
contactsarray of objectáno

DuplicateReport

PoleTypPovinnéPopis
groupsarray of DuplicateGroupáno
truncatedbooleanánoMore groups exist than the report shows (200).

EraseResult

PoleTypPovinnéPopis
erasedbooleanáno
consentLogRowsnumberánoConsent log rows whose address and evidence were blanked.

Error

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

ListMembershipState

one of: unsubscribed, confirmed, unconfirmed, removed

OrderItemPreview

PoleTypPovinnéPopis
namestringáno
quantitystringánodecimal string, orders can have fractional quantities
priceWithVatstring or nulláno

OrderStatus

one of: cancelled, other, pending, completed

OrderTotal

One row per currency. CZK and EUR are never added together or converted.

PoleTypPovinnéPopis
currencyCurrencyáno
countnumberáno
totalWithVatstringáno

Purpose

PoleTypPovinnéPopis
idstringáno
namestringáno
legalBasisone of: consent, contract, legal_obligation, legitimate_interest, vital_interest, public_interestáno
validityDaysnumber or nullánoHow long a consent lasts in whole days; null = no fixed period.
validityValidityLength or nullnieThe same length as entered (number and unit); null = no fixed period.
notesstringáno
consentsnumberánoActive (not withdrawn) consents.
createdAtstringáno

PurposeInput

PoleTypPovinnéPopis
namestringáno
legalBasisone of: consent, contract, legal_obligation, legitimate_interest, vital_interest, public_interestáno
validityDaysnumber or nullnieOlder callers send whole days; the purpose form sends validity.
validityValidityLength or nullnie
notesstringáno

SearchResults

PoleTypPovinnéPopis
contactsarray of ContactListItemáno
listsarray of objectáno

ValidityLength

Length of a purpose's validity as entered (months count 30 days and years 365 for the consent ends).

PoleTypPovinnéPopis
valuenumberáno
unitone of: seconds, minutes, hours, days, weeks, months, yearsáno