Dotdigital Email Campaigns API

The Email Campaigns API from Dotdigital — 39 operation(s) for email campaigns.

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 43

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/campaigns Create an email campaign · Create campaign #
Ask an LLM
“How do I create a new email campaign with a subject and HTML content?”
“Can I set a reply-to address on a new campaign?”
Tell an agent
Create a campaign named {name} with subject {subject} from {fromName} using {htmlContent} and {plainTextContent}.
Create a {type} campaign {name} with subject {subject}, from {fromName}, HTML {htmlContent}, plain text {plainTextContent}.
GET /v2/campaigns List all email campaigns · Get all campaigns #
Ask an LLM
“What email campaigns have I created?”
“Can I page through all my campaigns?”
Tell an agent
List all my campaigns.
Show the first {select} campaigns.
POST /v2/campaigns/split-test Create a split test campaign · Create split test campaign #
Ask an LLM
“How do I A/B test different subject lines or from names in a campaign?”
“Can I split test several HTML versions of an email?”
Tell an agent
Create a split test campaign {name} with subjects {subjects} and from names {fromNames}.
Create a split test campaign {name} with HTML versions {htmlContents} and from addresses {fromAddresses}.
PUT /v2/campaigns/{id} Update an email campaign · Update campaign #
Ask an LLM
“How do I change the subject line of an existing campaign?”
“Can I edit the HTML content of a campaign I already created?”
Tell an agent
Change the subject of campaign {id} to {subject}.
Update the HTML content of campaign {id} to {htmlContent}.
DELETE /v2/campaigns/{id} Delete an email campaign · Delete campaign #
Ask an LLM
“How do I delete a campaign I no longer need?”
“Can I remove an email campaign by its ID?”
Tell an agent destructive · confirm first
Delete campaign {id}.
Remove the email campaign {id}.
GET /v2/campaigns/{id} Get an email campaign · Get campaign #
Ask an LLM
“How do I view the subject and content of one campaign?”
“What does a specific campaign look like?”
Tell an agent
Show campaign {id}.
Get the subject and content of campaign {id}.
POST /v2/campaigns/{id}/copy Copy an email campaign · Copy campaign #
Ask an LLM
“How do I duplicate an existing campaign?”
“Can I make a copy of a campaign to reuse its content?”
Tell an agent
Copy campaign {id}.
Duplicate the email campaign {id}.
POST /v2/campaigns/send Send an email campaign immediately · Send campaign #
Ask an LLM
“How do I send an email campaign to a segment right now?”
“Can I schedule a campaign send for a specific date?”
Tell an agent
Send campaign {campaignID} to address books {addressBookIDs}.
Send campaign {campaignID} to contacts {contactIDs} at {sendDate}.
POST /v2/campaigns/send-time-optimised Send a campaign at the best time for each recipient · Send time optimised campaign #
Ask an LLM
“Can emails be sent at the time recipients are most likely to open them?”
“How do I send a campaign to contacts at their optimal open time?”
Tell an agent
Send campaign {campaignID} to address books {addressBookIDs} at the best time for each recipient.
Send campaign {campaignID} to contacts {contactIDs} at their optimal open time.
GET /v2/campaigns/send/{id} Check a campaign send's status · Get campaign send status #
Ask an LLM
“Has my campaign send finished?”
“What is the status of a campaign send by its send ID?”
Tell an agent
Check the status of send {id}.
Tell me whether campaign send {id} has been sent.
POST /v2/campaigns/{campaignID}/attachments Attach a document to a campaign · Add campaign attachment #
Ask an LLM
“How do I attach a PDF to an email campaign?”
“Can I add an existing document to a campaign as an attachment?”
Tell an agent
Attach document {name} to campaign {campaignID}.
Add the document {fileName} to campaign {campaignID}.
GET /v2/campaigns/{campaignID}/attachments List attachments on a campaign · Get campaign attachments #
Ask an LLM
“Which documents are attached to a campaign?”
“What attachments does a campaign have?”
Tell an agent
List the attachments on campaign {campaignID}.
Show every document attached to campaign {campaignID}.
DELETE /v2/campaigns/{campaignID}/attachments/{documentID} Remove an attachment from a campaign · Remove campaign attachment #
Ask an LLM
“How do I detach a document from a campaign?”
“Can I remove an attachment by its document ID?”
Tell an agent destructive · confirm first
Remove attachment {documentID} from campaign {campaignID}.
Detach document {documentID} from campaign {campaignID}.
GET /v2/campaigns/filtered List campaigns filtered by type, tags or status · Get all campaigns (with filters) #
Ask an LLM
“Can I list only the campaigns I sent last month?”
“Which campaigns have a particular tag or status?”
Tell an agent
List campaigns with status {statuses}.
Show campaigns tagged {tags} sent after {sentDate}.
GET /v2/campaigns/{id}/with-details Get a campaign with its full details · Get campaign with details #
Ask an LLM
“How do I see every detail of a campaign, not just its subject?”
“What does the full campaign object include?”
Tell an agent
Show campaign {id} with all its details.
Get the complete campaign object for {id}.
GET /v2/campaigns/{id}/summary Get reporting summary for a campaign · Get campaign summary #
Ask an LLM
“How many people opened or clicked my campaign?”
“What does the reporting summary of a campaign show?”
Tell an agent
Get the summary for campaign {id}.
Show open and click totals for campaign {id}.
GET /v2/campaigns/{id}/opens List who opened a campaign · Get campaign opens #
Ask an LLM
“Who opened my email campaign?”
“Can I see the list of recipients who opened a campaign?”
Tell an agent
List the opens for campaign {id}.
Show who opened campaign {id}.
GET /v2/campaigns/{campaignID}/activities/{contactID}/opens See one contact's opens of a campaign · Get campaign opens for a contact #
Ask an LLM
“Did a specific recipient open my campaign?”
“When did a particular contact open a campaign?”
Tell an agent
Show opens of campaign {campaignID} by contact {contactID}.
List when contact {contactID} opened campaign {campaignID}.
GET /v2/campaigns/{campaignID}/activities/{contactID} Get one contact's activity on a campaign · Get campaign activity for a contact #
Ask an LLM
“What has a specific recipient done with my campaign?”
“Did a contact open or click a campaign?”
Tell an agent
Show activity for contact {contactID} on campaign {campaignID}.
List what contact {contactID} did with campaign {campaignID}.
GET /v2/campaigns/{id}/activities/since-date/{date} List contacts who engaged with a campaign after a date · Get campaign activity since date #
Ask an LLM
“Which recipients opened or clicked a campaign after a certain date?”
“Can I find campaign activity that happened after a given time?”
Tell an agent
List contacts who engaged with campaign {id} after {date}.
Show campaign {id} activity since {date}.
GET /v2/campaigns/{id}/clicks List all link clicks in a campaign · Get campaign clicks #
Ask an LLM
“Which links did recipients click in my email campaign?”
“Can I see every click across a whole campaign?”
Tell an agent
List all link clicks for campaign {id}.
Show every link click in campaign {id}.
GET /v2/campaigns/{id}/clicks/since-date/{date} List campaign link clicks after a date · Get campaign clicks since date #
Ask an LLM
“What links did people click in my campaign after a certain date?”
“Can I filter a campaign's link clicks to a date range?”
Tell an agent
List link clicks in campaign {id} after {date}.
Show clicks on campaign {id} that happened since {date}.
GET /v2/campaigns/{id}/opens/since-date/{date} List campaign opens after a date · Get campaign opens since date #
Ask an LLM
“Who opened my campaign after a certain date?”
“Can I see opens for a campaign that happened since a date?”
Tell an agent
List opens for campaign {id} after {date}.
Show who opened campaign {id} since {date}.
GET /v2/campaigns/{id}/activities List contacts and their activity for a campaign · Get campaign activity #
Ask an LLM
“Which contacts opened, clicked or bounced in my campaign?”
“Can I see the full activity of every recipient of a campaign?”
Tell an agent
List contacts and their activity for campaign {id}.
Show opens, clicks and bounces for campaign {id}.
GET /v2/campaigns/{id}/address-books List address books a campaign was sent to · Get campaign address books #
Ask an LLM
“Which address books and segments did a campaign go out to?”
“Can I see the recipient lists a campaign was sent to?”
Tell an agent
List the address books and segments campaign {id} was sent to.
Show which recipient lists campaign {id} went out to.
GET /v2/campaigns/{campaignID}/activities/{contactID}/clicks List a contact's link clicks in a campaign · Get campaign clicks for a contact #
Ask an LLM
“Which links did one recipient click in my campaign?”
“Can I see a single contact's link clicks for a campaign?”
Tell an agent
List link clicks for contact {contactID} in campaign {campaignID}.
Show which links contact {contactID} clicked in campaign {campaignID}.
GET /v2/campaigns/with-activity-since/{date} List campaigns with activity after a date · Get campaigns with activity since date #
Ask an LLM
“Which campaigns had opens or clicks after a certain date?”
“Can I find campaigns that were active since a date?”
Tell an agent
List campaigns with activity after {date}.
Show campaigns that had opens or clicks since {date}.
GET /v2/campaigns/{campaignID}/activities/{contactID}/page-views List a contact's page views in a campaign · Get campaign page views for a contact #
Ask an LLM
“Which landing pages did one recipient view after opening my campaign?”
“Can I see a contact's page views for a campaign?”
Tell an agent
List page views for contact {contactID} in campaign {campaignID}.
Show the landing page views contact {contactID} had in campaign {campaignID}.
GET /v2/campaigns/{id}/page-views/since-date/{date} List campaign page views after a date · Get campaign page views since date #
Ask an LLM
“Which landing pages did recipients view in my campaign after a date?”
“Can I filter a campaign's page views to a date range?”
Tell an agent
List page views for campaign {id} after {date}.
Show landing page views in campaign {id} since {date}.
GET /v2/campaigns/{campaignID}/activities/{contactID}/replies List a contact's replies to a campaign · Get campaign replies for a contact #
Ask an LLM
“Which replies did one recipient send to my campaign?”
“Can I see a contact's replies to a campaign?”
Tell an agent
List replies for contact {contactID} in campaign {campaignID}.
Show the replies contact {contactID} sent to campaign {campaignID}.
GET /v2/campaigns/{campaignID}/activities/{contactID}/roi-details List a contact's ROI details for a campaign · Get campaign ROI activity for a contact #
Ask an LLM
“What revenue did one recipient generate for my campaign?”
“Can I see a contact's ROI information for a campaign?”
Tell an agent
List ROI details for contact {contactID} in campaign {campaignID}.
Show the revenue generated by contact {contactID} in campaign {campaignID}.
GET /v2/campaigns/{id}/roi-details/since-date/{date} List campaign ROI activity after a date · Get campaign ROI activity since date #
Ask an LLM
“Which contacts generated revenue for my campaign after a certain date?”
“Can I see a campaign's ROI activity since a date?”
Tell an agent
List ROI activity for campaign {id} after {date}.
Show revenue generated by campaign {id} since {date}.
GET /v2/campaigns/{id}/social-bookmark-views List social bookmark views for a campaign · Get campaign social bookmark views #
Ask an LLM
“How many times were social bookmarks shared in my campaign?”
“Can I see social bookmark views for a campaign?”
Tell an agent
List social bookmark views for campaign {id}.
Show how often social bookmarks were viewed in campaign {id}.
GET /v2/campaigns/{campaignID}/activities/{contactID}/social-bookmark-views List a contact's social bookmark views · Get campaign social bookmark views for a contact #
Ask an LLM
“Which social bookmarks did one recipient view in my campaign?”
“Can I see a contact's social bookmark views for a campaign?”
Tell an agent
List social bookmark views for contact {contactID} in campaign {campaignID}.
Show the social bookmarks contact {contactID} viewed in campaign {campaignID}.
GET /v2/campaigns/{id}/hard-bouncing-contacts List contacts who hard bounced a campaign · Get campaign hard bouncers #
Ask an LLM
“Which recipients hard bounced my campaign?”
“Can I get full contact data for hard bouncers?”
Tell an agent
List hard bouncers for campaign {id}.
Show hard bouncers for campaign {id} with full data: {withFullData}.
GET /v2/campaigns/{id}/split-test Get split test results for a campaign · Get campaign split test results #
Ask an LLM
“Which variation of my campaign performed best in a split test?”
“Can I see the split test results for a campaign?”
Tell an agent
Get split test results for campaign {id}.
Show which variation won the split test for campaign {id}.
GET /v2/custom-from-addresses List custom from addresses for campaigns · Get custom from addresses #
Ask an LLM
“Which custom sender addresses can I use in my campaigns?”
“Can I see all custom from addresses available?”
Tell an agent
List custom from addresses for campaigns.
Show the sender addresses I can choose from for a campaign.
GET /v2/campaigns/{campaignId}/revenue/since-date/{date} Get revenue from a campaign since a date · Get campaign revenue since date #
Ask an LLM
“How much revenue has a campaign generated since a certain date?”
“Can I pull campaign revenue from a specific date forward?”
Tell an agent
Get revenue for campaign {campaignId} since {date}.
Show campaign {campaignId} revenue from {date} onward.
GET /v2/campaigns/{campaignId}/activities/{contactId}/revenue Get revenue a contact generated from a campaign · Get campaign revenue for contact #
Ask an LLM
“How much revenue did a specific contact generate from a campaign?”
“Can I see the revenue a single contact brought in for a campaign?”
Tell an agent
Get revenue for contact {contactId} in campaign {campaignId}.
Show how much contact {contactId} spent on campaign {campaignId}.
GET /v2/campaigns/metrics Get campaign sent metrics between dates · Gets sent campaigns metrics between the specified dates #
Ask an LLM
“What are the key campaign metrics for all campaigns between two dates?”
“Can I get daily sent metrics for campaigns over a date range?”
Tell an agent
Get campaign metrics from {startDate} to {endDate}.
Show daily sent metrics for all campaigns between {startDate} and {endDate}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dotdigital:dotdigital-email-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dotdigital-email-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.1.1
  title: Email Campaigns API
  description: Create, manage, and report on email campaigns.
servers:
- url: https://{region}-api.dotdigital.com
  variables:
    region:
      default: r1
      enum:
      - r1
      - r2
      - r3
      description: The Dotdigital region id your account belongs to
security:
- basicAuth: []
tags:


# --- truncated at 32 KB (216 KB total) ---
# Full source: https://artifacts.apis.io/dotdigital/openapi/dotdigital-email-campaigns-api-openapi.yml