Dotdigital API Transactional Email API

The ApiTransactionalEmail API from Dotdigital — 6 operation(s) for apitransactionalemail.

GitHub OpenAPI
Business capability
Email AE-150.10

Operations 6

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/email Send a transactional email · Sends a transactional email. #
Ask an LLM
“How do I send a one-off transactional email to a customer?”
“Can I include attachments and personalization tags in a transactional email?”
Tell an agent
Send a transactional email to {toAddresses} from {fromAddress} with subject {subject}.
Email {toAddresses} with HTML {htmlContent} and tags {tags}.
POST /v2/email/batch Send many transactional emails in one request · Sends one or more transactional emails. #
Ask an LLM
“Can I send a batch of transactional emails in a single request?”
“What's the way to send transactional emails to a list of recipients at once?”
Tell an agent
Send a batch of transactional emails to these recipients.
Send transactional emails to a list of addresses in one request.
POST /v2/email/triggered-campaign Send a transactional email from a triggered campaign · Sends a transactional email with content taken from a triggered campaign. #
Ask an LLM
“How do I send a one-off transactional email that pulls content from a triggered campaign?”
“Can I send a triggered campaign email to a specific recipient email address?”
Tell an agent
Send a transactional email from this triggered campaign.
Trigger a campaign email to {email}.
POST /v2/email/triggered-campaign/batch Send triggered campaigns to many people · Sends one or more transactional emails with content for each taken from a… #
Ask an LLM
“Can I send triggered campaigns to a list of recipients in one request?”
“What's the way to send triggered campaigns to many people at once?”
Tell an agent
Send triggered campaigns to these recipients.
Send triggered campaigns to a list of addresses in one request.
GET /v2/email/stats/since-date/{startDate} Get transactional email statistics · Gets aggregated transactional email statistics #
Ask an LLM
“How many transactional emails have been sent since a date?”
“Can I get transactional email stats aggregated by day or week?”
Tell an agent
Get transactional email statistics since {startDate}.
Show transactional email stats from {startDate} to {endDate}, aggregated by {aggregatedBy}.
GET /v2/campaigns/{campaignId}/prepared-for-transactional-email/{email} Get a campaign's compiled content for a transactional email · Api transactional email get campaign by id with compiled content for… #
Ask an LLM
“How do I see the compiled content of a campaign before sending it as a transactional email?”
“Can I preview a campaign's content for a specific recipient?”
Tell an agent
Get compiled content of campaign {campaignId} for {email}.
Preview campaign {campaignId} for {email} with personalization {personalizationValues}.

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-apitransactionalemail-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-apitransactionalemail-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: apiconnector.com API Transactional Email API
  version: v2
servers:
- url: https://r1-api.dotdigital.com
tags:
- name: ApiTransactionalEmail
paths:
  /v2/email:
    post:
      tags:
      - ApiTransactionalEmail
      summary: Sends a transactional email.
      operationId: ApiTransactionalEmail_SendTransactionalEmail
      requestBody:
        x-name: email
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiTransactionalEmail'
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /v2/email/batch:
    post:
      tags:
      - ApiTransactionalEmail
      summary: Sends one or more transactional emails.
      operationId: ApiTransactionalEmail_SendTransactionalEmails
      requestBody:
        x-name: emails
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ApiTransactionalEmail'
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /v2/email/triggered-campaign:
    post:
      tags:
      - ApiTransactionalEmail
      summary: Sends a transactional email with content taken from a triggered campaign.
      operationId: ApiTransactionalEmail_SendTransactionalEmailTriggeredCampaign
      parameters:
      - name: email
        in: query
        schema:
          oneOf:
          - $ref: '#/components/schemas/ApiTransactionalEmailTriggeredCampaign'
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /v2/email/triggered-campaign/batch:
    post:
      tags:
      - ApiTransactionalEmail
      summary: Sends one or more transactional emails with content for each taken from a…
      operationId: ApiTransactionalEmail_SendTransactionalEmailTriggeredCampaigns
      requestBody:
        x-name: emails
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ApiTransactionalEmailTriggeredCampaign'
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /v2/email/stats/since-date/{startDate}:
    get:
      tags:
      - ApiTransactionalEmail
      summary: Gets aggregated transactional email statistics
      operationId: ApiTransactionalEmail_GetTransactionalEmailStatistics
      parameters:
      - name: startDate
        in: path
        required: true
        schema:
          type: string
          format: date-time
        x-position: 1
      - name: endDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 2
      - name: aggregatedBy
        in: query
        schema:
          default: AllTime
          oneOf:
          - $ref: '#/components/schemas/ApiAggregationPeriod'
        x-position: 3
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiTransactionalEmailStatistics'
  /v2/campaigns/{campaignId}/prepared-for-transactional-email/{email}:
    get:
      tags:
      - ApiTransactionalEmail
      operationId: ApiTransactionalEmail_GetCampaignByIdWithCompiledContentForTransactionalEmail
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: integer
          format: int32
        x-position: 1
      - name: email
        in: path
        required: true
        schema:
          type: string
        x-position: 2
      - name: personalizationValues
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/ApiPersonalizationValue'
        x-position: 3
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiCampaignWithProcessedContent'
      summary: Api transactional email get campaign by id with compiled content for…
      x-summary-source: derived
