Preskočiť na obsah
API dokumentácia

Prehľad operácií

Podrobná technická referencia každej skupiny (parametre, telá, odpovede, chyby a schémy) je po anglicky, rovnako ako dokument OpenAPI 3.1, z ktorého sa generuje. Len jednu skupinu načítate parametrom ?tag= (napríklad https://www.postarna.cz/api/openapi.json?tag=Automations).

Každá operácia v OpenAPI nesie:

  • x-postarna-permission: modul, úroveň a potrebný prístup kľúča,
  • x-mcp-tool: nástroj servera MCP, ktorý ju obaľuje,
  • x-mcp-confirm: operácia posiela skutočným ľuďom alebo maže (cez MCP len s potvrdením),
  • pri odpovediach zoznam kódov chýb a hodnôt message, ktoré trasa môže vrátiť.

Cesty sa počítajú od https://www.postarna.cz; {tenant} je ID firmy.

Contacts

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

Lists

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/listsList contact lists
POST/api/v1/tenants/{tenant}/listsCreate a list
POST/api/v1/tenants/{tenant}/lists/mergeMerge lists into a new list (background)
POST/api/v1/tenants/{tenant}/lists/tagsChange labels of lists
GET/api/v1/tenants/{tenant}/lists/{list_id}Get a list
PATCH/api/v1/tenants/{tenant}/lists/{list_id}Update a list
DELETE/api/v1/tenants/{tenant}/lists/{list_id}Delete a list (only the list, with its contacts, or keeping contacts in other lists)
POST/api/v1/tenants/{tenant}/lists/{list_id}/autofillFill empty name day, gender and salutations of the members
POST/api/v1/tenants/{tenant}/lists/{list_id}/copyCopy a list with its members
GET/api/v1/tenants/{tenant}/lists/{list_id}/membersList members of a list
POST/api/v1/tenants/{tenant}/lists/{list_id}/membersAdd contacts to a list
POST/api/v1/tenants/{tenant}/lists/{list_id}/members/removeRemove contacts from a list
POST/api/v1/tenants/{tenant}/lists/{list_id}/members/unsubscribeUnsubscribe contacts from a list

Segments

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/segmentsList segments
POST/api/v1/tenants/{tenant}/segmentsCreate a segment
POST/api/v1/tenants/{tenant}/segments/previewCount the contacts of a segment definition (no save)
POST/api/v1/tenants/{tenant}/segments/tagsChange labels of segments
GET/api/v1/tenants/{tenant}/segments/{segment}Get a segment
PATCH/api/v1/tenants/{tenant}/segments/{segment}Update a segment
DELETE/api/v1/tenants/{tenant}/segments/{segment}Delete a segment no campaign, segment or automation names
GET/api/v1/tenants/{tenant}/segments/{segment}/membersList the members of a segment
POST/api/v1/tenants/{tenant}/segments/{segment}/recomputeRecompute a segment now
POST/api/v1/tenants/{tenant}/segments/{segment}/to-listConvert a segment into a manual list of its mailable contacts

Campaigns

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/campaignsList campaigns
POST/api/v1/tenants/{tenant}/campaignsCreate a campaign (draft)
POST/api/v1/tenants/{tenant}/campaigns/audienceCount and explain the recipients of an audience
POST/api/v1/tenants/{tenant}/campaigns/tagsChange labels of campaigns
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}Get a campaign
PATCH/api/v1/tenants/{tenant}/campaigns/{campaign_id}Update a campaign draft
DELETE/api/v1/tenants/{tenant}/campaigns/{campaign_id}Delete a campaign draft
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/approveApprove a campaign: send now or schedule
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/cancelCancel a scheduled or paused campaign
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}/contentGet the content of a campaign
PUT/api/v1/tenants/{tenant}/campaigns/{campaign_id}/contentSave the content of a campaign draft
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/pausePause a sending or scheduled campaign
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/previewRender a campaign for one contact
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/resumeResume a paused campaign
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}/statsStatistics of a campaign by provider and domain
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/testSend a test e-mail of a campaign
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variantsGet the language variants of a campaign
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variantsCreate language variants of a campaign
PUT/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variantsChange the language variants of a campaign
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variants/approveApprove the language variants (send or schedule)
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variants/cancelCancel the language variants
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variants/pausePause the language variants
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variants/previewPreview the audience split of language variants
POST/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variants/resumeResume the language variants
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}/variants/statsStatistics of the language variants
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}/versionsList saved content versions of a campaign
GET/api/v1/tenants/{tenant}/campaigns/{campaign_id}/versions/{version_id}Get one content version of a campaign
GET/api/v1/tenants/{tenant}/sendersList verified senders

