Dotdigital SMS API

The SMS API from Dotdigital — 7 operation(s) for sms.

GitHub OpenAPI
Business capability
SMS & Messaging Apps AE-150.20

Operations 7

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 /cpaas/analytics/sms/tracking Get URL click tracking for SMS · Retrieves url tracking analytics #
Ask an LLM
“How many SMS links were clicked in a given period?”
“Can I break SMS URL tracking down by hour or day?”
Tell an agent
Get SMS URL tracking analytics from {from} to {to}.
Show SMS link click tracking between {from} and {to} by {by}.
GET /cpaas/analytics/sms/verify Get SMS verification analytics · Retrieves sms verify analytics #
Ask an LLM
“How many SMS verification codes were sent and delivered?”
“Can I see SMS verify results for a date range?”
Tell an agent
Get SMS verify analytics from {from} to {to}.
Show SMS verification results between {from} and {to} by {by}.
GET /cpaas/analytics/sms/inbound Get inbound SMS analytics · Retrieves inbound SMS analytics #
Ask an LLM
“How many inbound SMS messages did I receive?”
“Can I see inbound SMS volume for a period?”
Tell an agent
Get inbound SMS analytics from {from} to {to}.
Show inbound SMS volume between {from} and {to} by {by}.
GET /cpaas/analytics/sms/outbound Get outbound SMS analytics · Retrieves outbound SMS analytics #
Ask an LLM
“How many SMS messages did I send?”
“Can I see outbound SMS results for a date range?”
Tell an agent
Get outbound SMS analytics from {from} to {to}.
Show outbound SMS results between {from} and {to} by {by}.
GET /sms/dedicatedNumbers List dedicated SMS phone numbers · Get SMS phone numbers #
Ask an LLM
“Which dedicated phone numbers do I have for SMS?”
“What phone numbers are assigned to my SMS account?”
Tell an agent
List my dedicated SMS phone numbers.
Show the SMS numbers assigned to my account.
GET /sms/shortcodes List SMS shortcodes · Get SMS shortcodes #
Ask an LLM
“Which shortcodes are available for SMS?”
“What shortcodes have I registered for text messaging?”
Tell an agent
List my SMS shortcodes.
Show the shortcodes I can use for SMS.
GET /sms/keywords List SMS keywords · Get SMS keywords #
Ask an LLM
“Which keywords are set up for SMS replies?”
“What keywords can customers text to my SMS account?”
Tell an agent
List my SMS keywords.
Show the keywords registered for SMS replies.

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-sms-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-sms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dotdigital SMS API
  version: '1.0'
  description: 'Operations tagged SMS across 2 of this provider''s published API definitions: analytics-api.json, cpaas-api.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}-api.dotdigital.com
  variables:
    region:
      description: The Dotdigital region id your account belongs to
      enum:
      - r1
      - r2
      - r3
      default: r1
