Dotdigital API Contact API

The ApiContact API from Dotdigital — 43 operation(s) for apicontact.

GitHub OpenAPI
Business capability
Customer Data Management BC-420.10

Operations 54

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

GET /v2/contacts/suppressed-since/{date} List contacts suppressed since a date · Gets a list of suppressed contacts after a given date along with the reason for… #
Ask an LLM
“Which contacts were suppressed after a certain date?”
“Can I get the suppression reason for contacts suppressed since a date?”
Tell an agent
List contacts suppressed since {date}.
Show suppressed contacts after {date} with {select}.
GET /v2/contacts/unsubscribed-since/{date} List contacts who unsubscribed since a date · Gets a list of unsubscribed contacts who unsubscribed after a given date #
Ask an LLM
“Who unsubscribed from my emails after a given date?”
“Can I get unsubscribed contacts since a date?”
Tell an agent
List contacts who unsubscribed since {date}.
Show unsubscribed contacts after {date} with {select}.
GET /v2/contacts/modified-since/{date} List contacts modified since a date · Gets a list of modified contacts after a specified date #
Ask an LLM
“Which contacts were changed after a certain date?”
“Can I get modified contacts since a date with full data?”
Tell an agent
List contacts modified since {date}.
Show modified contacts after {date} with full data {withFullData}.
GET /v2/contacts/created-since/{date} List contacts created since a date · Gets a list of created contacts after a specified date #
Ask an LLM
“Who were the new contacts added since a date?”
“Can I get new contacts created since a date with full data?”
Tell an agent
List contacts created since {date}.
Show new contacts after {date} with full data {withFullData}.
GET /v2/contacts List all contacts in the account · Gets a list of all contacts in the account #
Ask an LLM
“What contacts are in my account?”
“Can I get all contacts with full data?”
Tell an agent
List all contacts in my account.
Show all contacts with full data {withFullData}.
POST /v2/contacts Create a contact · Creates a contact #
Ask an LLM
“How do I add a new subscriber to my account?”
“Can I set an opt-in type and email type when creating a contact?”
Tell an agent
Create a contact with email {email}.
Add {email} as a subscriber with opt-in type {optInType}.
GET /v2/contacts/{id} Get a contact by ID · Gets a contact by ID. Unsubscribed or suppressed contacts will not be retrieved #
Ask an LLM
“How do I look up a contact's details by ID?”
“Will unsubscribed or suppressed contacts come back when I fetch them by ID?”
Tell an agent
Get contact {id}.
Show the details of contact {id}.
PUT /v2/contacts/{id} Update a contact · Updates a contact #
Ask an LLM
“How do I change a contact's email address?”
“Can I update a contact's data fields and status?”
Tell an agent
Update contact {id} with email {email}.
Change contact {id} data fields to {dataFields}.
DELETE /v2/contacts/{id} Delete a contact · Deletes a contact #
Ask an LLM
“How do I permanently remove a contact from my account?”
“Can I delete a contact by ID?”
Tell an agent destructive · confirm first
Delete contact {id}.
Remove contact {id} from my account.
GET /v2/contacts/{id}/with-consent Get a contact with consent records · Gets a contact by ID with consent records #
Ask an LLM
“How do I see a contact's consent history?”
“Can I fetch a contact's consent records along with their details?”
Tell an agent
Get contact {id} with consent records.
Show consent history for contact {id}.
PUT /v2/contacts/{id}/with-consent Update a contact with consent records · Updates a contact with consent records #
Ask an LLM
“How do I update a contact and their consent fields at the same time?”
“Can I change consent fields on an existing contact?”
Tell an agent
Update contact {id} with consent fields {consentFields}.
Change consent fields {consentFields} on contact {id}.
GET /v2/contacts/{email} Get a contact by email address · Gets a contact by email address #
Ask an LLM
“How do I find a contact using their email address?”
“Can I look up a contact by email without knowing their ID?”
Tell an agent
Get the contact with email {email}.
Look up contact {email} by email address.
GET /v2/contacts/{email}/with-consent Look up a contact and their consent records · Gets a contact by email address with consent records #
Ask an LLM
“Can I see a subscriber's email and consent history?”
“What does consent look like for a particular email?”
Tell an agent
Get the contact with consent records for {email}.
Show {email} and whether they consented to marketing, with dates.
POST /v2/contacts/with-consent Add a new contact with consent records · Creates a contact with consent records #
Ask an LLM
“How do I add a new subscriber with their consent?”
“Can I record consent fields when creating a contact?”
Tell an agent
Create a contact with consent records {consentFields} from {contact}.
Add {contact} to our contact list and record their consent.
POST /v2/contacts/with-consent-and-preferences Add a new contact with consent and preferences · Creates a contact with consent and preference records #
Ask an LLM
“Can I set preferences as well as consent when creating a contact?”
“How do I capture a new subscriber's preferred locale and language?”
Tell an agent
Create contact {contact} with consent {consentFields} and preferences {preferences}.
Subscribe {contact} to our newsletters and store their language {preferences}.
PUT /v2/contacts/{id}/with-consent-and-preferences Update a contact with consent and preferences · Updates a contact with consent and preference records #
Ask an LLM
“How do I update a contact's consent and preferences together?”
“Can I change both consent and preferences on an existing contact?”
Tell an agent
Update contact {id} with consent {consentFields} and preferences {preferences}.
Change consent {consentFields} and preferences {preferences} on contact {id}.
DELETE /v2/address-books/{addressBookId}/contacts/{contactId} Remove a contact from a list · Deletes a contact from a given list #
Ask an LLM
“How do I remove a contact from a specific address book?”
“Can I delete a contact from one list without deleting them from the account?”
Tell an agent destructive · confirm first
Remove contact {contactId} from address book {addressBookId}.
Delete {contactId} from list {addressBookId}.
DELETE /v2/address-books/{addressBookId}/contacts Clear all contacts from an address book · Deletes all contacts from a given list #
Ask an LLM
“How do I empty an address book of every contact?”
“Can I remove all contacts from a list at once?”
Tell an agent destructive · confirm first
Clear all contacts from address book {addressBookId}.
Empty list {addressBookId} of every contact.
GET /v2/address-books/{addressBookId}/contacts List contacts in an address book · Gets a list of contacts in a given list #
Ask an LLM
“What contacts are in a particular address book?”
“Can I get the full data for every contact in a list?”
Tell an agent
List contacts in address book {addressBookId}.
Show all contacts in list {addressBookId} with full data {withFullData}.
POST /v2/address-books/{addressBookId}/contacts Add a contact to an address book · Adds a contact to a given list #
Ask an LLM
“How do I add an existing contact to an address book?”
“Can I add a contact to a list by email address?”
Tell an agent
Add {email} to address book {addressBookId}.
Put contact {email} into list {addressBookId}.
POST /v2/address-books/{addressBookId}/contacts/delete-all Delete every contact from a list · Deletes all contacts from a given list #
Ask an LLM
“How do I wipe all contacts out of an address book?”
“Can I clear an entire list of subscribers in one call?”
Tell an agent destructive · confirm first
Delete all contacts from address book {addressBookId}.
Clear every subscriber out of list {addressBookId}.
POST /v2/address-books/{addressBookId}/contacts/delete Delete selected contacts from a list · Deletes multiple contacts from a list. #
Ask an LLM
“How do I remove specific contacts from an address book?”
“Can I delete several subscribers from a list at once?”
Tell an agent destructive · confirm first
Delete these contacts from address book {addressBookId}.
Remove the listed subscribers from list {addressBookId}.
GET /v2/contacts/deletion/{deletionRequestId} Check a bulk contact deletion · Gets the status of a previously started request to delete contacts from a list #
Ask an LLM
“Has my bulk contact deletion finished?”
“What's the status of a contact deletion request I started earlier?”
Tell an agent
Get the progress of contact deletion request {deletionRequestId}.
Check whether bulk deletion {deletionRequestId} succeeded.
GET /v2/address-books/{addressBookId}/contacts/modified-since/{date} List contacts modified since a date · Gets a list of contacts who were modified since a given date, in a given list #
Ask an LLM
“Which contacts in a list were updated since a given date?”
“Can I get only the modified subscribers from an address book?”
Tell an agent
List contacts modified since {date} in address book {addressBookId}.
Show {select} contacts in {addressBookId} changed since {date}.
GET /v2/address-books/{addressBookId}/contacts/unsubscribed-since/{date} List contacts who unsubscribed from a list · Gets a list of contacts who have unsubscribed from a given list #
Ask an LLM
“Who unsubscribed from a particular address book?”
“Can I get the list of people who left a single list?”
Tell an agent
List contacts who unsubscribed from address book {addressBookId} since {date}.
Show {select} unsubscribers from {addressBookId} after {date}.
POST /v2/contacts/unsubscribe Unsubscribe a contact from the account · Unsubscribes contact from account #
Ask an LLM
“How do I unsubscribe someone from my whole account?”
“Can I suppress a contact from all lists at once?”
Tell an agent destructive · confirm first
Unsubscribe {email} from my account.
Suppress {email} from the account with opt-in {optInType}.
PUT /v2/contacts/suppress-contacts Suppress a batch of contacts · Suppresses a batch of contacts from account #
Ask an LLM
“How do I suppress a batch of contacts from my account?”
“Can I block several contacts at once?”
Tell an agent destructive · confirm first
Suppress these contacts from my account.
Block the listed subscribers from the account.
POST /v2/address-books/{addressBookId}/contacts/unsubscribe Unsubscribe a contact from one list · Unsubscribes contact from a given list #
Ask an LLM
“How do I remove a contact from just one address book?”
“Can I unsubscribe someone from a single list?”
Tell an agent destructive · confirm first
Unsubscribe {email} from address book {addressBookId}.
Remove {email} from list {addressBookId} only.
POST /v2/contacts/resubscribe Resubscribe an unsubscribed contact · Resubscribes a previously unsubscribed contact #
Ask an LLM
“How do I bring back a contact who unsubscribed from my account?”
“Can I resubscribe someone without a challenge?”
Tell an agent
Resubscribe {unsubscribedContact} to my account.
Bring back {unsubscribedContact} to the account in locale {preferredLocale}.
POST /v2/contacts/resubscribe-with-no-challenge Resubscribe an unsubscribed contact without a challenge · Resubscribes a previously unsubscribed contact with no challenge #
Ask an LLM
“Can I resubscribe someone without sending them a confirmation challenge?”
“Is there a no-challenge resubscribe for account-wide unsubscribes?”
Tell an agent
Resubscribe {unsubscribedContact} to my account with no challenge.
Restore {unsubscribedContact} to the account without a challenge.
POST /v2/address-books/{addressBookId}/contacts/resubscribe Resubscribe an unsubscribed contact to a list · Resubscribes a previously unsubscribed contact to a given list #
Ask an LLM
“How do I resubscribe someone to a single address book?”
“Can I bring back a contact to one list only?”
Tell an agent
Resubscribe {unsubscribedContact} to address book {addressBookId}.
Add {unsubscribedContact} back to list {addressBookId}.
POST /v2/address-books/{addressBookId}/contacts/resubscribe-with-no-challenge Resubscribe an unsubscribed contact without a challenge · Resubscribes a previously unsubscribed contact to a given list with no challenge #
Ask an LLM
“Can I bring someone back to a list without resending the challenge?”
“How do I restore an unsubscribed contact to a mailing list?”
Tell an agent
Resubscribe {unsubscribedContact} to address book {addressBookId} without a challenge.
Re-add {unsubscribedContact} to {addressBookId} with locale {preferredLocale}.
POST /v2/contacts/transactional-data/{collectionName} Add transactional data to a contact · Adds a single piece of transactional data to a contact #
Ask an LLM
“How do I store a single transactional event on a contact?”
“Can I add one piece of transactional data to a contact by key?”
Tell an agent
Add transactional data {json} to contact {contactIdentifier} in collection {collectionName}.
Store {json} as transactional data {key} on {contactIdentifier} in {collectionName}.
GET /v2/contacts/transactional-data/{collectionName} Get transactional data from a collection · Api contact get transactional data by collection from id #
Ask an LLM
“How do I read transactional data stored on contacts?”
“Can I fetch a batch of transactional data by collection name?”
Tell an agent
Get transactional data from collection {collectionName}.
Fetch {take} records from collection {collectionName} starting at {fromId}.
POST /v2/contacts/transactional-data/import/{collectionName} Import transactional data into a collection · Adds multiple pieces of transactional data to contacts asynchronously… #
Ask an LLM
“How do I bulk import transactional data into a collection?”
“Can I load many transactional events into a collection at once?”
Tell an agent
Import transactional data into collection {collectionName}.
Start a bulk load of transactional events into {collectionName}.
GET /v2/contacts/transactional-data/import/{importId} Check a transactional data import · Gets the import status of a previously started transactional import #
Ask an LLM
“Has my transactional data import finished?”
“What's the status of a transactional import I started?”
Tell an agent
Get the progress of transactional data import {importId}.
Check whether transactional import {importId} succeeded.
GET /v2/contacts/transactional-data/import/{importId}/report Get a transactional data import report · Gets a report with statistics about what was successfully imported, and what… #
Ask an LLM
“How many records were successfully imported in a transactional import?”
“Can I see a report of what a transactional data import imported?”
Tell an agent
Get the report for transactional data import {importId}.
Show import statistics for transactional import {importId}.
POST /v2/contacts/transactional-data/{collectionName}/{key} Replace transactional data by key · Replaces a piece of transactional data by key (logicall equivalent to a delete… #
Ask an LLM
“How do I overwrite a piece of transactional data by key?”
“Can I update a single transactional event on a contact?”
Tell an agent
Replace transactional data {key} in collection {collectionName} with {json}.
Overwrite the {key} transactional record in {collectionName}.
DELETE /v2/contacts/transactional-data/{collectionName}/{key} Delete transactional data by key · Deletes a piece of transactional data by key #
Ask an LLM
“How do I remove a single piece of transactional data by key?”
“Can I delete one transactional event from a collection?”
Tell an agent destructive · confirm first
Delete transactional data {key} from collection {collectionName}.
Remove the {key} transactional record in {collectionName}.
GET /v2/contacts/transactional-data/{collectionName}/{key} Get one transactional data record by its key · Gets a piece of transactional data by key #
Ask an LLM
“Can I fetch a single transactional record by its key?”
“What is stored under a specific key in a transactional data collection?”
Tell an agent
Get the transactional record with key {key} from the {collectionName} collection.
Look up the single item keyed {key} in {collectionName} and show its contents.
PUT /v2/contacts/transactional-data/{collectionName}/empty Empty a transactional data collection · Removes all items from a transactional data collection #
Ask an LLM
“How do I clear out all the items in a transactional data collection?”
“Can I wipe a transactional data collection for a contact?”
Tell an agent destructive · confirm first
Empty transactional data collection {collectionName}.
Clear every item from {collectionName} for this contact.
DELETE /v2/contacts/{id}/transactional-data/{collectionName} Delete a contact's transactional data · Deletes all transactional data for a contact #
Ask an LLM
“How do I delete all transactional data for a contact?”
“Can I wipe a contact's transactional data collection?”
Tell an agent destructive · confirm first
Delete the transactional data in {collectionName} for contact {id}.
Wipe {collectionName} for contact {id}.
GET /v2/contacts/{id}/transactional-data/{collectionName} Get a contact's transactional data · Gets a list of all transactional data for a contact (100 most recent only) #
Ask an LLM
“How do I read the transactional data stored for a contact?”
“What's the most recent transactional data for a contact?”
Tell an agent
Get the transactional data in {collectionName} for contact {id}.
Show the last 100 transactional items for contact {id} in {collectionName}.
DELETE /v2/contacts/{email}/transactional-data/{collectionName} Delete all transactional data for a contact · Deletes all transactional data for a contact #
Ask an LLM
“Can I clear all stored transactional data for a subscriber?”
“What removes a contact's transactional records entirely?”
Tell an agent destructive · confirm first
Delete all {collectionName} transactional data for {email}.
Erase every {collectionName} record stored for {email}.
GET /v2/contacts/{email}/transactional-data/{collectionName} List a contact's recent transactional data · Gets a list of all transactional data for a contact (100 most recent only) #
Ask an LLM
“What transactional data is stored for a given subscriber?”
“How many recent transactional records does a contact have?”
Tell an agent
Show the {collectionName} transactional data for {email}.
List up to 100 recent {collectionName} records for {email}.
GET /v2/transactional-data/{collectionName} List account-wide transactional data · Gets a list of account scoped transactional data for given collection #
Ask an LLM
“How do I list all the account-scoped transactional data in a collection?”
“Can I page through account-wide transactional data?”
Tell an agent
List account scoped transactional data in {collectionName}.
Show {collectionName} account-wide transactional data, skipping {skip}.
GET /v2/contacts/transactional-data-collections List transactional data collections · Gets a list of transactional data collections #
Ask an LLM
“What transactional data collections exist in my account?”
“Which collections can I store transactional data in?”
Tell an agent
List all transactional data collections.
Show transactional data collections matching {select}.
GET /v2/contacts/score List contact scoring data · Gets a list of contact scoring data #
Ask an LLM
“How do I get the scoring data for all my contacts?”
“Which contacts have the highest scores?”
Tell an agent
List contact scoring data.
Show contact scores matching {select}, skipping {skip}.
GET /v2/address-books/{addressBookId}/contacts/score List contact scoring data in an address book · Gets a list of contact scoring data in specified list #
Ask an LLM
“How do I see scoring data for contacts in a particular list?”
“Can I get the scores of everyone in one address book?”
Tell an agent
List contact scoring data in address book {addressBookId}.
Show scores of contacts in list {addressBookId}, skipping {skip}.
GET /v2/contacts/score/modified-since/{date} List contact scores modified since a date · Gets a list of contact scoring data ordered by modified date #
Ask an LLM
“How do I get contact scores that changed after a certain date?”
“Can I see only recently modified contact scores?”
Tell an agent
List contact scoring data modified since {date}.
Show contact scores changed after {date}, skipping {skip}.
GET /v2/contacts/{email}/score Get a contact's score by email · Gets particular contact scoring data #
Ask an LLM
“How do I look up one contact's score when I only have their email?”
“What is a particular contact's score?”
Tell an agent
Get the score for contact {email}.
Show the score of {email}.
GET /v2/contacts/{id}/score Get a contact's scoring data · Gets particular contact scoring data #
Ask an LLM
“Can I see the scoring data for a particular contact?”
“What are the score details returned for a subscriber?”
Tell an agent
Get the scoring data for contact {id}.
Show me the contact scoring numbers for {id}.
GET /v2/contacts/count Count all contacts in the account · Gets the total number of contacts in an account #
Ask an LLM
“How many contacts do I have in total?”
“What is the total number of contacts in my account?”
Tell an agent
Count all contacts in the account.
Tell me how many contacts exist.
GET /v2/contacts/retrieve-collection Retrieve several contacts by ID or email · Gets a batch of contacts by ID or email address #
Ask an LLM
“How do I fetch a batch of contacts from their IDs or emails?”
“Can I retrieve full contact records for a list of addresses?”
Tell an agent
Retrieve contacts {contacts}.
Get full contact data for {contacts}, with full data {withFullData}.

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-apicontact-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-apicontact-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: apiconnector.com API Contact API
  version: v2
servers:
- url: https://r1-api.dotdigital.com
tags:


# --- truncated at 32 KB (49 KB total) ---
# Full source: https://artifacts.apis.io/dotdigital/openapi/dotdigital-apicontact-api-openapi.yml