Templates and content

MetódaCestaPopis
POST/api/v1/tenants/{tenant}/content/lintCheck e-mail content (merge tags, links, required parts)
POST/api/v1/tenants/{tenant}/content/spam-checkAntispam check of e-mail content
GET/api/v1/tenants/{tenant}/editor-elementsList saved editor elements
POST/api/v1/tenants/{tenant}/editor-elementsSave an editor element
PATCH/api/v1/tenants/{tenant}/editor-elements/{element_id}Update a saved editor element
DELETE/api/v1/tenants/{tenant}/editor-elements/{element_id}Delete a saved editor element
GET/api/v1/tenants/{tenant}/file-foldersList folders of the file manager
POST/api/v1/tenants/{tenant}/file-foldersCreate a folder
PATCH/api/v1/tenants/{tenant}/file-folders/{folder_id}Rename a folder
DELETE/api/v1/tenants/{tenant}/file-folders/{folder_id}Delete a folder
GET/api/v1/tenants/{tenant}/filesList files of the file manager
POST/api/v1/tenants/{tenant}/filesUpload a file (multipart)
POST/api/v1/tenants/{tenant}/files/stock-photoSave a stock photo to the file manager
POST/api/v1/tenants/{tenant}/files/video-thumbnailCreate a video thumbnail image
GET/api/v1/tenants/{tenant}/files/{asset_id}Get a file
PATCH/api/v1/tenants/{tenant}/files/{asset_id}Rename or move a file
DELETE/api/v1/tenants/{tenant}/files/{asset_id}Delete a file
POST/api/v1/tenants/{tenant}/files/{asset_id}/pickedRecord that a file was used
GET/api/v1/tenants/{tenant}/footersList footers
POST/api/v1/tenants/{tenant}/footersCreate a footer
GET/api/v1/tenants/{tenant}/footers/{footer_id}Get a footer
PATCH/api/v1/tenants/{tenant}/footers/{footer_id}Rename a footer
DELETE/api/v1/tenants/{tenant}/footers/{footer_id}Delete a footer
PUT/api/v1/tenants/{tenant}/footers/{footer_id}/contentSave the content of a footer
POST/api/v1/tenants/{tenant}/footers/{footer_id}/copyCopy a footer
POST/api/v1/tenants/{tenant}/footers/{footer_id}/defaultMake a footer the default
DELETE/api/v1/tenants/{tenant}/footers/{footer_id}/defaultStop using a footer as the default
POST/api/v1/tenants/{tenant}/footers/{footer_id}/publishPublish a footer
GET/api/v1/tenants/{tenant}/footers/{footer_id}/versionsList saved versions of a footer
GET/api/v1/tenants/{tenant}/footers/{footer_id}/versions/{version_id}Get one version of a footer
GET/api/v1/tenants/{tenant}/landing-pagesList landing pages
POST/api/v1/tenants/{tenant}/landing-pagesCreate a landing page
GET/api/v1/tenants/{tenant}/landing-pages/{landing_page_id}Get a landing page
PATCH/api/v1/tenants/{tenant}/landing-pages/{landing_page_id}Update a landing page
DELETE/api/v1/tenants/{tenant}/landing-pages/{landing_page_id}Delete a landing page
POST/api/v1/tenants/{tenant}/landing-pages/{landing_page_id}/copyCopy a landing page
GET/api/v1/tenants/{tenant}/script-templatesList script templates (Twig)
POST/api/v1/tenants/{tenant}/script-templatesCreate a script template
GET/api/v1/tenants/{tenant}/script-templates/{script_id}Get a script template
PATCH/api/v1/tenants/{tenant}/script-templates/{script_id}Update a script template
DELETE/api/v1/tenants/{tenant}/script-templates/{script_id}Delete a script template
GET/api/v1/tenants/{tenant}/sms-templatesList SMS templates
POST/api/v1/tenants/{tenant}/sms-templatesCreate an SMS template
GET/api/v1/tenants/{tenant}/sms-templates/{sms_template_id}Get an SMS template
PATCH/api/v1/tenants/{tenant}/sms-templates/{sms_template_id}Update an SMS template
DELETE/api/v1/tenants/{tenant}/sms-templates/{sms_template_id}Delete an SMS template
POST/api/v1/tenants/{tenant}/sms-templates/{sms_template_id}/copyCopy an SMS template
GET/api/v1/tenants/{tenant}/stock-photosSearch stock photos
GET/api/v1/tenants/{tenant}/stock-photos/statusWhether the stock photo search is available
GET/api/v1/tenants/{tenant}/surveysList surveys
POST/api/v1/tenants/{tenant}/surveysCreate a survey
GET/api/v1/tenants/{tenant}/surveys/{survey_id}Get a survey
PATCH/api/v1/tenants/{tenant}/surveys/{survey_id}Update a survey
DELETE/api/v1/tenants/{tenant}/surveys/{survey_id}Delete a survey
POST/api/v1/tenants/{tenant}/surveys/{survey_id}/copyCopy a survey
GET/api/v1/tenants/{tenant}/surveys/{survey_id}/responsesList responses of a survey
GET/api/v1/tenants/{tenant}/surveys/{survey_id}/resultsSummary results of a survey
GET/api/v1/tenants/{tenant}/templatesList templates
POST/api/v1/tenants/{tenant}/templatesCreate a template
POST/api/v1/tenants/{tenant}/templates/tagsChange labels of templates
GET/api/v1/tenants/{tenant}/templates/{template_id}Get a template with its content
PATCH/api/v1/tenants/{tenant}/templates/{template_id}Update template settings (name, subject, preheader ...)
DELETE/api/v1/tenants/{tenant}/templates/{template_id}Delete a template
POST/api/v1/tenants/{tenant}/templates/{template_id}/archiveArchive a template
PUT/api/v1/tenants/{tenant}/templates/{template_id}/contentSave the content of a template
POST/api/v1/tenants/{tenant}/templates/{template_id}/convert-to-visualConvert an HTML template to the visual editor
DELETE/api/v1/tenants/{tenant}/templates/{template_id}/draftDiscard the unpublished draft of a template
POST/api/v1/tenants/{tenant}/templates/{template_id}/duplicateDuplicate a template
POST/api/v1/tenants/{tenant}/templates/{template_id}/publishPublish the draft of a template used by an active automation
POST/api/v1/tenants/{tenant}/templates/{template_id}/testSend a test e-mail of a template
POST/api/v1/tenants/{tenant}/templates/{template_id}/unarchiveRestore an archived template
GET/api/v1/tenants/{tenant}/templates/{template_id}/versionsList saved content versions of a template
GET/api/v1/tenants/{tenant}/templates/{template_id}/versions/{version_id}Get one content version of a template
GET/api/v1/tenants/{tenant}/test-recipientsList the test addresses of the company
PUT/api/v1/tenants/{tenant}/test-recipientsReplace the test addresses of the company
GET/api/v1/tenants/{tenant}/unsubscribe-pagesList unsubscribe pages
POST/api/v1/tenants/{tenant}/unsubscribe-pagesCreate an unsubscribe page
POST/api/v1/tenants/{tenant}/unsubscribe-pages/previewRender an unsubscribe page preview
GET/api/v1/tenants/{tenant}/unsubscribe-pages/{unsub_page_id}Get an unsubscribe page
PATCH/api/v1/tenants/{tenant}/unsubscribe-pages/{unsub_page_id}Update an unsubscribe page
DELETE/api/v1/tenants/{tenant}/unsubscribe-pages/{unsub_page_id}Delete an unsubscribe page
POST/api/v1/tenants/{tenant}/unsubscribe-pages/{unsub_page_id}/copyCopy an unsubscribe page
POST/api/v1/tenants/{tenant}/unsubscribe-pages/{unsub_page_id}/defaultMake an unsubscribe page the default
DELETE/api/v1/tenants/{tenant}/unsubscribe-pages/{unsub_page_id}/defaultStop using an unsubscribe page as the default

