Dotdigital · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Insight and transactional data API

13 actions 13 updates phrasing extends openapi/dotdigital-insight-and-transactional-data-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Dotdigital's API. It is a proposal applied on top of the contract, not a document Dotdigital publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 13

$.info
$.paths['/v2/contacts/transactional-data/{collectionName}'].post
$.paths['/v2/contacts/transactional-data/import/{collectionName}'].post
$.paths['/v2/contacts/transactional-data/{collectionName}/{key}'].get
$.paths['/v2/contacts/transactional-data/{collectionName}/{key}'].post
$.paths['/v2/contacts/transactional-data/{collectionName}/{key}'].delete
$.paths['/v2/contacts/transactional-data/import/{id}'].get
$.paths['/v2/contacts/transactional-data/import/{id}/report'].get
$.paths['/v2/contacts/{selector}/transactional-data/{collectionName}'].get
$.paths['/v2/contacts/{selector}/transactional-data/{collectionName}'].delete
$.paths['/v2/transactional-data/{collectionName}'].get
$.paths['/v2/contacts/transactional-data-collections'].get
$.paths['/v2/contacts/transactional-data/{collectionName}/empty'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Insight and transactional data API
  version: 1.0.0
extends: openapi/dotdigital-insight-and-transactional-data-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 12
- target: $.paths['/v2/contacts/transactional-data/{collectionName}'].post
  update:
    x-apievangelist-phrasing:
      intent: Add transactional data to a contact
      effect: write
      questions:
      - How do I store a single transactional event against a contact?
      - Can I add insight data to a contact by email?
      instructions:
      - text: Add {json} to {collectionName} for contact {contactIdentifier}.
        slots:
          json: requestBody.json
          collectionName: path.collectionName
          contactIdentifier: requestBody.contactIdentifier
      - text: Store {json} as {key} in {collectionName} for {contactIdentifier}.
        slots:
          json: requestBody.json
          key: requestBody.key
          collectionName: path.collectionName
          contactIdentifier: requestBody.contactIdentifier
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/import/{collectionName}'].post
  update:
    x-apievangelist-phrasing:
      intent: Bulk add transactional data to contacts
      effect: write
      questions:
      - Can I load many transactional events into a collection at once?
      - Is there an async bulk import for insight data?
      instructions:
      - text: Bulk import {RAW_BODY} into {collectionName}.
        slots:
          RAW_BODY: requestBody.RAW_BODY
          collectionName: path.collectionName
      - text: Start a bulk load of insight events {RAW_BODY} into {collectionName}.
        slots:
          RAW_BODY: requestBody.RAW_BODY
          collectionName: path.collectionName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/{collectionName}/{key}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's transactional data by key
      effect: read
      questions:
      - How do I read one transactional event stored for a contact?
      - What does a single insight data record contain?
      instructions:
      - text: Get {collectionName} data for {key}.
        slots:
          collectionName: path.collectionName
          key: path.key
      - text: Show the {key} record in {collectionName}.
        slots:
          key: path.key
          collectionName: path.collectionName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/{collectionName}/{key}'].post
  update:
    x-apievangelist-phrasing:
      intent: Replace a contact's transactional data
      effect: write
      questions:
      - Can I overwrite an existing transactional event for a contact?
      - How do I update insight data stored against a contact?
      instructions:
      - text: Replace {collectionName} data {key} with {json}.
        slots:
          collectionName: path.collectionName
          key: path.key
          json: requestBody.json
      - text: Overwrite the {key} record in {collectionName} with {json}.
        slots:
          key: path.key
          collectionName: path.collectionName
          json: requestBody.json
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/{collectionName}/{key}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a contact's transactional data
      effect: destructive
      questions:
      - How do I remove a single transactional event from a contact?
      - Can I delete insight data by its key?
      instructions:
      - text: Delete {collectionName} data {key}.
        slots:
          collectionName: path.collectionName
          key: path.key
      - text: Remove the {key} record from {collectionName}.
        slots:
          key: path.key
          collectionName: path.collectionName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/import/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a bulk transactional data import
      effect: read
      questions:
      - Has my bulk load of transactional data finished?
      - What status is a transactional data import in?
      instructions:
      - text: Get the status of transactional data import {id}.
        slots:
          id: path.id
      - text: Check whether bulk import {id} succeeded.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/import/{id}/report'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a bulk transactional data import report
      effect: read
      questions:
      - How many records failed in my bulk load of transactional data?
      - Can I see a report of a transactional data import?
      instructions:
      - text: Get the report for transactional data import {id}.
        slots:
          id: path.id
      - text: Show import statistics for {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{selector}/transactional-data/{collectionName}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's transactional data
      effect: read
      questions:
      - How do I read a contact's transactional data records by email?
      - What is the order of transactional data records for a contact?
      instructions:
      - text: Get transactional data {collectionName} for {selector}.
        slots:
          collectionName: path.collectionName
          selector: path.selector
      - text: Show up to 100 transactional records for {selector} in {collectionName}.
        slots:
          selector: path.selector
          collectionName: path.collectionName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{selector}/transactional-data/{collectionName}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a contact's transactional data collection
      effect: destructive
      questions:
      - How do I clear all transactional data for a contact?
      - Can I empty a contact's insight data collection?
      instructions:
      - text: Delete {collectionName} data for {selector}.
        slots:
          collectionName: path.collectionName
          selector: path.selector
      - text: Clear every transactional record in {collectionName} for {selector}.
        slots:
          collectionName: path.collectionName
          selector: path.selector
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/transactional-data/{collectionName}'].get
  update:
    x-apievangelist-phrasing:
      intent: List account-level transactional data
      effect: read
      questions:
      - Can I read all transactional data in a collection across the account?
      - What does account-scoped insight data look like?
      instructions:
      - text: List account-level {collectionName} data.
        slots:
          collectionName: path.collectionName
      - text: Show {select} records from {collectionName} at account level.
        slots:
          select: query.select
          collectionName: path.collectionName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data-collections'].get
  update:
    x-apievangelist-phrasing:
      intent: List transactional data collections
      effect: read
      questions:
      - Which transactional data collections exist at account and contact level?
      - What insight data collections can I load?
      instructions:
      - text: List transactional data collections.
      - text: Show {select} insight data collections.
        slots:
          select: query.select
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/transactional-data/{collectionName}/empty'].put
  update:
    x-apievangelist-phrasing:
      intent: Empty a transactional data collection
      effect: destructive
      questions:
      - How do I clear all transactional data from a collection?
      - Can I wipe an insight data collection?
      instructions:
      - text: Empty {collectionName}.
        slots:
          collectionName: path.collectionName
      - text: Clear every transactional record from {collectionName}.
        slots:
          collectionName: path.collectionName
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/dotdigital-insight-and-transactional-data-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.