components:
  schemas:
    ApiCampaignReplyActions:
      type: string
      description: ''
      x-enumNames:
      - Unset
      - WebMailForward
      - Webmail
      - Delete
      - NotAvailableInThisVersion
      enum:
      - Unset
      - WebMailForward
      - Webmail
      - Delete
      - NotAvailableInThisVersion
    ApiTransactionalEmailStatistics:
      type: object
      additionalProperties: false
      properties:
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        numSent:
          type: integer
          format: int32
        numDelivered:
          type: integer
          format: int32
        numOpens:
          type: integer
          format: int32
        numClicks:
          type: integer
          format: int32
        numIspComplaints:
          type: integer
          format: int32
        numBounces:
          type: integer
          format: int32
    ApiTransactionalEmail:
      type: object
      additionalProperties: false
      properties:
        toAddresses:
          type:
          - array
          - 'null'
          items:
            type: string
        ccAddresses:
          type:
          - array
          - 'null'
          items:
            type: string
        bccAddresses:
          type:
          - array
          - 'null'
          items:
            type: string
        subject:
          type:
          - string
          - 'null'
        fromAddress:
          type:
          - string
          - 'null'
        htmlContent:
          type:
          - string
          - 'null'
        plainTextContent:
          type:
          - string
          - 'null'
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
        metadata:
          type:
          - string
          - 'null'
        attachments:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApiTransactionalEmailAttachment'
    ApiCampaignStatuses:
      type: string
      description: ''
      x-enumNames:
      - Unsent
      - Sending
      - Sent
      - Paused
      - Cancelled
      - RequiresSystemApproval
      - RequiresSMSApproval
      - RequiresWorkflowApproval
      - Triggered
      - NotAvailableInThisVersion
      enum:
      - Unsent
      - Sending
      - Sent
      - Paused
      - Cancelled
      - RequiresSystemApproval
      - RequiresSMSApproval
      - RequiresWorkflowApproval
      - Triggered
      - NotAvailableInThisVersion
    ApiAggregationPeriod:
      type: string
      description: ''
      x-enumNames:
      - AllTime
      - Month
      - Week
      - Day
      - NotAvailableInThisVersion
      enum:
      - AllTime
      - Month
      - Week
      - Day
      - NotAvailableInThisVersion
    ApiTransactionalEmailTriggeredCampaign:
      type: object
      additionalProperties: false
      properties:
        toAddresses:
          type:
          - array
          - 'null'
          items:
            type: string
        ccAddresses:
          type:
          - array
          - 'null'
          items:
            type: string
        bccAddresses:
          type:
          - array
          - 'null'
          items:
            type: string
        campaignId:
          type: integer
          format: int32
        personalizationValues:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApiPersonalizationValue'
        metadata:
          type:
          - string
          - 'null'
        fromAddress:
          type:
          - string
          - 'null'
        attachments:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApiTransactionalEmailAttachment'
    ApiPersonalizationValue:
      type: object
      additionalProperties: false
      properties:
        name:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
    ApiTransactionalEmailAttachment:
      type: object
      additionalProperties: false
      properties:
        fileName:
          type:
          - string
          - 'null'
        content:
          type:
          - string
          - 'null'
        mimeType:
          type:
          - string
          - 'null'
    ApiCampaignWithProcessedContent:
      type: object
      additionalProperties: false
      required:
      - name
      - subject
      - fromName
      - htmlContent
      - plainTextContent
      - processedHtmlContent
      - processedPlainTextContent
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
          minLength: 1
        subject:
          type: string
          minLength: 1
        fromName:
          type: string
          minLength: 1
        fromAddress:
          oneOf:
          - $ref: '#/components/schemas/ApiCampaignFromAddress'
        htmlContent:
          type: string
          minLength: 1
        plainTextContent:
          type: string
          minLength: 1
        replyAction:
          $ref: '#/components/schemas/ApiCampaignReplyActions'
        replyToAddress:
          type:
          - string
          - 'null'
        isSplitTest:
          type: boolean
          readOnly: true
        status:
          readOnly: true
          oneOf:
          - $ref: '#/components/schemas/ApiCampaignStatuses'
        processedHtmlContent:
          type: string
          readOnly: true
          minLength: 1
        processedPlainTextContent:
          type: string
          readOnly: true
          minLength: 1
        customReplyToAddress:
          type:
          - string
          - 'null'
    ApiCampaignFromAddress:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int32
        email:
          type:
          - string
          - 'null'
x-generator: NSwag v14.4.0.0 (NJsonSchema v11.3.2.0 (Newtonsoft.Json v13.0.0.0))
x-provenance:
  method: harvested
  publisher: Dotdigital
  source: https://r2-api.dotdigital.com/swagger/v1/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)