Automations

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/automationsList automations
POST/api/v1/tenants/{tenant}/automationsCreate an automation (draft)
POST/api/v1/tenants/{tenant}/automations/resolve-timeResolve a time spec to a moment (preview)
POST/api/v1/tenants/{tenant}/automations/tagsChange labels of automations
POST/api/v1/tenants/{tenant}/automations/validateValidate a graph without saving
GET/api/v1/tenants/{tenant}/automations/{automation_id}Get an automation with its graph and issues
PATCH/api/v1/tenants/{tenant}/automations/{automation_id}Update name, description or labels of an automation
DELETE/api/v1/tenants/{tenant}/automations/{automation_id}Delete an automation that never ran
POST/api/v1/tenants/{tenant}/automations/{automation_id}/activateActivate (start) an automation
POST/api/v1/tenants/{tenant}/automations/{automation_id}/contactsAdd contacts by hand to a running automation
POST/api/v1/tenants/{tenant}/automations/{automation_id}/copyCopy an automation as a new draft
GET/api/v1/tenants/{tenant}/automations/{automation_id}/countsLive counts per node and output
POST/api/v1/tenants/{tenant}/automations/{automation_id}/editingReport that the editor has a scenario open and see who else has it
GET/api/v1/tenants/{tenant}/automations/{automation_id}/editorEverything the editor needs in one answer
PUT/api/v1/tenants/{tenant}/automations/{automation_id}/graphSave the graph of an automation (new version)
GET/api/v1/tenants/{tenant}/automations/{automation_id}/nodes/{key}/passesContacts that went through a node
POST/api/v1/tenants/{tenant}/automations/{automation_id}/nodes/{key}/releaseRelease the contacts waiting in a node
POST/api/v1/tenants/{tenant}/automations/{automation_id}/nodes/{key}/rescheduleRecompute the end of waiting in a node
POST/api/v1/tenants/{tenant}/automations/{automation_id}/pausePause an automation
GET/api/v1/tenants/{tenant}/automations/{automation_id}/reportStatistics of the e-mail nodes (JSON or CSV)
GET/api/v1/tenants/{tenant}/automations/{automation_id}/runsRun history per contact
POST/api/v1/tenants/{tenant}/automations/{automation_id}/testTest the scenario on today's data (nothing is sent)
POST/api/v1/tenants/{tenant}/automations/{automation_id}/traceTrace one contact through the scenario (nothing is sent)
GET/api/v1/tenants/{tenant}/automations/{automation_id}/versionsList saved versions of the graph
GET/api/v1/tenants/{tenant}/automations/{automation_id}/versions/{version}Get one saved version of the graph
POST/api/v1/tenants/{tenant}/contact-eventsRecord an event of a contact (custom event, cart, page visit)

