Dotdigital · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Preferences and subscriptions API
17 actions
17 updates
phrasing
extends
openapi/dotdigital-preferences-and-subscriptions-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.
What the actions change
x-apievangelist-phrasing
Targets 17 · first 16 shown; the file carries all of them
$.info
$.paths['/v2/contacts/unsubscribe'].post
$.paths['/v2/contacts/suppress-contacts'].put
$.paths['/v2/contacts/resubscribe'].post
$.paths['/v2/contacts/resubscribe-with-no-challenge'].post
$.paths['/v2/contacts/suppressed-since/{date}'].get
$.paths['/v2/contacts/{email}/subscriptions'].get
$.paths['/v2/contacts/unsubscribed-since/{date}'].get
$.paths['/v2/preferences'].get
$.paths['/v2/preferences'].post
$.paths['/v2/preferences/{id}'].put
$.paths['/v2/preferences/{id}'].delete
$.paths['/v2/preferences/modified-since/{date}'].get
$.paths['/v2/contacts/{contactIdentifier}/preferences'].get
$.paths['/v2/contacts/{contactIdentifier}/preferences'].put
$.paths['/v2/contacts/with-preference/{preferenceId}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Preferences and subscriptions API
version: 1.0.0
extends: openapi/dotdigital-preferences-and-subscriptions-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: 16
- target: $.paths['/v2/contacts/unsubscribe'].post
update:
x-apievangelist-phrasing:
intent: Unsubscribe a contact from the account
effect: destructive
questions:
- How do I unsubscribe a contact from my account?
- Can I remove a contact from all account emails?
instructions:
- text: Unsubscribe {email} from the account.
slots:
email: requestBody.email
- text: Remove {email} from all account marketing emails.
slots:
email: requestBody.email
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/suppress-contacts'].put
update:
x-apievangelist-phrasing:
intent: Suppress a batch of contacts
effect: destructive
questions:
- Can I suppress a whole list of contacts at once?
- How do I bulk-suppress contacts from the account?
instructions:
- text: 'Suppress these contacts: {contacts}.'
slots:
contacts: requestBody.RAW_BODY
- text: Bulk suppress the contacts in {contacts}.
slots:
contacts: requestBody.RAW_BODY
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/resubscribe'].post
update:
x-apievangelist-phrasing:
intent: Resubscribe a contact with a challenge email
effect: write
questions:
- How do I resubscribe a contact who already unsubscribed?
- Can I send a challenge email when resubscribing a contact?
instructions:
- text: Resubscribe {contact} with a challenge email.
slots:
contact: requestBody.unsubscribedContact
- text: Resubscribe {contact} in locale {locale} and send them to {url}.
slots:
contact: requestBody.unsubscribedContact
locale: requestBody.preferredLocale
url: requestBody.returnUrlToUseIfChallenged
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/resubscribe-with-no-challenge'].post
update:
x-apievangelist-phrasing:
intent: Resubscribe a contact without a challenge email
effect: write
questions:
- Can I resubscribe a contact without sending them a challenge email?
- How do I bring back a previously unsubscribed contact right away?
instructions:
- text: Resubscribe {contact} without a challenge email.
slots:
contact: requestBody.unsubscribedContact
- text: Bring {contact} back to the account immediately.
slots:
contact: requestBody.unsubscribedContact
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/suppressed-since/{date}'].get
update:
x-apievangelist-phrasing:
intent: List contacts suppressed since a date
effect: read
questions:
- Which contacts were suppressed from the account after a certain date?
- What's the reason for each suppression since a date?
instructions:
- text: List contacts suppressed since {date}.
slots:
date: path.date
- text: Show suppressed contacts after {date} with their suppression reasons.
slots:
date: path.date
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/{email}/subscriptions'].get
update:
x-apievangelist-phrasing:
intent: List a contact's subscriptions
effect: read
questions:
- What subscriptions does a particular contact have?
- Which newsletters is a given contact subscribed to?
instructions:
- text: List subscriptions for {email}.
slots:
email: path.email
- text: Show all subscriptions of {email}.
slots:
email: path.email
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/unsubscribed-since/{date}'].get
update:
x-apievangelist-phrasing:
intent: List contacts who unsubscribed since a date
effect: read
questions:
- Which contacts unsubscribed from the account after a certain date?
- Can I get a list of recent unsubscribes?
instructions:
- text: List contacts who unsubscribed since {date}.
slots:
date: path.date
- text: Show the last {select} unsubscribes after {date}.
slots:
select: query.select
date: path.date
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/preferences'].get
update:
x-apievangelist-phrasing:
intent: List all preferences and categories
effect: read
questions:
- What preferences and preference categories exist in my account?
- Can I see every preference and category with its order?
instructions:
- text: List all preferences and preference categories.
- text: Show every preference and category in the account.
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/preferences'].post
update:
x-apievangelist-phrasing:
intent: Create a preference or preference category
effect: write
questions:
- How do I add a new preference category for my contacts?
- Can I create a preference that shows up in the preference centre?
instructions:
- text: Create preference category {privateName} with public name {publicName}.
slots:
privateName: requestBody.privateName
publicName: requestBody.publicName
- text: Add preference {publicName} with private name {privateName} in category {category}.
slots:
publicName: requestBody.publicName
privateName: requestBody.privateName
category: requestBody.categoryID
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/preferences/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a preference or preference category
effect: write
questions:
- Can I rename a preference or preference category?
- How do I change the order of a preference category?
instructions:
- text: Update preference {id} to public name {publicName} and private name {privateName}.
slots:
id: path.id
publicName: requestBody.publicName
privateName: requestBody.privateName
- text: Move preference category {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 or preference category
effect: destructive
questions:
- How do I delete a preference category?
- Can I remove a preference from the account?
instructions:
- text: Delete preference {id}.
slots:
id: path.id
- text: Remove preference category {id} from the account.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/preferences/modified-since/{date}'].get
update:
x-apievangelist-phrasing:
intent: List preferences modified since a date
effect: read
questions:
- Which preferences were changed since a certain date?
- Can I get the preference changes made after a date?
instructions:
- text: List preferences modified since {date}.
slots:
date: path.date
- text: Show preference changes made after {date}.
slots:
date: path.date
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactIdentifier}/preferences'].get
update:
x-apievangelist-phrasing:
intent: Show a contact's preference opt-ins
effect: read
questions:
- Which preferences is a given contact opted into?
- Can I see a contact's preference centre choices?
instructions:
- text: Show preferences for {contact}.
slots:
contact: path.contactIdentifier
- text: List the preference opt-ins of {contact}.
slots:
contact: path.contactIdentifier
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/{contactIdentifier}/preferences'].put
update:
x-apievangelist-phrasing:
intent: Set a contact's preference opt-ins
effect: write
questions:
- How do I opt a contact into or out of preferences?
- Can I change a contact's preference choices in bulk?
instructions:
- text: Set preferences for {contact} to {preferences}.
slots:
contact: path.contactIdentifier
preferences: requestBody.RAW_BODY
- text: Opt {contact} into the preferences {preferences}.
slots:
contact: path.contactIdentifier
preferences: requestBody.RAW_BODY
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/with-preference/{preferenceId}'].get
update:
x-apievangelist-phrasing:
intent: List contacts who opted in to a preference
effect: read
questions:
- Which of my contacts have opted in to a particular preference?
- Can I page through all contacts who chose a preference, starting from a given contact id?
instructions:
- text: List contacts opted into preference {preference}.
slots:
preference: path.preferenceId
- text: Find contacts who opted in to {preference} since contact {min}.
slots:
preference: path.preferenceId
min: query.minContactID
method: generated
generated: '2026-11-19'
- target: $.paths['/v2/contacts/with-preference/{preferenceId}/opt-ins-since/{date}'].get
update:
x-apievangelist-phrasing:
intent: List contacts whose opt-in changed recently
effect: read
questions:
- Who changed their opt-in status for a preference since a date, among my contacts?
- Can I see the latest 1000 contacts whose preference opt-in was toggled after a certain day?
instructions:
- text: List contacts whose opt-in to preference {preference} changed since {date}.
slots:
preference: path.preferenceId
date: path.date
- text: Show opt-in changes on {preference} since {date}, starting from contact {min}.
slots:
preference: path.preferenceId
date: path.date
min: query.minContactID
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/dotdigital-preferences-and-subscriptions-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.