Dotdigital API Data Field API

The ApiDataField API from Dotdigital — 2 operation(s) for apidatafield.

GitHub OpenAPI

Operations 3

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/data-fields Create a data field · Creates a data field within the account #
Ask an LLM
“How do I add a new custom field to store a contact's loyalty tier?”
“Can I set a default value when creating a data field?”
Tell an agent
Create a data field named {name}.
Add a {type} data field called {name} with default {defaultValue}.
GET /v2/data-fields List data fields in the account · Lists the data fields within the account #
Ask an LLM
“Which custom data fields are defined in my account?”
“What field names and types can I use for contacts?”
Tell an agent
List all data fields in the account.
Show every custom field defined for contacts.
DELETE /v2/data-fields/{name} Delete a data field · Deletes a data field within the account #
Ask an LLM
“How do I remove a custom field I no longer use?”
“Can I delete a data field by its name?”
Tell an agent destructive · confirm first
Delete the data field {name}.
Remove the {name} data field from the account.

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-apidatafield-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-apidatafield-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: apiconnector.com API Data Field API
  version: v2
servers:
- url: https://r1-api.dotdigital.com
tags:
- name: ApiDataField
paths:
  /v2/data-fields:
    post:
      tags:
      - ApiDataField
      summary: Creates a data field within the account
      operationId: ApiDataField_CreateDataField
      requestBody:
        x-name: dataField
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiDataField'
        required: true
        x-position: 1
      responses:
        '201':
          description: ''
    get:
      tags:
      - ApiDataField
      summary: Lists the data fields within the account
      operationId: ApiDataField_GetDataFields
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiDataField'
  /v2/data-fields/{name}:
    delete:
      tags:
      - ApiDataField
      summary: Deletes a data field within the account
      operationId: ApiDataField_DeleteDataField
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDependencyResult'
        '409':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    ApiDataTypes:
      type: string
      description: ''
      x-enumNames:
      - String
      - Numeric
      - Date
      - Boolean
      - NotAvailableInThisVersion
      enum:
      - String
      - Numeric
      - Date
      - Boolean
      - NotAvailableInThisVersion
    ApiDependency:
      type: object
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/ApiBusinessObjectType'
        objectId:
          type: integer
          format: int32
    ApiBusinessObjectType:
      type: string
      description: ''
      x-enumNames:
      - Campaign
      - Survey
      - MicrositePage
      - DynamicContent
      - ContactLabel
      - SurveyQuestion
      - AddressBook
      - DynamicContentRule
      - CampaignLink
      - CampaignTemplate
      - NotAvailableInThisVersion
      enum:
      - Campaign
      - Survey
      - MicrositePage
      - DynamicContent
      - ContactLabel
      - SurveyQuestion
      - AddressBook
      - DynamicContentRule
      - CampaignLink
      - CampaignTemplate
      - NotAvailableInThisVersion
    ApiDependencyResult:
      type: object
      additionalProperties: false
      properties:
        dependencies:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApiDependency'
        result:
          type: boolean
    ApiDataFieldVisibility:
      type: string
      description: ''
      x-enumNames:
      - Private
      - Public
      - NotAvailableInThisVersion
      enum:
      - Private
      - Public
      - NotAvailableInThisVersion
    ApiDataField:
      type: object
      additionalProperties: false
      required:
      - name
      properties:
        name:
          type: string
          minLength: 1
        type:
          $ref: '#/components/schemas/ApiDataTypes'
        visibility:
          $ref: '#/components/schemas/ApiDataFieldVisibility'
        defaultValue: {}
    ProblemDetails:
      type: object
      additionalProperties: {}
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
        extensions:
          type: object
          additionalProperties: {}
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)