Forms

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/formsList forms
POST/api/v1/tenants/{tenant}/formsCreate a form
GET/api/v1/tenants/{tenant}/forms/doi-templatesList templates usable as the double opt-in e-mail
POST/api/v1/tenants/{tenant}/forms/previewRender a form preview
POST/api/v1/tenants/{tenant}/forms/tagsChange labels of forms
GET/api/v1/tenants/{tenant}/forms/{form_id}Get a form
PATCH/api/v1/tenants/{tenant}/forms/{form_id}Update a form
DELETE/api/v1/tenants/{tenant}/forms/{form_id}Delete a form
POST/api/v1/tenants/{tenant}/forms/{form_id}/copyCopy a form
GET/api/v1/tenants/{tenant}/forms/{form_id}/embedGet the embed code of a form
GET/api/v1/tenants/{tenant}/forms/{form_id}/historyChange history of a form
GET/api/v1/tenants/{tenant}/forms/{form_id}/welcomeGet the e-mail after a sign-up (the form's own automation)
PUT/api/v1/tenants/{tenant}/forms/{form_id}/welcomeSwitch the e-mail after a sign-up on or off

Imports and exports

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/export-fieldsFields an export can contain
GET/api/v1/tenants/{tenant}/exportsList exports
POST/api/v1/tenants/{tenant}/exportsStart a CSV export
GET/api/v1/tenants/{tenant}/exports/{export_id}Get an export
GET/api/v1/tenants/{tenant}/exports/{export_id}/downloadDownload an export (CSV)
GET/api/v1/tenants/{tenant}/importsList imports
POST/api/v1/tenants/{tenant}/importsStart an import
POST/api/v1/tenants/{tenant}/imports/draftsStart an import draft (wizard)
GET/api/v1/tenants/{tenant}/imports/drafts/{import_id}Get an import draft
PUT/api/v1/tenants/{tenant}/imports/drafts/{import_id}Save an import draft
POST/api/v1/tenants/{tenant}/imports/filesUpload a CSV file for import
POST/api/v1/tenants/{tenant}/imports/previewPreview an import: mapping, counts, problems
GET/api/v1/tenants/{tenant}/imports/{import_id}Get an import with its progress and result
DELETE/api/v1/tenants/{tenant}/imports/{import_id}Delete an import record

Orders, feeds and coupons

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/coupon-stacksList coupon stacks
POST/api/v1/tenants/{tenant}/coupon-stacksCreate a coupon stack
GET/api/v1/tenants/{tenant}/coupon-stacks/{stack_id}Get a coupon stack
DELETE/api/v1/tenants/{tenant}/coupon-stacks/{stack_id}Delete a coupon stack
POST/api/v1/tenants/{tenant}/coupon-stacks/{stack_id}/assignGive a coupon of a stack to a contact
POST/api/v1/tenants/{tenant}/coupon-stacks/{stack_id}/codesAdd coupon codes to a stack
GET/api/v1/tenants/{tenant}/coupon-stacks/{stack_id}/couponsList coupons of a stack
POST/api/v1/tenants/{tenant}/coupon-stacks/{stack_id}/usedMark coupons as used
GET/api/v1/tenants/{tenant}/feed-articlesSearch articles of the article feeds
GET/api/v1/tenants/{tenant}/feed-productsSearch products of the product feeds
GET/api/v1/tenants/{tenant}/feedsList feeds
POST/api/v1/tenants/{tenant}/feedsCreate a feed
GET/api/v1/tenants/{tenant}/feeds/{feed_id}Get a feed
PATCH/api/v1/tenants/{tenant}/feeds/{feed_id}Update a feed
DELETE/api/v1/tenants/{tenant}/feeds/{feed_id}Delete a feed
POST/api/v1/tenants/{tenant}/feeds/{feed_id}/importImport a feed file by upload
GET/api/v1/tenants/{tenant}/feeds/{feed_id}/itemsList items of a feed
GET/api/v1/tenants/{tenant}/feeds/{feed_id}/previewPreview a feed (first items, detected fields)
POST/api/v1/tenants/{tenant}/feeds/{feed_id}/refreshDownload and process a feed now
GET/api/v1/tenants/{tenant}/order-statesGet the order state mapping
PUT/api/v1/tenants/{tenant}/order-statesReplace the order state mapping
GET/api/v1/tenants/{tenant}/ordersList orders
POST/api/v1/tenants/{tenant}/ordersCreate or update an order
POST/api/v1/tenants/{tenant}/orders/paid-atMaintenance: fill empty dates of payment of orders (SmartEmailing data)
GET/api/v1/tenants/{tenant}/orders/{order_id}Get an order

Statistics

MetódaCestaPopis
GET/api/v1/tenants/{tenant}/conversionsConversions summary
GET/api/v1/tenants/{tenant}/dashboardDashboard numbers
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}Statistics of an automation
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/activityActivity of an automation over time
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/conversionsConversions (orders) of an automation
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/heatmapClick map of an automation
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/recipientsRecipients of an automation with their events (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/automations/{automation_id}/reportReport of an automation (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}Statistics of a campaign
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/activityActivity of a campaign over time
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/conversionsConversions (orders) of a campaign
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/heatmapClick map of a campaign
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/recipientsRecipients of a campaign with their events (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/campaigns/{campaign_id}/reportReport of a campaign (JSON or CSV)
GET/api/v1/tenants/{tenant}/stats/emailsE-mail statistics of campaigns and automations

Sending and deliverability

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 settings of new campaigns (tracking parameters on or off)
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}/checkCheck whether a sender address is confirmed
POST/api/v1/tenants/{tenant}/sending/senders/{sender_id}/resendSend the confirmation e-mail of a sender address again
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)

