# Ecomail API ## Docs - [Get automation action detail](https://docs.ecomail.cz/api-reference/automations/get-action-detail.md): Retrieve detail of a specific action (node) within a given automation. - [Get automation actions](https://docs.ecomail.cz/api-reference/automations/get-actions.md): Retrieve all actions (nodes) within a given automation. - [Get automation stats](https://docs.ecomail.cz/api-reference/automations/get-stats.md): Retrieve aggregate statistics for a specific automation. - [Get automation stats detail](https://docs.ecomail.cz/api-reference/automations/get-stats-detail.md): Return statistics for a specific automation with each subscriber and their individual events. - [List all automations](https://docs.ecomail.cz/api-reference/automations/list-all.md): Retrieve all automations in your account. - [Trigger automation](https://docs.ecomail.cz/api-reference/automations/trigger.md): Run a specific automation for the given email/subscriber. - [Add new campaign](https://docs.ecomail.cz/api-reference/campaigns/add-new.md): Create a new campaign. - [Get campaign detail](https://docs.ecomail.cz/api-reference/campaigns/get-detail.md): Returns detailed campaign information including statistics for sent campaigns. - [Get campaign log](https://docs.ecomail.cz/api-reference/campaigns/get-log.md): Search and browse the campaign log — sends, opens, clicks, bounces, unsubscribes, complaints, and other events. Filter by subscriber email, event types, and date range. - [Get segment stats](https://docs.ecomail.cz/api-reference/campaigns/get-segment-stats.md): Retrieves performance statistics for a specific segment across all campaigns it was sent to. - [Get campaign stats](https://docs.ecomail.cz/api-reference/campaigns/get-stats.md): Returns aggregated statistics for a specific campaign. - [Get campaign stats detail](https://docs.ecomail.cz/api-reference/campaigns/get-stats-detail.md): Returns statistics for a specific campaign with each subscriber and their individual events. - [List all campaigns](https://docs.ecomail.cz/api-reference/campaigns/list-all.md): Returns all campaigns with pagination and filtering. - [Send campaign](https://docs.ecomail.cz/api-reference/campaigns/send.md): Puts the campaign in the sending queue immediately. - [Update campaign](https://docs.ecomail.cz/api-reference/campaigns/update.md): Update an existing campaign. - [Delete discount coupons](https://docs.ecomail.cz/api-reference/coupons/delete.md): Delete discount coupons from a default or specific folder. - [Import discount coupons](https://docs.ecomail.cz/api-reference/coupons/import.md): Import discount coupons into a default or specific folder. - [Create a new domain](https://docs.ecomail.cz/api-reference/domains/create.md): Add a new domain to your account. - [Delete a domain](https://docs.ecomail.cz/api-reference/domains/delete.md): Remove a domain from your account. - [List all domains](https://docs.ecomail.cz/api-reference/domains/list-all.md): Retrieve all domains in your account. - [Refresh data feed](https://docs.ecomail.cz/api-reference/feeds/refresh-data.md): Trigger a refresh of a data feed. - [Refresh product feed](https://docs.ecomail.cz/api-reference/feeds/refresh-product.md): Trigger a refresh of a product feed. - [Introduction](https://docs.ecomail.cz/api-reference/introduction.md): Get started with the Ecomail API v2.0 - [Add new list](https://docs.ecomail.cz/api-reference/lists/add-new.md): Create a new subscriber list in your account. - [Get segments](https://docs.ecomail.cz/api-reference/lists/get-segments.md): Retrieve all segments created in a specific list. - [Get subscriber from list](https://docs.ecomail.cz/api-reference/lists/get-subscriber.md): Retrieve a specific subscriber from a list by their email address. - [Get subscriber by phone](https://docs.ecomail.cz/api-reference/lists/get-subscriber-by-phone.md): Retrieve a specific subscriber from a list by their phone number. - [Get subscribers](https://docs.ecomail.cz/api-reference/lists/get-subscribers.md): Retrieve a paginated list of subscribers from a specific list. - [View all lists](https://docs.ecomail.cz/api-reference/lists/list-all.md): Retrieve all subscriber lists in your account. - [Show list detail](https://docs.ecomail.cz/api-reference/lists/show.md): Retrieve detailed information about a specific list, including custom fields, groups, segments, and subscriber counts. - [Add new subscriber to list](https://docs.ecomail.cz/api-reference/lists/subscribe.md): Subscribe a new contact to a specific list. - [Add bulk subscribers](https://docs.ecomail.cz/api-reference/lists/subscribe-bulk.md): Subscribe multiple contacts to a specific list in a single request. - [Unsubscribe subscriber from list](https://docs.ecomail.cz/api-reference/lists/unsubscribe.md): Unsubscribe a subscriber from a specific list. - [Update list](https://docs.ecomail.cz/api-reference/lists/update.md): Update an existing subscriber list. - [Update subscriber](https://docs.ecomail.cz/api-reference/lists/update-subscriber.md): Update an existing subscriber in a specific list. - [Update bulk subscribers](https://docs.ecomail.cz/api-reference/lists/update-subscriber-bulk.md): Update multiple existing subscribers in a specific list in a single request. - [Create recommender](https://docs.ecomail.cz/api-reference/recommenders/create.md): Create a new Spark recommender for a specific shop and product feed. Training starts automatically after creation. - [Delete recommender](https://docs.ecomail.cz/api-reference/recommenders/delete.md): Remove a Spark recommender by its ID. Returns the updated list of remaining recommenders. - [List all recommenders](https://docs.ecomail.cz/api-reference/recommenders/list-all.md): Retrieve all Spark recommenders configured for your account. - [Find contact](https://docs.ecomail.cz/api-reference/search/find-contact.md): Search for a subscriber globally across the account by email address. - [Get automation log](https://docs.ecomail.cz/api-reference/subscribers/automation-log.md): Retrieve a paginated list of automation (pipeline) log entries for a given subscriber email address, sorted by timestamp descending by default. - [Delete subscriber](https://docs.ecomail.cz/api-reference/subscribers/delete.md): Permanently delete a subscriber from the database. - [Get email log](https://docs.ecomail.cz/api-reference/subscribers/email-log.md): Retrieve a paginated list of campaign log entries for a given subscriber email address, sorted by occurrence date descending. - [Get events for subscriber](https://docs.ecomail.cz/api-reference/subscribers/events.md): Retrieve a paginated list of tracker events for a given subscriber email address, sorted by ID descending. - [Get subscriber](https://docs.ecomail.cz/api-reference/subscribers/get.md): Get subscriber details globally across all lists in the account. - [Get transactions](https://docs.ecomail.cz/api-reference/subscribers/transactions.md): Retrieve a paginated list of transactions (purchases) for a given subscriber email address, sorted by timestamp descending. Each transaction includes its items. - [Create a new template](https://docs.ecomail.cz/api-reference/templates/create.md): Create a new email template. - [Get template](https://docs.ecomail.cz/api-reference/templates/get.md): Retrieve a specific template by its ID. - [List all templates](https://docs.ecomail.cz/api-reference/templates/list-all.md): Retrieve all email templates in your account. - [Update template](https://docs.ecomail.cz/api-reference/templates/update.md): Update an existing email template by its ID. - [Create an event](https://docs.ecomail.cz/api-reference/tracker/create-event.md): Track a custom event for a subscriber. Supplements the JavaScript tracker. - [Get event by ID](https://docs.ecomail.cz/api-reference/tracker/get-event.md): Retrieve a single tracker event by its ID. - [Double opt-in stats](https://docs.ecomail.cz/api-reference/transactional/doi-stats.md): Get statistics for double opt-in emails for the past 6 months. - [Send transactional email](https://docs.ecomail.cz/api-reference/transactional/send-message.md): Send a transactional email with custom content. - [Send transactional template](https://docs.ecomail.cz/api-reference/transactional/send-template.md): Send a transactional email using a pre-defined template. - [Transactional email stats](https://docs.ecomail.cz/api-reference/transactional/stats.md): Get statistics for transactional emails for the past 6 months. - [Create a transaction](https://docs.ecomail.cz/api-reference/transactions/create.md): Create a new transaction for a subscriber. - [Create bulk transactions](https://docs.ecomail.cz/api-reference/transactions/create-bulk.md): Create multiple transactions in a single request. - [Delete a transaction](https://docs.ecomail.cz/api-reference/transactions/delete.md): Delete a single transaction by order ID. - [Delete bulk transactions](https://docs.ecomail.cz/api-reference/transactions/delete-bulk.md): Delete multiple transactions in a single request. - [Get transactions](https://docs.ecomail.cz/api-reference/transactions/get.md): Retrieve a paginated list of transactions with optional filters. - [Update a transaction](https://docs.ecomail.cz/api-reference/transactions/update.md): Overwrite an existing transaction with new data. - [Delete webhook URL](https://docs.ecomail.cz/api-reference/webhooks/delete-url.md): Remove the currently configured webhook URL. - [Webhook events](https://docs.ecomail.cz/api-reference/webhooks/events.md): Reference of all webhook event types and their payloads delivered to your webhook URL. - [Get webhook URL](https://docs.ecomail.cz/api-reference/webhooks/get-url.md): Get the currently configured webhook URL. - [Set webhook URL](https://docs.ecomail.cz/api-reference/webhooks/set-url.md): Set the target webhook URL for campaign statistics. - [MCP server](https://docs.ecomail.cz/ecomail-ai/mcp.md): Use the Ecomail API directly from AI tools like Claude, Cursor, and more via the Model Context Protocol. - [Example prompts](https://docs.ecomail.cz/ecomail-ai/mcp-examples.md): Ready-to-use prompts to get the most out of Ecomail MCP in Claude.ai or ChatGPT. - [MCP tools reference](https://docs.ecomail.cz/ecomail-ai/mcp-tools.md): Complete reference of all tools available in the Ecomail remote MCP server. - [Ecomail AI](https://docs.ecomail.cz/ecomail-ai/overview.md): Connect your Ecomail account to AI assistants and developer tools via the Model Context Protocol (MCP). - [Remote MCP server](https://docs.ecomail.cz/ecomail-ai/remote-mcp.md): Connect Ecomail directly to Claude.ai or ChatGPT via the hosted remote MCP server — no installation required. - [Link handling](https://docs.ecomail.cz/template-language/links.md): Control unsubscribe behavior and click tracking on individual links in your email templates. ## OpenAPI Specs - [openapi](https://docs.ecomail.cz/api-reference/openapi.json)