tags:
- name: SMS
paths:
  /cpaas/analytics/sms/tracking:
    get:
      tags:
      - SMS
      summary: Retrieves url tracking analytics
      parameters:
      - name: from
        in: query
        description: The date time to query from in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: The date time to query up to (but not including) in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: by
        in: query
        description: The time period to aggregate by
        required: false
        schema:
          type: string
          enum:
          - hour
          - day
          - month
          - year
      responses:
        '200':
          description: The count of sent urls and clicks for a specific period
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/smsTrackingAnalytics'
        '400':
          description: Validation errors were found
        '404':
          description: The API Space was not
      security:
      - basicAuth: []
      operationId: getCpaasAnalyticsSmsTracking
      x-operation-id-source: derived
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          description: The Dotdigital region id your account belongs to
          enum:
          - r1
          - r2
          - r3
          default: r1
  /cpaas/analytics/sms/verify:
    get:
      tags:
      - SMS
      summary: Retrieves sms verify analytics
      parameters:
      - name: from
        in: query
        description: The date time to query from in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: The date time to query up to (but not including) in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: by
        in: query
        description: The time period to aggregate by
        required: false
        schema:
          type: string
          enum:
          - hour
          - day
          - month
          - year
      responses:
        '200':
          description: The count of notVerified, verified, expired and locked verify calls
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/smsVerifyAnalytics'
        '400':
          description: Validation errors were found
        '404':
          description: The API Space was not
      security:
      - basicAuth: []
      operationId: getCpaasAnalyticsSmsVerify
      x-operation-id-source: derived
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          description: The Dotdigital region id your account belongs to
          enum:
          - r1
          - r2
          - r3
          default: r1
  /cpaas/analytics/sms/inbound:
    get:
      tags:
      - SMS
      summary: Retrieves inbound SMS analytics
      parameters:
      - name: from
        in: query
        description: The date time to query from in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: The date time to query up to (but not including) in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: by
        in: query
        description: The time period to aggregate by
        required: false
        schema:
          type: string
          enum:
          - hour
          - day
          - month
          - year
      responses:
        '200':
          description: The count of received messages for a specific period
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/smsInboundAnalytics'
        '400':
          description: Validation errors were found
        '404':
          description: The API Space was not
      security:
      - basicAuth: []
      operationId: getCpaasAnalyticsSmsInbound
      x-operation-id-source: derived
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          description: The Dotdigital region id your account belongs to
          enum:
          - r1
          - r2
          - r3
          default: r1
  /cpaas/analytics/sms/outbound:
    get:
      tags:
      - SMS
      summary: Retrieves outbound SMS analytics
      parameters:
      - name: from
        in: query
        description: The date time to query from in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: The date time to query up to (but not including) in ISO 8601 format UTC
        required: true
        schema:
          type: string
          format: date-time
      - name: by
        in: query
        description: The time period to aggregate by
        required: false
        schema:
          type: string
          enum:
          - hour
          - day
          - month
          - year
      responses:
        '200':
          description: The count of submitted, delivered, filtered and undeliverable messages for a specific period
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/smsOutboundAnalytics'
        '400':
          description: Validation errors were found
        '404':
          description: The API Space was not
      security:
      - basicAuth: []
      operationId: getCpaasAnalyticsSmsOutbound
      x-operation-id-source: derived
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          description: The Dotdigital region id your account belongs to
          enum:
          - r1
          - r2
          - r3
          default: r1
  /sms/dedicatedNumbers:
    get:
      summary: Get SMS phone numbers
      description: ''
      operationId: get-sms-phone-number
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '[

                    {

                    "number": "447123123123",

                    "countryIsoCode": "GBR"

                    }

                    ]'
              schema:
                type: array
                items:
                  type: object
                  properties:
                    number:
                      type: string
                      examples:
                      - '447123123123'
                    countryIsoCode:
                      type: string
                      examples:
                      - GBR
        '401':
          description: '401'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - SMS
      security:
      - sec0: []
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          default: r1
          enum:
          - r1
          - r2
          - r3
          description: The Dotdigital region id your account belongs to
  /sms/shortcodes:
    get:
      summary: Get SMS shortcodes
      description: ''
      operationId: get-sms-shortcodes
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '[

                    {

                    "number": "123123",

                    "keyword": "",

                    "countryIsoCode": "GBR"

                    }

                    ]'
              schema:
                type: array
                items:
                  type: object
                  properties:
                    number:
                      type: string
                      examples:
                      - '123123'
                    keyword:
                      type: string
                      examples:
                      - ''
                    countryIsoCode:
                      type: string
                      examples:
                      - GBR
        '401':
          description: '401'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - SMS
      security:
      - sec0: []
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          default: r1
          enum:
          - r1
          - r2
          - r3
          description: The Dotdigital region id your account belongs to
  /sms/keywords:
    get:
      summary: Get SMS keywords
      description: ''
      operationId: get-sms-keywords
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '[

                    {

                    "number": "123123",

                    "keyword": "TEST",

                    "countryIsoCode": "GBR"

                    }

                    ]'
              schema:
                type: array
                items:
                  type: object
                  properties:
                    number:
                      type: string
                      examples:
                      - '123123'
                    keyword:
                      type: string
                      examples:
                      - TEST
                    countryIsoCode:
                      type: string
                      examples:
                      - GBR
        '401':
          description: '401'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - SMS
      security:
      - sec0: []
    servers:
    - url: https://{region}-api.dotdigital.com
      variables:
        region:
          default: r1
          enum:
          - r1
          - r2
          - r3
          description: The Dotdigital region id your account belongs to
components:
  schemas:
    smsVerifyAnalytics:
      type: object
      properties:
        date:
          type: string
          description: The start date and time for the period
        notVerifed:
          type: integer
          description: The number of verify calls that were not verified
          format: int64
        verified:
          type: integer
          description: The number of verify calls that were successfully verified
          format: int64
        expired:
          type: integer
          description: The number of verify calls that expired
          format: int64
        locked:
          type: integer
          description: The number of verify calls that locked out
          format: int64
    smsInboundAnalytics:
      type: object
      properties:
        date:
          type: string
          description: The start date and time for the period
        received:
          type: integer
          description: The number of messages received in the period
          format: int64
    smsOutboundAnalytics:
      type: object
      properties:
        date:
          type: string
          description: The start date and time for the period
        submitted:
          type: integer
          description: The number of messages submitted in the period
          format: int64
        delivered:
          type: integer
          description: The number of messages delivered to handsets in the period
          format: int64
        filtered:
          type: integer
          description: The number of messages filtered out in the messaging platform in the period
          format: int64
        undeliverable:
          type: integer
          description: The number of messages deemed undeliverable in the period
          format: int64
    smsTrackingAnalytics:
      type: object
      properties:
        date:
          type: string
          description: The start date and time for the period
        sent:
          type: integer
          description: The number of trackings urls sent
          format: int64
        clicks:
          type: integer
          description: The number of clicks recorded for the url
          format: int64
        uniqueClicks:
          type: integer
          description: The number of clicks recorded by unique individuals
          format: int64
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    sec0:
      type: http
      scheme: basic
x-refined-from:
- analytics-api.json
- cpaas-api.json
x-readme:
  headers: []
  explorer-enabled: true
  proxy-enabled: true
x-readme-fauxas: true
x-samples-languages:
- curl
- csharp
- java
- javascript
- node
- python
- php
- ruby