Account and settings

MetódaCestaPopis
GET/api/v1/public/price-listPublic price list (no authentication)
GET/api/v1/tenants/{tenant}/account-webhooksList account webhooks and their events
POST/api/v1/tenants/{tenant}/account-webhooksCreate an account webhook
PATCH/api/v1/tenants/{tenant}/account-webhooks/{webhook_id}Edit, switch off or on an account webhook
DELETE/api/v1/tenants/{tenant}/account-webhooks/{webhook_id}Delete an account webhook
POST/api/v1/tenants/{tenant}/account-webhooks/{webhook_id}/testSend a test call of an account webhook now
GET/api/v1/tenants/{tenant}/billingTariff, usage and balance
GET/api/v1/tenants/{tenant}/billing/cancelWhat cancelling the tariff would mean
GET/api/v1/tenants/{tenant}/billing/invoicesList invoices
GET/api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/pdfDownload an invoice (PDF)
GET/api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/qr.svgQR payment code of an invoice (SVG)
GET/api/v1/tenants/{tenant}/billing/paymentsList payments
GET/api/v1/tenants/{tenant}/billing/profileGet the billing profile
GET/api/v1/tenants/{tenant}/billing/quotePrice of a tariff
GET/api/v1/tenants/{tenant}/companyGet the company data
PATCH/api/v1/tenants/{tenant}/companyUpdate the company data
GET/api/v1/tenants/{tenant}/consent-settingsConsent settings of every shop
PATCH/api/v1/tenants/{tenant}/consent-settings/{shop_id}Update the customer exception of a shop
GET/api/v1/tenants/{tenant}/grid-tagsLabels used in a grid
GET/api/v1/tenants/{tenant}/labelsList labels
POST/api/v1/tenants/{tenant}/labelsCreate a label
PATCH/api/v1/tenants/{tenant}/labels/{label_id}Update a label
DELETE/api/v1/tenants/{tenant}/labels/{label_id}Delete a label
POST/api/v1/tenants/{tenant}/labels/{label_id}/assignAssign a label to objects
POST/api/v1/tenants/{tenant}/maintenance/phone-landline-mobileMaintenance: move landline-stored mobile numbers to mobile (dry run unless apply)
POST/api/v1/tenants/{tenant}/maintenance/se-backfill-contactsMaintenance: fill empty contact fields from a SmartEmailing backup (dry run unless apply)
POST/api/v1/tenants/{tenant}/maintenance/shop-enrichMaintenance: fill empty contact fields from the e-shop feeds (dry run unless apply)
POST/api/v1/tenants/{tenant}/maintenance/shop-listsMaintenance: rebuild the e-shop lists (dry run unless apply)
GET/api/v1/tenants/{tenant}/notificationsList notifications
POST/api/v1/tenants/{tenant}/notifications/deleteDelete notifications
POST/api/v1/tenants/{tenant}/notifications/readMark notifications as read
POST/api/v1/tenants/{tenant}/notifications/unreadMark notifications as unread
GET/api/v1/tenants/{tenant}/onboardingState of the onboarding wizard
PATCH/api/v1/tenants/{tenant}/onboardingSave the onboarding wizard
GET/api/v1/tenants/{tenant}/rfmState of the RFM analysis
POST/api/v1/tenants/{tenant}/rfm/enable-requestAsk to enable the RFM analysis
GET/api/v1/tenants/{tenant}/running-actionsRunning background actions (imports, exports ...)
GET/api/v1/tenants/{tenant}/shop-enrichWhether order feed imports fill empty contact fields
PUT/api/v1/tenants/{tenant}/shop-enrichTurn the ongoing contact data enrichment on or off
GET/api/v1/tenants/{tenant}/shop-settingsSending company data of every shop
PATCH/api/v1/tenants/{tenant}/shop-settings/{shop_id}Update the sending company data of a shop
GET/api/v1/tenants/{tenant}/shopsList shops (e-shops) of the company
POST/api/v1/tenants/{tenant}/shopsCreate a shop
GET/api/v1/tenants/{tenant}/shops/{shop_id}Get a shop
PATCH/api/v1/tenants/{tenant}/shops/{shop_id}Update a shop
GET/api/v1/tenants/{tenant}/shops/{shop_id}/brandGet the brand settings of a shop
PUT/api/v1/tenants/{tenant}/shops/{shop_id}/brandReplace the brand settings of a shop
PUT/api/v1/tenants/{tenant}/shops/{shop_id}/contact-languageSet the default language of new contacts of a shop
POST/api/v1/tenants/{tenant}/shops/{shop_id}/disableSwitch a shop off
POST/api/v1/tenants/{tenant}/shops/{shop_id}/enableSwitch a shop on
GET/api/v1/tenants/{tenant}/site-scriptEvery shop's one script line and connection state
PATCH/api/v1/tenants/{tenant}/site-script/{shop_id}Switch the checkout newsletter box of a shop
POST/api/v1/tenants/{tenant}/site-script/{shop_id}/checkTest whether the script is on the shop's homepage
GET/api/v1/tenants/{tenant}/smartemailingState of the SmartEmailing migration
GET/api/v1/tenants/{tenant}/smartemailing/migrations/{migration_id}Get one SmartEmailing migration run
GET/api/v1/tenants/{tenant}/web-trackingWeb tracking state of every shop
GET/api/v1/tenants/{tenant}/web-tracking/eventsList web tracking events
PATCH/api/v1/tenants/{tenant}/web-tracking/{shop_id}Switch web tracking of a shop

