Dotdigital Preferences and subscriptions API

The Preferences and subscriptions API from Dotdigital — 13 operation(s) for preferences and subscriptions.

GitHub OpenAPI

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/contacts/unsubscribe Unsubscribe a contact from the account · Unsubscribe contact #
Ask an LLM
“How do I unsubscribe a contact from my account?”
“Can I remove a contact from all account emails?”
Tell an agent destructive · confirm first
Unsubscribe {email} from the account.
Remove {email} from all account marketing emails.
PUT /v2/contacts/suppress-contacts Suppress a batch of contacts · Bulk suppress contacts #
Ask an LLM
“Can I suppress a whole list of contacts at once?”
“How do I bulk-suppress contacts from the account?”
Tell an agent destructive · confirm first
Suppress these contacts: {contacts}.
Bulk suppress the contacts in {contacts}.
POST /v2/contacts/resubscribe Resubscribe a contact with a challenge email · Resubscribe contact #
Ask an LLM
“How do I resubscribe a contact who already unsubscribed?”
“Can I send a challenge email when resubscribing a contact?”
Tell an agent
Resubscribe {contact} with a challenge email.
Resubscribe {contact} in locale {locale} and send them to {url}.
POST /v2/contacts/resubscribe-with-no-challenge Resubscribe a contact without a challenge email · Resubscribe contact with no challenge #
Ask an LLM
“Can I resubscribe a contact without sending them a challenge email?”
“How do I bring back a previously unsubscribed contact right away?”
Tell an agent
Resubscribe {contact} without a challenge email.
Bring {contact} back to the account immediately.
GET /v2/contacts/suppressed-since/{date} List contacts suppressed since a date · Get suppressed contacts since date #
Ask an LLM
“Which contacts were suppressed from the account after a certain date?”
“What's the reason for each suppression since a date?”
Tell an agent
List contacts suppressed since {date}.
Show suppressed contacts after {date} with their suppression reasons.
GET /v2/contacts/{email}/subscriptions List a contact's subscriptions · Get subscriptions for contact #
Ask an LLM
“What subscriptions does a particular contact have?”
“Which newsletters is a given contact subscribed to?”
Tell an agent
List subscriptions for {email}.
Show all subscriptions of {email}.
GET /v2/contacts/unsubscribed-since/{date} List contacts who unsubscribed since a date · Get unsubscribed contacts since date #
Ask an LLM
“Which contacts unsubscribed from the account after a certain date?”
“Can I get a list of recent unsubscribes?”
Tell an agent
List contacts who unsubscribed since {date}.
Show the last {select} unsubscribes after {date}.
POST /v2/preferences Create a preference or preference category · Create preference #
Ask an LLM
“How do I add a new preference category for my contacts?”
“Can I create a preference that shows up in the preference centre?”
Tell an agent
Create preference category {privateName} with public name {publicName}.
Add preference {publicName} with private name {privateName} in category {category}.
GET /v2/preferences List all preferences and categories · Get preferences #
Ask an LLM
“What preferences and preference categories exist in my account?”
“Can I see every preference and category with its order?”
Tell an agent
List all preferences and preference categories.
Show every preference and category in the account.
PUT /v2/preferences/{id} Update a preference or preference category · Update preference #
Ask an LLM
“Can I rename a preference or preference category?”
“How do I change the order of a preference category?”
Tell an agent
Update preference {id} to public name {publicName} and private name {privateName}.
Move preference category {id} to order {order}.
DELETE /v2/preferences/{id} Delete a preference or preference category · Delete preference #
Ask an LLM
“How do I delete a preference category?”
“Can I remove a preference from the account?”
Tell an agent destructive · confirm first
Delete preference {id}.
Remove preference category {id} from the account.
GET /v2/preferences/modified-since/{date} List preferences modified since a date · Get modified preferences since date #
Ask an LLM
“Which preferences were changed since a certain date?”
“Can I get the preference changes made after a date?”
Tell an agent
List preferences modified since {date}.
Show preference changes made after {date}.
PUT /v2/contacts/{contactIdentifier}/preferences Set a contact's preference opt-ins · Set preferences for contact #
Ask an LLM
“How do I opt a contact into or out of preferences?”
“Can I change a contact's preference choices in bulk?”
Tell an agent
Set preferences for {contact} to {preferences}.
Opt {contact} into the preferences {preferences}.
GET /v2/contacts/{contactIdentifier}/preferences Show a contact's preference opt-ins · Get preferences for contact #
Ask an LLM
“Which preferences is a given contact opted into?”
“Can I see a contact's preference centre choices?”
Tell an agent
Show preferences for {contact}.
List the preference opt-ins of {contact}.
GET /v2/contacts/with-preference/{preferenceId} List contacts who opted in to a preference · Get contacts opted into a preference #
Ask an LLM
“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?”
Tell an agent
List contacts opted into preference {preference}.
Find contacts who opted in to {preference} since contact {min}.
GET /v2/contacts/with-preference/{preferenceId}/opt-ins-since/{date} List contacts whose opt-in changed recently · Get contacts with modified preference opt-in since date #
Ask an LLM
“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?”
Tell an agent
List contacts whose opt-in to preference {preference} changed since {date}.
Show opt-in changes on {preference} since {date}, starting from contact {min}.

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:dotdigital-preferences-and-subscriptions-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

dotdigital-preferences-and-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Preferences and subscriptions API
  version: 2.0.1
  description: 'Manage contact subscriptions, suppressions, and marketing preferences. Use this

    API to unsubscribe or resubscribe contacts (with or without a challenge email),

    bulk-suppress contacts, and query suppressed or unsubscribed contacts since a

    given date. Also provides full CRUD for preference categories and individual

    preferences, and endpoints to get or set the preference opt-in status for a

    specific contact.'
servers:
- url: https://{region}-api.dotdigital.com
  variables:
    region:
      default: r1
      enum:
      - r1
      - r2
      - r3
      description: The Dotdigital region id your account belongs to
security:
- basicAuth: []
tags:


# --- truncated at 32 KB (64 KB total) ---
# Full source: https://artifacts.apis.io/dotdigital/openapi/dotdigital-preferences-and-subscriptions-api-openapi.yml