Dotdigital · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Email Campaigns API

44 actions 44 updates phrasing extends openapi/dotdigital-email-campaigns-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 44 · first 16 shown; the file carries all of them

$.info
$.paths['/v2/campaigns'].get
$.paths['/v2/campaigns'].post
$.paths['/v2/campaigns/split-test'].post
$.paths['/v2/campaigns/{id}'].get
$.paths['/v2/campaigns/{id}'].put
$.paths['/v2/campaigns/{id}'].delete
$.paths['/v2/campaigns/{id}/copy'].post
$.paths['/v2/campaigns/send'].post
$.paths['/v2/campaigns/send-time-optimised'].post
$.paths['/v2/campaigns/send/{id}'].get
$.paths['/v2/campaigns/{campaignID}/attachments'].get
$.paths['/v2/campaigns/{campaignID}/attachments'].post
$.paths['/v2/campaigns/{campaignID}/attachments/{documentID}'].delete
$.paths['/v2/campaigns/filtered'].get
$.paths['/v2/campaigns/{id}/with-details'].get

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 Email Campaigns API
  version: 1.0.0
extends: openapi/dotdigital-email-campaigns-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: 43
- target: $.paths['/v2/campaigns'].get
  update:
    x-apievangelist-phrasing:
      intent: List all email campaigns
      effect: read
      questions:
      - What email campaigns have I created?
      - Can I page through all my campaigns?
      instructions:
      - text: List all my campaigns.
      - text: Show the first {select} campaigns.
        slots:
          select: query.select
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an email campaign
      effect: write
      questions:
      - 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?
      instructions:
      - text: Create a campaign named {name} with subject {subject} from {fromName} using {htmlContent} and {plainTextContent}.
        slots:
          name: requestBody.name
          subject: requestBody.subject
          fromName: requestBody.fromName
          htmlContent: requestBody.htmlContent
          plainTextContent: requestBody.plainTextContent
      - text: Create a {type} campaign {name} with subject {subject}, from {fromName}, HTML {htmlContent}, plain text {plainTextContent}.
        slots:
          type: requestBody.type
          name: requestBody.name
          subject: requestBody.subject
          fromName: requestBody.fromName
          htmlContent: requestBody.htmlContent
          plainTextContent: requestBody.plainTextContent
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/split-test'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a split test campaign
      effect: write
      questions:
      - 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?
      instructions:
      - text: Create a split test campaign {name} with subjects {subjects} and from names {fromNames}.
        slots:
          name: requestBody.name
          subjects: requestBody.subjects
          fromNames: requestBody.fromNames
      - text: Create a split test campaign {name} with HTML versions {htmlContents} and from addresses {fromAddresses}.
        slots:
          name: requestBody.name
          htmlContents: requestBody.htmlContents
          fromAddresses: requestBody.fromAddresses
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an email campaign
      effect: read
      questions:
      - How do I view the subject and content of one campaign?
      - What does a specific campaign look like?
      instructions:
      - text: Show campaign {id}.
        slots:
          id: path.id
      - text: Get the subject and content of campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an email campaign
      effect: write
      questions:
      - How do I change the subject line of an existing campaign?
      - Can I edit the HTML content of a campaign I already created?
      instructions:
      - text: Change the subject of campaign {id} to {subject}.
        slots:
          id: path.id
          subject: requestBody.subject
      - text: Update the HTML content of campaign {id} to {htmlContent}.
        slots:
          id: path.id
          htmlContent: requestBody.htmlContent
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an email campaign
      effect: destructive
      questions:
      - How do I delete a campaign I no longer need?
      - Can I remove an email campaign by its ID?
      instructions:
      - text: Delete campaign {id}.
        slots:
          id: path.id
      - text: Remove the email campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/copy'].post
  update:
    x-apievangelist-phrasing:
      intent: Copy an email campaign
      effect: write
      questions:
      - How do I duplicate an existing campaign?
      - Can I make a copy of a campaign to reuse its content?
      instructions:
      - text: Copy campaign {id}.
        slots:
          id: path.id
      - text: Duplicate the email campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/send'].post
  update:
    x-apievangelist-phrasing:
      intent: Send an email campaign immediately
      effect: write
      questions:
      - How do I send an email campaign to a segment right now?
      - Can I schedule a campaign send for a specific date?
      instructions:
      - text: Send campaign {campaignID} to address books {addressBookIDs}.
        slots:
          campaignID: requestBody.campaignID
          addressBookIDs: requestBody.addressBookIDs
      - text: Send campaign {campaignID} to contacts {contactIDs} at {sendDate}.
        slots:
          campaignID: requestBody.campaignID
          contactIDs: requestBody.contactIDs
          sendDate: requestBody.sendDate
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/send-time-optimised'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a campaign at the best time for each recipient
      effect: write
      questions:
      - 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?
      instructions:
      - text: Send campaign {campaignID} to address books {addressBookIDs} at the best time for each recipient.
        slots:
          campaignID: requestBody.campaignID
          addressBookIDs: requestBody.addressBookIDs
      - text: Send campaign {campaignID} to contacts {contactIDs} at their optimal open time.
        slots:
          campaignID: requestBody.campaignID
          contactIDs: requestBody.contactIDs
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/send/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a campaign send's status
      effect: read
      questions:
      - Has my campaign send finished?
      - What is the status of a campaign send by its send ID?
      instructions:
      - text: Check the status of send {id}.
        slots:
          id: path.id
      - text: Tell me whether campaign send {id} has been sent.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/attachments'].get
  update:
    x-apievangelist-phrasing:
      intent: List attachments on a campaign
      effect: read
      questions:
      - Which documents are attached to a campaign?
      - What attachments does a campaign have?
      instructions:
      - text: List the attachments on campaign {campaignID}.
        slots:
          campaignID: path.campaignID
      - text: Show every document attached to campaign {campaignID}.
        slots:
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/attachments'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a document to a campaign
      effect: write
      questions:
      - How do I attach a PDF to an email campaign?
      - Can I add an existing document to a campaign as an attachment?
      instructions:
      - text: Attach document {name} to campaign {campaignID}.
        slots:
          name: requestBody.name
          campaignID: path.campaignID
      - text: Add the document {fileName} to campaign {campaignID}.
        slots:
          fileName: requestBody.fileName
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/attachments/{documentID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an attachment from a campaign
      effect: destructive
      questions:
      - How do I detach a document from a campaign?
      - Can I remove an attachment by its document ID?
      instructions:
      - text: Remove attachment {documentID} from campaign {campaignID}.
        slots:
          documentID: path.documentID
          campaignID: path.campaignID
      - text: Detach document {documentID} from campaign {campaignID}.
        slots:
          documentID: path.documentID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/filtered'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaigns filtered by type, tags or status
      effect: read
      questions:
      - Can I list only the campaigns I sent last month?
      - Which campaigns have a particular tag or status?
      instructions:
      - text: List campaigns with status {statuses}.
        slots:
          statuses: query.~statuses
      - text: Show campaigns tagged {tags} sent after {sentDate}.
        slots:
          tags: query.~tags
          sentDate: query.~sentDate
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/with-details'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a campaign with its full details
      effect: read
      questions:
      - How do I see every detail of a campaign, not just its subject?
      - What does the full campaign object include?
      instructions:
      - text: Show campaign {id} with all its details.
        slots:
          id: path.id
      - text: Get the complete campaign object for {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/summary'].get
  update:
    x-apievangelist-phrasing:
      intent: Get reporting summary for a campaign
      effect: read
      questions:
      - How many people opened or clicked my campaign?
      - What does the reporting summary of a campaign show?
      instructions:
      - text: Get the summary for campaign {id}.
        slots:
          id: path.id
      - text: Show open and click totals for campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/opens'].get
  update:
    x-apievangelist-phrasing:
      intent: List who opened a campaign
      effect: read
      questions:
      - Who opened my email campaign?
      - Can I see the list of recipients who opened a campaign?
      instructions:
      - text: List the opens for campaign {id}.
        slots:
          id: path.id
      - text: Show who opened campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/opens'].get
  update:
    x-apievangelist-phrasing:
      intent: See one contact's opens of a campaign
      effect: read
      questions:
      - Did a specific recipient open my campaign?
      - When did a particular contact open a campaign?
      instructions:
      - text: Show opens of campaign {campaignID} by contact {contactID}.
        slots:
          campaignID: path.campaignID
          contactID: path.contactID
      - text: List when contact {contactID} opened campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one contact's activity on a campaign
      effect: read
      questions:
      - What has a specific recipient done with my campaign?
      - Did a contact open or click a campaign?
      instructions:
      - text: Show activity for contact {contactID} on campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: List what contact {contactID} did with campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/activities/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts who engaged with a campaign after a date
      effect: read
      questions:
      - Which recipients opened or clicked a campaign after a certain date?
      - Can I find campaign activity that happened after a given time?
      instructions:
      - text: List contacts who engaged with campaign {id} after {date}.
        slots:
          id: path.id
          date: path.date
      - text: Show campaign {id} activity since {date}.
        slots:
          id: path.id
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/clicks'].get
  update:
    x-apievangelist-phrasing:
      intent: List all link clicks in a campaign
      effect: read
      questions:
      - Which links did recipients click in my email campaign?
      - Can I see every click across a whole campaign?
      instructions:
      - text: List all link clicks for campaign {id}.
        slots:
          id: path.id
      - text: Show every link click in campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/clicks-with-groups'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaign clicks with link group assignments
      effect: read
      questions:
      - Which links in a campaign were grouped together for tracking?
      - Can I see link clicks along with their assigned link groups?
      instructions:
      - text: List link clicks with groups for campaign {id}.
        slots:
          id: path.id
      - text: Show the link group assignments for every click in campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/clicks/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaign link clicks after a date
      effect: read
      questions:
      - What links did people click in my campaign after a certain date?
      - Can I filter a campaign's link clicks to a date range?
      instructions:
      - text: List link clicks in campaign {id} after {date}.
        slots:
          id: path.id
          date: path.date
      - text: Show clicks on campaign {id} that happened since {date}.
        slots:
          id: path.id
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/clicks-with-groups/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get email campaign link clicks grouped by link
      effect: read
      questions:
      - Which links did contacts click in my campaign after a certain date?
      - Can I see campaign link groupings along with the clicks since a date?
      instructions:
      - text: Get link clicks for campaign {id} since {date}.
        slots:
          id: path.id
          date: path.date
      - text: Show {select} link groupings and clicks in campaign {id} after {date}.
        slots:
          select: query.select
          id: path.id
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/opens/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaign opens after a date
      effect: read
      questions:
      - Who opened my campaign after a certain date?
      - Can I see opens for a campaign that happened since a date?
      instructions:
      - text: List opens for campaign {id} after {date}.
        slots:
          id: path.id
          date: path.date
      - text: Show who opened campaign {id} since {date}.
        slots:
          id: path.id
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/activities'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts and their activity for a campaign
      effect: read
      questions:
      - Which contacts opened, clicked or bounced in my campaign?
      - Can I see the full activity of every recipient of a campaign?
      instructions:
      - text: List contacts and their activity for campaign {id}.
        slots:
          id: path.id
      - text: Show opens, clicks and bounces for campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/address-books'].get
  update:
    x-apievangelist-phrasing:
      intent: List address books a campaign was sent to
      effect: read
      questions:
      - Which address books and segments did a campaign go out to?
      - Can I see the recipient lists a campaign was sent to?
      instructions:
      - text: List the address books and segments campaign {id} was sent to.
        slots:
          id: path.id
      - text: Show which recipient lists campaign {id} went out to.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/clicks'].get
  update:
    x-apievangelist-phrasing:
      intent: List a contact's link clicks in a campaign
      effect: read
      questions:
      - Which links did one recipient click in my campaign?
      - Can I see a single contact's link clicks for a campaign?
      instructions:
      - text: List link clicks for contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: Show which links contact {contactID} clicked in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/clicks-with-groups'].get
  update:
    x-apievangelist-phrasing:
      intent: List a contact's clicks with link groups
      effect: read
      questions:
      - Which grouped links did one recipient click in a campaign?
      - Can I see a contact's link group assignments for a campaign?
      instructions:
      - text: List link clicks with groups for contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: Show the grouped link clicks contact {contactID} made in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/with-activity-since/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaigns with activity after a date
      effect: read
      questions:
      - Which campaigns had opens or clicks after a certain date?
      - Can I find campaigns that were active since a date?
      instructions:
      - text: List campaigns with activity after {date}.
        slots:
          date: path.date
      - text: Show campaigns that had opens or clicks since {date}.
        slots:
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/page-views'].get
  update:
    x-apievangelist-phrasing:
      intent: List a contact's page views in a campaign
      effect: read
      questions:
      - Which landing pages did one recipient view after opening my campaign?
      - Can I see a contact's page views for a campaign?
      instructions:
      - text: List page views for contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: Show the landing page views contact {contactID} had in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/page-views/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaign page views after a date
      effect: read
      questions:
      - Which landing pages did recipients view in my campaign after a date?
      - Can I filter a campaign's page views to a date range?
      instructions:
      - text: List page views for campaign {id} after {date}.
        slots:
          id: path.id
          date: path.date
      - text: Show landing page views in campaign {id} since {date}.
        slots:
          id: path.id
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/replies'].get
  update:
    x-apievangelist-phrasing:
      intent: List a contact's replies to a campaign
      effect: read
      questions:
      - Which replies did one recipient send to my campaign?
      - Can I see a contact's replies to a campaign?
      instructions:
      - text: List replies for contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: Show the replies contact {contactID} sent to campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/roi-details'].get
  update:
    x-apievangelist-phrasing:
      intent: List a contact's ROI details for a campaign
      effect: read
      questions:
      - What revenue did one recipient generate for my campaign?
      - Can I see a contact's ROI information for a campaign?
      instructions:
      - text: List ROI details for contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: Show the revenue generated by contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/roi-details/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: List campaign ROI activity after a date
      effect: read
      questions:
      - Which contacts generated revenue for my campaign after a certain date?
      - Can I see a campaign's ROI activity since a date?
      instructions:
      - text: List ROI activity for campaign {id} after {date}.
        slots:
          id: path.id
          date: path.date
      - text: Show revenue generated by campaign {id} since {date}.
        slots:
          id: path.id
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/social-bookmark-views'].get
  update:
    x-apievangelist-phrasing:
      intent: List social bookmark views for a campaign
      effect: read
      questions:
      - How many times were social bookmarks shared in my campaign?
      - Can I see social bookmark views for a campaign?
      instructions:
      - text: List social bookmark views for campaign {id}.
        slots:
          id: path.id
      - text: Show how often social bookmarks were viewed in campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignID}/activities/{contactID}/social-bookmark-views'].get
  update:
    x-apievangelist-phrasing:
      intent: List a contact's social bookmark views
      effect: read
      questions:
      - Which social bookmarks did one recipient view in my campaign?
      - Can I see a contact's social bookmark views for a campaign?
      instructions:
      - text: List social bookmark views for contact {contactID} in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      - text: Show the social bookmarks contact {contactID} viewed in campaign {campaignID}.
        slots:
          contactID: path.contactID
          campaignID: path.campaignID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/hard-bouncing-contacts'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts who hard bounced a campaign
      effect: read
      questions:
      - Which recipients hard bounced my campaign?
      - Can I get full contact data for hard bouncers?
      instructions:
      - text: List hard bouncers for campaign {id}.
        slots:
          id: path.id
      - text: 'Show hard bouncers for campaign {id} with full data: {withFullData}.'
        slots:
          id: path.id
          withFullData: query.withFullData
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{id}/split-test'].get
  update:
    x-apievangelist-phrasing:
      intent: Get split test results for a campaign
      effect: read
      questions:
      - Which variation of my campaign performed best in a split test?
      - Can I see the split test results for a campaign?
      instructions:
      - text: Get split test results for campaign {id}.
        slots:
          id: path.id
      - text: Show which variation won the split test for campaign {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/custom-from-addresses'].get
  update:
    x-apievangelist-phrasing:
      intent: List custom from addresses for campaigns
      effect: read
      questions:
      - Which custom sender addresses can I use in my campaigns?
      - Can I see all custom from addresses available?
      instructions:
      - text: List custom from addresses for campaigns.
      - text: Show the sender addresses I can choose from for a campaign.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignId}/revenue/since-date/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get revenue from a campaign since a date
      effect: read
      questions:
      - How much revenue has a campaign generated since a certain date?
      - Can I pull campaign revenue from a specific date forward?
      instructions:
      - text: Get revenue for campaign {campaignId} since {date}.
        slots:
          campaignId: path.campaignId
          date: path.date
      - text: Show campaign {campaignId} revenue from {date} onward.
        slots:
          campaignId: path.campaignId
          date: path.date
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/{campaignId}/activities/{contactId}/revenue'].get
  update:
    x-apievangelist-phrasing:
      intent: Get revenue a contact generated from a campaign
      effect: read
      questions:
      - How much revenue did a specific contact generate from a campaign?
      - Can I see the revenue a single contact brought in for a campaign?
      instructions:
      - text: Get revenue for contact {contactId} in campaign {campaignId}.
        slots:
          contactId: path.contactId
          campaignId: path.campaignId
      - text: Show how much contact {contactId} spent on campaign {campaignId}.
        slots:
          contactId: path.contactId
          campaignId: path.campaignId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/campaigns/metrics'].get
  update:
    x-apievangelist-phrasing:
      intent: Get campaign sent metrics between dates
      effect: read
      questions:
      - What are the key campaign metrics for all campaigns between two dates?
      - Can I get daily sent metrics for campaigns over a date range?
      instructions:
      - text: Get campaign metrics from {startDate} to {endDate}.
        slots:
          startDate: query.startDate
          endDate: query.endDate
      - text: Show daily sent metrics for all campaigns between {startDate} and {endDate}.
        slots:
          startDate: query.startDate
          endDate: query.endDate
      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-email-campaigns-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.