SmartEmailing compatible API v3

MetódaCestaPopis
GET/api/v3/account-infoAccount info (guid = tenant id for API v1)
GET/api/v3/check-credentialsCheck the credentials
POST/api/v3/check-credentialsCheck the credentials
GET/api/v3/contactlistsList contact lists
GET/api/v3/contactlists/{list_id}Get a contact list
GET/api/v3/contactsList contacts
GET/api/v3/contacts/{contact_id}Get a contact
GET/api/v3/customfieldsList custom fields
GET/api/v3/pingPing (no authentication)
GET/api/v3/web-hooksList account webhooks
POST/api/v3/web-hooksRegister an account webhook
DELETE/api/v3/web-hooks/{webhook_id}Delete an account webhook

SmartEmailing compatible CSV statistics

MetódaCestaPopis
GET/api/csv/list-contactsMembers of a list (CSV)
GET/api/csv/statistics/email/automation-email-statistic-idE-mail statistic ids of automation e-mail nodes
GET/api/csv/statistics/email/automation-email-statistic-id/{automation_id}E-mail statistic ids of automation e-mail nodes of one automation
GET/api/csv/statistics/email/{kind}-detail/{sid}Per-contact events of an e-mail statistic id (sent, opened, clicked, bounced, unsubscribed)

MCP server for AI assistants

OAuth 2.1 for AI assistants

This document

MetódaCestaPopis
GET/api/openapi.jsonThis OpenAPI document