CM.com Shadow Token API

The ShadowToken API from CM.com — 2 operation(s) for shadowtoken.

GitHub OpenAPI

Operations 2

POST /shadow/messages/v1/tokens/{productToken}/accounts/{accountId}/messages Adds a campaign #
POST /messages/v1/tokens/{productToken}/accounts/{accountId}/messages/{messageId}/trigger Triggers a campaign using product token #

Documentation

📖
Documentation
https://docs.cm.com/conversational-ai/v1/api-reference
📖
Documentation
https://docs.cm.com/conversational-router/v1/api-reference
📖
Documentation
https://docs.cm.com/conversational-router/v2/api-reference
📖
Documentation
https://docs.cm.com/customer-engagement/v1/api-reference
📖
Documentation
https://docs.cm.com/email-gateway-api/v1/api-reference
📖
Documentation
https://docs.cm.com/halo/analytics/v1/api-reference
📖
Documentation
https://docs.cm.com/halo/core/v1/api-reference
📖
Documentation
https://docs.cm.com/live/entrance-management/v1/api-reference
📖
Documentation
https://docs.cm.com/live/entrance-management/v2/api-reference
📖
Documentation
https://docs.cm.com/live/event-apps/v1/api-reference
📖
Documentation
https://docs.cm.com/live/event-ticketing/v1/api-reference
📖
Documentation
https://docs.cm.com/live/ga-partner/v1/api-reference
📖
Documentation
https://docs.cm.com/live/museum-park-reseller/v1/api-reference
📖
Documentation
https://docs.cm.com/live/museum-park-scan/v1/api-reference
📖
Documentation
https://docs.cm.com/live/tables/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/cdp-integration/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/cms-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/crm-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/internal-comms-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/live-chat-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/marketplace/product-feed-integrations/v1/api-reference
📖
Documentation
https://docs.cm.com/messaging/business-messaging/v1/api-reference
📖
Documentation
https://docs.cm.com/messaging/channels-api/v1.2/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/cdp-events/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/cdp-profiles/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/email-campaigns/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/email-validation/v1/api-reference
📖
Documentation
https://docs.cm.com/mobile-marketing-cloud/mmc-campaigns/v1/api-reference
📖
Documentation
https://docs.cm.com/payments/online-payments/v1.27.22/api-reference
📖
Documentation
https://docs.cm.com/payments/pos-cloud-api/v1.9.0/api-reference
📖
Documentation
https://docs.cm.com/sign/v1/api-reference
📖
Documentation
https://docs.cm.com/sign/seal/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/iban-verification/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/id-scan/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/identity-hub/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/idin/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/mobile-identity/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/number-validation/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/otp/v1/api-reference
📖
Documentation
https://docs.cm.com/verification/otp/v2/api-reference
📖
Documentation
https://docs.cm.com/voice/audio-manager/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/cdr/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/company-profiles/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/distribution-groups/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/documents/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/number-requests/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/phone-numbers/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/sip-accounts/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/sip-thresholds/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/tts/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/voice-accounts/v1/api-reference
📖
Documentation
https://docs.cm.com/voice/voice-api/v2/api-reference
📖
Documentation
https://docs.cm.com/voice/voice-insights/v1/api-reference

Specifications

Schemas & 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/cm-com:cm-com-shadowtoken-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

