Dotdigital · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for apiconnector.com API Preference API

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

$.info
$.paths['/v2/preferences'].get
$.paths['/v2/preferences'].post
$.paths['/v2/preferences/modified-since/{sinceDate}'].get
$.paths['/v2/preferences/{id}'].put
$.paths['/v2/preferences/{id}'].delete
$.paths['/v2/contacts/with-preference/{preferenceId}'].get
$.paths['/v2/address-books/{bookId}/contacts/with-preference/{preferenceId}'].get
$.paths['/v2/contacts/{contactId}/preferences'].put
$.paths['/v2/contact/{contactId}/preferences'].put
$.paths['/v2/contacts/{contactEmail}/preferences'].get
$.paths['/v2/contacts/{contactEmail}/preferences'].put
$.paths['/v2/contact/{contactEmail}/preferences'].get
$.paths['/v2/contact/{contactEmail}/preferences'].put
$.paths['/v2/contacts/{contactID}/preferences'].get
$.paths['/v2/contact/{contactID}/preferences'].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 apiconnector.com API Preference API
  version: 1.0.0
extends: openapi/dotdigital-apipreference-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: 18
- target: $.paths['/v2/preferences'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the preference tree
      effect: read
      questions:
      - What preferences are set up in my account?
      - Can I see the preference tree as a hierarchy?
      instructions:
      - text: Get the preferences tree.
      - text: Show all preferences and categories.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/preferences'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a preference or category
      effect: write
      questions:
      - How do I create a new preference category?
      - Can I create a preference that is not a category?
      instructions:
      - text: Create a preference category {publicName}.
        slots:
          publicName: requestBody.publicName
      - text: Create a preference {publicName} under category {categoryId}.
        slots:
          publicName: requestBody.publicName
          categoryId: requestBody.categoryId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/preferences/modified-since/{sinceDate}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get preferences modified since a date
      effect: read
      questions:
      - Which preferences changed since a given date?
      - Can I sync preferences modified since a timestamp?
      instructions:
      - text: Get preferences modified since {sinceDate}.
        slots:
          sinceDate: path.sinceDate
      - text: Sync preference changes since {sinceDate}.
        slots:
          sinceDate: path.sinceDate
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/preferences/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a preference
      effect: write
      questions:
      - How do I change the name or order of an existing preference?
      - Can I mark a preference as public after creating it?
      instructions:
      - text: Update preference {id} with name {publicName}.
        slots:
          id: path.id
          publicName: requestBody.publicName
      - text: Set preference {id} to order {order}.
        slots:
          id: path.id
          order: requestBody.order
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/preferences/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a preference
      effect: destructive
      questions:
      - How do I remove a preference category?
      - Can I delete a preference I no longer use?
      instructions:
      - text: Delete preference {id}.
        slots:
          id: path.id
      - text: Remove the preference category {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/with-preference/{preferenceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts subscribed to a preference
      effect: read
      questions:
      - Who is subscribed to a particular preference?
      - Can I get contacts who opted in to one preference?
      instructions:
      - text: List contacts subscribed to preference {preferenceId}.
        slots:
          preferenceId: path.preferenceId
      - text: Show contacts who opted in to preference {preferenceId} since {minContactId}.
        slots:
          preferenceId: path.preferenceId
          minContactId: query.minContactId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/address-books/{bookId}/contacts/with-preference/{preferenceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts in a list subscribed to a preference
      effect: read
      questions:
      - Which contacts in a specific list subscribed to a preference?
      - Can I see opt-ins to a preference from one address book?
      instructions:
      - text: List contacts in list {bookId} subscribed to preference {preferenceId}.
        slots:
          bookId: path.bookId
          preferenceId: path.preferenceId
      - text: Show opt-ins to preference {preferenceId} from list {bookId} since {minContactId}.
        slots:
          preferenceId: path.preferenceId
          bookId: path.bookId
          minContactId: query.minContactId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactId}/preferences'].put
  update:
    x-apievangelist-phrasing:
      intent: Set a contact's preferences
      effect: write
      questions:
      - How do I set a contact's preference selections?
      - Can I update a contact's preferences by contact ID?
      instructions:
      - text: Set preferences for contact {contactId}.
        slots:
          contactId: path.contactId
      - text: Update the preference selections of contact {contactId}.
        slots:
          contactId: path.contactId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contact/{contactId}/preferences'].put
  update:
    x-apievangelist-phrasing:
      intent: Set a contact's preferences (legacy path)
      effect: write
      questions:
      - Is there an older endpoint that sets a contact's preferences by contact ID?
      - Can I use the legacy contact preferences path?
      instructions:
      - text: Set preferences for contact {contactId} using the legacy path.
        slots:
          contactId: path.contactId
      - text: Update the preference selections of contact {contactId} via the older endpoint.
        slots:
          contactId: path.contactId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactEmail}/preferences'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's preferences
      effect: read
      questions:
      - What preferences has a given contact subscribed to?
      - Can I look up a contact's preferences by email?
      instructions:
      - text: Get preferences for contact {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      - text: Show the preference selections of {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactEmail}/preferences'].put
  update:
    x-apievangelist-phrasing:
      intent: Set a contact's preferences by email
      effect: write
      questions:
      - How do I set a contact's preferences using their email address?
      - Can I update a contact's preferences by email?
      instructions:
      - text: Set preferences for contact {contactEmail} by email.
        slots:
          contactEmail: path.contactEmail
      - text: Update the preference selections of {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contact/{contactEmail}/preferences'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's email preferences by email
      effect: read
      questions:
      - How can I see what emails a contact has opted into by their email address?
      - What preferences are set for a contact selected by email?
      instructions:
      - text: Get the preferences for the contact {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      - text: Show which email lists {contactEmail} is opted into.
        slots:
          contactEmail: path.contactEmail
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contact/{contactEmail}/preferences'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a contact's email preferences by email
      effect: write
      questions:
      - How do I change a contact's email subscription settings from an email address?
      - Can I update a contact's preference settings by email instead of contact ID?
      instructions:
      - text: Set the preferences for the contact {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      - text: Update the email subscription list choices for {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactID}/preferences'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's preferences by numeric contact ID
      effect: read
      questions:
      - Which preferences has the contact with a given numeric ID opted into?
      - Can I fetch a contact's preference settings when all I have is their contact ID number?
      - What does the preferences view look like for a contact I identify by ID rather than email?
      instructions:
      - text: Get the preferences for the contact with numeric ID {contactID}.
        slots:
          contactID: path.contactID
      - text: Show the preference selections for contact ID {contactID}.
        slots:
          contactID: path.contactID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contact/{contactID}/preferences'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's preferences by email address ID
      effect: read
      questions:
      - How do I get a contact's email preferences when I have their contact ID by email address?
      - Can I look up a contact's preferences using the email address contact ID?
      instructions:
      - text: Get the preferences for the contact with email address ID {contactID}.
        slots:
          contactID: path.contactID
      - text: Show email subscription settings for the contact whose email address ID is {contactID}.
        slots:
          contactID: path.contactID
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactEmail}/subscriptions'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's subscriptions
      effect: read
      questions:
      - Which subscriptions does a given contact have?
      - Can I see a contact's subscription history?
      instructions:
      - text: Get subscriptions for contact {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      - text: Show the subscription history of {contactEmail}.
        slots:
          contactEmail: path.contactEmail
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/contacts/with-preference/{preferenceId}/opt-ins-since/{sinceDate}'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts who opted in to a preference since a date
      effect: read
      questions:
      - Who opted in to a preference since a given date?
      - Can I get new opt-ins to a preference since a timestamp?
      instructions:
      - text: List contacts who opted in to preference {preferenceId} since {sinceDate}.
        slots:
          preferenceId: path.preferenceId
          sinceDate: path.sinceDate
      - text: Show new opt-ins to preference {preferenceId} from {sinceDate}.
        slots:
          preferenceId: path.preferenceId
          sinceDate: path.sinceDate
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/address-books/{bookId}/contacts/with-preference/{preferenceId}/opt-ins-since/{sinceDate}'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts who opt in to a preference since a date
      effect: read
      questions:
      - Which subscribers on my list opted in to a preference after a given date?
      - Can I list who changed their preference opt-ins since a certain date?
      instructions:
      - text: List contacts in address book {bookId} who opted in to preference {preferenceId} since {sinceDate}.
        slots:
          bookId: path.bookId
          preferenceId: path.preferenceId
          sinceDate: path.sinceDate
      - text: Show new opt-ins to preference {preferenceId} on list {bookId} since {sinceDate}.
        slots:
          bookId: path.bookId
          preferenceId: path.preferenceId
          sinceDate: path.sinceDate
      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-apipreference-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.