ActiveCampaign · Capability

ActiveCampaign SMS Broadcast API — Snapshots

ActiveCampaign SMS Broadcast API — Snapshots. 2 operations. Lead operation: ActiveCampaign Get Broadcast Snapshot. Self-contained Naftiko capability covering one Activecampaign business surface.

Run with Naftiko ActivecampaignSnapshots

What You Can Do

GET
Getbroadcastsnapshot — ActiveCampaign Get Broadcast Snapshot
/v1/sms/broadcasts/metrics/snapshot
POST
Getbroadcastsnapshotbyids — ActiveCampaign Get Broadcast Snapshot
/v1/sms/broadcasts/metrics/snapshot

MCP Tools

activecampaign-get-broadcast-snapshot

ActiveCampaign Get Broadcast Snapshot

read-only idempotent
activecampaign-get-broadcast-snapshot-2

ActiveCampaign Get Broadcast Snapshot

read-only

Capability Spec

sms-snapshots.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ActiveCampaign SMS Broadcast API — Snapshots
  description: 'ActiveCampaign SMS Broadcast API — Snapshots. 2 operations. Lead operation: ActiveCampaign Get Broadcast Snapshot.
    Self-contained Naftiko capability covering one Activecampaign business surface.'
  tags:
  - Activecampaign
  - Snapshots
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: sms-snapshots
    baseUri: https://{yourAccountName}.api-us1.com/api/3
    description: ActiveCampaign SMS Broadcast API — Snapshots business capability. Self-contained, no shared references.
    resources:
    - name: sms-broadcasts-metrics-snapshot
      path: /sms/broadcasts/metrics/snapshot
      operations:
      - name: getbroadcastsnapshot
        method: GET
        description: ActiveCampaign Get Broadcast Snapshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_date
          in: query
          type: string
          description: Start date for snapshot (YYYY-MM-DD)
        - name: end_date
          in: query
          type: string
          description: End date for snapshot (YYYY-MM-DD)
      - name: getbroadcastsnapshotbyids
        method: POST
        description: ActiveCampaign Get Broadcast Snapshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Api-Token
      value: '{{env.ACTIVECAMPAIGN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: sms-snapshots-rest
    port: 8080
    description: REST adapter for ActiveCampaign SMS Broadcast API — Snapshots. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sms/broadcasts/metrics/snapshot
      name: sms-broadcasts-metrics-snapshot
      description: REST surface for sms-broadcasts-metrics-snapshot.
      operations:
      - method: GET
        name: getbroadcastsnapshot
        description: ActiveCampaign Get Broadcast Snapshot
        call: sms-snapshots.getbroadcastsnapshot
        with:
          start_date: rest.start_date
          end_date: rest.end_date
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: getbroadcastsnapshotbyids
        description: ActiveCampaign Get Broadcast Snapshot
        call: sms-snapshots.getbroadcastsnapshotbyids
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sms-snapshots-mcp
    port: 9090
    transport: http
    description: MCP adapter for ActiveCampaign SMS Broadcast API — Snapshots. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: activecampaign-get-broadcast-snapshot
      description: ActiveCampaign Get Broadcast Snapshot
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sms-snapshots.getbroadcastsnapshot
      with:
        start_date: tools.start_date
        end_date: tools.end_date
      outputParameters:
      - type: object
        mapping: $.
    - name: activecampaign-get-broadcast-snapshot-2
      description: ActiveCampaign Get Broadcast Snapshot
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: sms-snapshots.getbroadcastsnapshotbyids
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.