cm-com-shadowtoken-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Messages Shadow Token API
servers:
- url: https://api.cm.com
tags:
- name: ShadowToken
paths:
  /shadow/messages/v1/tokens/{productToken}/accounts/{accountId}/messages:
    post:
      tags:
      - ShadowToken
      summary: Adds a campaign
      operationId: ShadowToken_AddMessageUsingProductTokenAsync
      parameters:
      - name: productToken
        in: path
        description: The product token.
        required: true
        schema:
          type: string
          format: uuid
      - name: accountId
        in: path
        description: The accountId.
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        $ref: '#/components/requestBodies/CM.Platform.Messages.Models.ApiMessageRequest2'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageResponse'
  /messages/v1/tokens/{productToken}/accounts/{accountId}/messages/{messageId}/trigger:
    post:
      tags:
      - ShadowToken
      summary: Triggers a campaign using product token
      operationId: ShadowToken_TriggerMessageUsingProductTokenAsync
      parameters:
      - name: productToken
        in: path
        description: The product token.
        required: true
        schema:
          type: string
          format: uuid
      - name: accountId
        in: path
        description: The accountId.
        required: true
        schema:
          type: string
          format: uuid
      - name: messageId
        in: path
        description: The Message id.
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipient'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipient'
          text/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipient'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipient'
        description: The recipients.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                format: int32
                type: integer
            text/json:
              schema:
                format: int32
                type: integer
            text/xml:
              schema:
                format: int32
                type: integer
