Dotdigital Import events API

The Import events API from Dotdigital — 1 operation(s) for import events.

Operations 1

POST /events/v3/import Import a collection of events #

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-import-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dotdigital-import-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Import events API
  description: 'Send and receive events with Dotdigital. Use this API to import batches of

    contact-associated events, manage event subscriptions (create, retrieve, update,

    and delete), retrieve queued events for a subscription using checkpoint-based

    pagination, and download large objects referenced in event data.'
  version: 3.1.1-Events-in-out
servers:
- url: https://{region}-api.dotdigital.com
  variables:
    region:
      description: The Dotdigital region id your account belongs to
      enum:
      - r1
      - r2
      - r3
      default: r1
security:
- basicAuth: []
tags:
- name: Import events
paths:
  /events/v3/import:
    post:
      tags:
      - Import events
      summary: Import a collection of events
      description: Imports a batch of events associated to contacts.
      operationId: importEvents
      parameters:
      - name: x-ddg-integration-token
        in: header
        description: If you are a partner of Dotdigital and have a [verified integration](https://developer.dotdigital.com/docs/partner-integration-verification) then include your [integration tracking token](https://developer.dotdigital.co/docs/verified-integration-tracking) here.
        required: false
        schema:
          pattern: /^(?:\{{0,1}(?:[0-9a-fA-F]){8}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){12}\}{0,1})$/
          type: string
          example: 5a96bc79-19a7-4544-973b-e2da0c9136f9
      requestBody:
        description: Events to be imported
        content:
          application/json:
            schema:
              maxItems: 5000
              minItems: 1
              type: array
              description: The events to import.
              items:
                $ref: '#/components/schemas/v3_import_body'
        required: true
      responses:
        '202':
          description: Import processing
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorResponse'
              example:
                errorCode: events:badJson
                description: The request JSON is badly formed
        '401':
          description: Unauthorized
components:
  schemas:
    contactIdentifier:
      required:
      - identifier
      - value
      type: object
      properties:
        identifier:
          type: string
          description: The field to use to uniquely identify the contact. This can be a custom identifier or a contact identifer of contactId, email or mobileNumber
          example: contactId
        value:
          type:
          - string
          - 'null'
          description: The unique value to identify the contact or the same type as the **identifier**
          example: fred.bloggs@emailsim.io
    errorResponse_details:
      required:
      - description
      - item
      type: object
      properties:
        item:
          type: string
          description: Item the error is associated with, for example, field name, unique identifier for an entity or item in batch
        description:
          type: string
          description: Description of the error
    eventsv3import_timelineDetails:
      required:
      - summary
      type: object
      properties:
        summary:
          maxLength: 160
          minLength: 1
          type: string
          description: Optional description of the event for display in the timeline of the contact.
          example: 'Search for travel desination: Bali'
      description: The details to display in the contacts timeline; if omitted nothing will be shown.
    errorResponse:
      required:
      - description
      - errorCode
      type: object
      properties:
        errorCode:
          type: string
          description: Unique error code
        description:
          type: string
          description: Description of the issue
        details:
          type: array
          items:
            $ref: '#/components/schemas/errorResponse_details'
    v3_import_body:
      required:
      - contactIdentity
      - type
      type: object
      properties:
        contactIdentity:
          allOf:
          - description: The way to identify the contact the event is associated to.
          - $ref: '#/components/schemas/contactIdentifier'
        type:
          maxLength: 80
          minLength: 1
          type: string
          description: The event type
          example: Search destination
        id:
          type: string
          description: The unique id for the event.
          example: 27e298b2-a1af-4041-96a6-00f909c66ad8
        eventTimestamp:
          type: string
          description: 'The UTC date and time the event occurred in ISO 8601 format.


            _**Note:** Optional and will default to when we process the event if not specified._

            '
          example: '2025-05-14T13:01:04.000Z'
          default: <Current date and time>
        timelineDetails:
          $ref: '#/components/schemas/eventsv3import_timelineDetails'
        eventData:
          type: object
          additionalProperties: true
          description: Any addtional data attributes for the event.
          example:
            query: Bali
            travelFromDate: '2025-07-03'
            flightsRequired: true
      description: An event
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
externalDocs:
  description: Learn more about Dotdigital APIs
  url: https://developer.dotdigital.com
x-samples-languages:
- curl
- csharp
- java
- javascript
- node
- python
- php
- ruby