Dotdigital API Program API

The ApiProgram API from Dotdigital — 6 operation(s) for apiprogram.

GitHub OpenAPI
Business capability
Marketing Management BC-400

Operations 6

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/programs/{id} Get an enrolment program · Gets a program by id #
Ask an LLM
“What does a particular enrolment program contain?”
“Can I look up one program by its ID?”
Tell an agent
Get enrolment program {id}.
Show the details of program {id}.
GET /v2/programs List enrolment programs · Gets all programs #
Ask an LLM
“Which enrolment programs exist?”
“Can I skip through all enrolment programs?”
Tell an agent
List all enrolment programs.
Show {select} for every enrolment program, skipping {skip}.
GET /v2/programs/enrolments/{status} List enrolments by status · Gets enrolments by status #
Ask an LLM
“Which enrolments are still pending?”
“Can I list enrolments with a given status?”
Tell an agent
List enrolments with status {status}.
Show {select} for enrolments where status is {status}, skipping {skip}.
GET /v2/programs/enrolments/{enrolmentId} Get an enrolment · Gets an enrolment by id #
Ask an LLM
“What are the details of one enrolment?”
“Can I fetch an enrolment by its ID?”
Tell an agent
Get enrolment {enrolmentId}.
Show enrolment {enrolmentId}.
GET /v2/programs/enrolments/{enrolmentId}/report-faults List contacts that failed enrolment · Gets all contacts that were not successfully enrolled, by enrolment ID #
Ask an LLM
“Which contacts failed to be enrolled in a program?”
“Can I see the fault report for an enrolment?”
Tell an agent
Get the fault report for enrolment {enrolmentId}.
List every contact that failed enrolment {enrolmentId}.
POST /v2/programs/enrolments Enrol contacts into a program · Creates an enrolment #
Ask an LLM
“How do I enrol a batch of contacts into a program?”
“How many enrolments can I create per hour?”
Tell an agent
Enrol contacts {contacts} into program {programId}.
Create enrolment {id} for program {programId} with status {status}.

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-apiprogram-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-apiprogram-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: apiconnector.com API Program API
  version: v2
servers:
- url: https://r1-api.dotdigital.com
tags:
- name: ApiProgram
paths:
  /v2/programs/{id}:
    get:
      tags:
      - ApiProgram
      summary: Gets a program by id
      operationId: ApiProgram_GetProgramById
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiProgram'
  /v2/programs:
    get:
      tags:
      - ApiProgram
      summary: Gets all programs
      operationId: ApiProgram_GetPrograms
      parameters:
      - name: select
        in: query
        schema:
          type: integer
          format: int32
          default: 1000
        x-position: 1
      - name: skip
        in: query
        schema:
          type: integer
          format: int32
          default: 0
        x-position: 2
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiProgram'
  /v2/programs/enrolments/{status}:
    get:
      tags:
      - ApiProgram
      summary: Gets enrolments by status
      operationId: ApiProgram_GetEnrolmentsByStatus
      parameters:
      - name: status
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/ApiProgramEnrolmentStatus'
        x-position: 1
      - name: select
        in: query
        schema:
          type: integer
          format: int32
          default: 1000
        x-position: 2
      - name: skip
        in: query
        schema:
          type: integer
          format: int32
          default: 0
        x-position: 3
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiProgramEnrolment'
  /v2/programs/enrolments/{enrolmentId}:
    get:
      tags:
      - ApiProgram
      summary: Gets an enrolment by id
      operationId: ApiProgram_GetEnrolmentById
      parameters:
      - name: enrolmentId
        in: path
        required: true
        schema:
          type: string
          format: guid
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiProgramEnrolment'
  /v2/programs/enrolments/{enrolmentId}/report-faults:
    get:
      tags:
      - ApiProgram
      summary: Gets all contacts that were not successfully enrolled, by enrolment ID
      operationId: ApiProgram_GetEnrolmentReport
      parameters:
      - name: enrolmentId
        in: path
        required: true
        schema:
          type: string
          format: guid
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /v2/programs/enrolments:
    post:
      tags:
      - ApiProgram
      summary: Creates an enrolment
      description: Please note that your account can only call this a maximum of 20 times per hour, across all programs.
      operationId: ApiProgram_PostEnrolment
      requestBody:
        x-name: enrolment
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiProgramEnrolment'
        required: true
        x-position: 1
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiProgramEnrolment'
components:
  schemas:
    ApiProgramEnrolmentStatus:
      type: string
      description: ''
      x-enumNames:
      - Processing
      - Finished
      - NotAvailableInThisVersion
      enum:
      - Processing
      - Finished
      - NotAvailableInThisVersion
    ApiProgramStatus:
      type: string
      description: ''
      x-enumNames:
      - Draft
      - Deactivated
      - Active
      - ReadOnly
      - NotAvailableInThisVersion
      enum:
      - Draft
      - Deactivated
      - Active
      - ReadOnly
      - NotAvailableInThisVersion
    ApiProgram:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/ApiProgramStatus'
        dateCreated:
          type: string
          format: date-time
    ApiProgramEnrolment:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          format: guid
        programId:
          type: integer
          format: int32
        status:
          $ref: '#/components/schemas/ApiProgramEnrolmentStatus'
        dateCreated:
          type: string
          format: date-time
        contacts:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        addressBooks:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
x-generator: NSwag v14.4.0.0 (NJsonSchema v11.3.2.0 (Newtonsoft.Json v13.0.0.0))
x-provenance:
  method: harvested
  publisher: Dotdigital
  source: https://r2-api.dotdigital.com/swagger/v1/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)