components:
  schemas:
    CM.Platform.Messages.Models.ApiMessageRequest:
      type: object
      properties:
        isArchived:
          type: boolean
        body:
          type: string
        channels:
          type: array
          items:
            type: string
        countrySpecificSenders:
          type: object
          additionalProperties:
            type: string
        grouping:
          type: string
        ignoreUnsubscribes:
          type: boolean
        name:
          type: string
        recipients:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipient'
        recurrence:
          type: string
        content:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.Conversation'
        scheduledAtUtc:
          format: date-time
          type: string
        senderPreset:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        senders:
          type: array
          items:
            type: string
        spread:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiSpreadSettings'
        status:
          type: string
        tariff:
          format: int32
          type: integer
        modifiedAtUtc:
          format: date-time
          type: string
        updatedAtUtc:
          type: string
    CM.Platform.Messages.Models.ApiCountryErrorStats:
      type: object
      properties:
        country:
          type: string
        count:
          format: int32
          type: integer
        errorCode:
          format: int32
          type: integer
    CM.Platform.Messages.Models.ApiMessagePreviewSuggestion:
      type: object
      properties:
        type:
          type: string
        content:
          type: string
    CM.Platform.Messages.Models.ApiCountryStats:
      type: object
      properties:
        country:
          type: string
        accepted:
          format: int32
          type: integer
        converted:
          format: int32
          type: integer
        delivered:
          format: int32
          type: integer
        deliveryTime:
          format: double
          type: number
        dispatched:
          format: int32
          type: integer
        failed:
          format: int32
          type: integer
        messages:
          format: int32
          type: integer
        optedOut:
          format: int32
          type: integer
        optOutReceived:
          format: int32
          type: integer
        isRead:
          format: int32
          type: integer
        recipients:
          format: int32
          type: integer
    CM.Platform.Messages.Models.Viewlocation:
      type: object
      properties:
        latitude:
          type: string
        longitude:
          type: string
        label:
          type: string
    CM.Platform.Messages.Models.ApiMessagePreview:
      type: object
      properties:
        previews:
          type: array
          items:
            type: string
        footerPreview:
          type: string
        mediaPreviews:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.Media'
        titlePreviews:
          type: array
          items:
            type: string
        suggestionsPreview:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessagePreviewSuggestion'
        previewCode:
          type: string
        profileImage:
          type: string
        sender:
          type: string
        recipientsPerCountry:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipientsPerCountry'
        languages:
          type: array
          items:
            type: string
    CM.Platform.Messages.Models.ApiRecipient:
      type: object
      properties:
        contact:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        data:
          type: object
          additionalProperties:
            type: string
        group:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        msisdn:
          type: string
        pushId:
          type: string
    CM.Platform.Messages.Models.WATemplateComponentParameter:
      type: object
      properties:
        type:
          type: string
        media:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.Media'
        text:
          type: string
    CM.Platform.Messages.Models.WhatsAppTemplate:
      type: object
      properties:
        templateId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        languageCode:
          type: string
        components:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.WATemplateComponent'
    CM.Platform.Messages.Models.Suggestion:
      type: object
      properties:
        type:
          enum:
          - OpenUrl
          - CalendarEvent
          - Dial
          - ViewLocation
          - Reply
          - OpenAppPage
          type: string
        label:
          type: string
        phoneNumber:
          type: string
        postbackdata:
          type: string
        url:
          type: string
        viewLocation:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.Viewlocation'
    CM.Platform.Messages.Models.ApiMessageResponse:
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        isStatsComplete:
          type: boolean
        isArchived:
          type: boolean
        analytics:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageAnalytics'
        preview:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessagePreview'
        body:
          type: string
        channels:
          type: array
          items:
            type: string
        countrySpecificSenders:
          type: object
          additionalProperties:
            type: string
        grouping:
          type: string
        ignoreUnsubscribes:
          type: boolean
        name:
          type: string
        recipients:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiRecipient'
        recurrence:
          type: string
        content:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.Conversation'
        scheduledAtUtc:
          format: date-time
          type: string
        senderPreset:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        senders:
          type: array
          items:
            type: string
        spread:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiSpreadSettings'
        status:
          type: string
        tariff:
          format: int32
          type: integer
        modifiedAtUtc:
          format: date-time
          type: string
        createdAtUtc:
          format: date-time
          type: string
        createdBy:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        updatedAtUtc:
          type: string
    CM.Platform.Messages.Models.ApiSpreadSettings:
      type: object
      properties:
        durationMinutes:
          format: int32
          type: integer
        timeFrames:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiTimeFrame'
        until:
          format: date-time
          type: string
    CM.Platform.Messages.Models.WATemplateComponent:
      type: object
      properties:
        index:
          type: string
        type:
          type: string
        subType:
          type: string
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.WATemplateComponentParameter'
    CM.Platform.Messages.Models.ApiMessageAnalytics:
      type: object
      properties:
        accepted:
          format: int32
          type: integer
        converted:
          format: int32
          type: integer
        countryErrorStats:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiCountryErrorStats'
        countryStats:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiCountryStats'
        deduplicated:
          format: int32
          type: integer
        delivered:
          format: int32
          type: integer
        deliveryTime:
          format: double
          type: number
        dispatched:
          format: int32
          type: integer
        euroPrice:
          format: double
          type: number
        failed:
          format: int32
          type: integer
        localCurrency:
          type: string
        localPrice:
          format: double
          type: number
        messages:
          format: int32
          type: integer
        optedOut:
          format: int32
          type: integer
        isRead:
          format: int32
          type: integer
        optOutReceived:
          format: int32
          type: integer
        recipients:
          format: int32
          type: integer
        test:
          format: int32
          type: integer
        updatedAtUtc:
          format: date-time
          type: string
    CM.Platform.Messages.Models.Conversation:
      type: object
      properties:
        media:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.Media'
        whatsAppTemplate:
          $ref: '#/components/schemas/CM.Platform.Messages.Models.WhatsAppTemplate'
        text:
          type: string
        header:
          type: string
        footer:
          type: string
        suggestions:
          type: array
          items:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.Suggestion'
    CM.Platform.Messages.Models.ApiTimeFrame:
      type: object
      properties:
        days:
          type: array
          items:
            type: string
        startTime:
          type: string
        endTime:
          type: string
    CM.Platform.Messages.Models.Media:
      type: object
      properties:
        mediaName:
          type: string
        mediaUri:
          type: string
        mimeType:
          type: string
        mediaType:
          type: string
    CM.Platform.Messages.Models.ApiRecipientsPerCountry:
      type: object
      properties:
        count:
          format: int32
          type: integer
        countryCode:
          type: string
  requestBodies:
    CM.Platform.Messages.Models.ApiMessageRequest2:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageRequest'
        text/json:
          schema:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageRequest'
        text/xml:
          schema:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageRequest'
        application/x-www-form-urlencoded:
          schema:
            $ref: '#/components/schemas/CM.Platform.Messages.Models.ApiMessageRequest'
      description: The Message.
      required: true