Dotdigital API Image API

The API Image API from Dotdigital — 3 operation(s) for api image.

GitHub OpenAPI

Operations 4

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/image-folders Get the campaign image folder tree · Fetches the campaign image folder tree structure #
Ask an LLM
“How do I see all the image folders in my account?”
“What is the hierarchy of my campaign image folders?”
Tell an agent
Show me the campaign image folder tree.
List every image folder in my account.
GET /v2/image-folders/{id} Get an image folder · Gets an image folder by id #
Ask an LLM
“How do I look up an image folder by ID?”
“Can I fetch one image folder by its ID?”
Tell an agent
Get image folder {id}.
Show image folder {id}.
POST /v2/image-folders/{id} Create a campaign image folder · Creates a new campaign image folder #
Ask an LLM
“How do I create a new folder for campaign images?”
“Can I add child folders when creating an image folder?”
Tell an agent
Create image folder {id} named {name}.
Create image folder {id} with child folders {childFolders} called {name}.
POST /v2/image-folders/{folderId}/images Upload a campaign image to a folder · Uploads a new campaign image into the specified folder #
Ask an LLM
“How do I upload a new image into a campaign image folder?”
“Can I upload an image by its file data?”
Tell an agent
Upload {fileName} into image folder {folderId}.
Add image {fileName} to folder {folderId} using data {data}.

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-api-image-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-api-image-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: apiconnector.com API Image API
  version: v2
servers:
- url: https://r1-api.dotdigital.com
tags:
- name: API Image
paths:
  /v2/image-folders:
    get:
      tags:
      - API Image
      summary: Fetches the campaign image folder tree structure
      operationId: ApiImage_GetImageFolders
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiImageFolder'
  /v2/image-folders/{id}:
    get:
      tags:
      - API Image
      summary: Gets an image folder by id
      operationId: ApiImage_GetImageFolderById
      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/ApiImageFolder'
    post:
      tags:
      - API Image
      summary: Creates a new campaign image folder
      operationId: ApiImage_CreateImageFolder
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
        x-position: 1
      requestBody:
        x-name: folder
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiImageFolder'
        required: true
        x-position: 2
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiImageFolder'
  /v2/image-folders/{folderId}/images:
    post:
      tags:
      - API Image
      summary: Uploads a new campaign image into the specified folder
      operationId: ApiImage_UploadImage
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
        x-position: 1
      requestBody:
        x-name: file
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiFileMedia'
        required: true
        x-position: 2
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiImage'
components:
  schemas:
    ApiFileMedia:
      type: object
      additionalProperties: false
      properties:
        fileName:
          type:
          - string
          - 'null'
        data:
          type:
          - string
          - 'null'
          format: byte
    ApiImageFolder:
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
          minLength: 1
        childFolders:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApiImageFolder'
    ApiImage:
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        path:
          type:
          - string
          - 'null'
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)