Customer.io · Capability

Customer.io Track API — Batch

Customer.io Track API — Batch. 1 operations. Lead operation: Batch entity operations. Self-contained Naftiko capability covering one Customer Io business surface.

Run with Naftiko Customer IoBatch

What You Can Do

POST
Trackbatch — Batch entity operations
/v1//v2/batch

MCP Tools

batch-entity-operations

Batch entity operations

Capability Spec

track-batch.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Customer.io Track API — Batch
  description: 'Customer.io Track API — Batch. 1 operations. Lead operation: Batch entity operations. Self-contained Naftiko
    capability covering one Customer Io business surface.'
  tags:
  - Customer Io
  - Batch
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CUSTOMER_IO_API_KEY: CUSTOMER_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: track-batch
    baseUri: https://track.customer.io/api/v1
    description: Customer.io Track API — Batch business capability. Self-contained, no shared references.
    resources:
    - name: ..-v2-batch
      path: ../v2/batch
      operations:
      - name: trackbatch
        method: POST
        description: Batch entity operations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.CUSTOMER_IO_USER}}'
      password: '{{env.CUSTOMER_IO_PASS}}'
  exposes:
  - type: rest
    namespace: track-batch-rest
    port: 8080
    description: REST adapter for Customer.io Track API — Batch. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1//v2/batch
      name: v2-batch
      description: REST surface for ..-v2-batch.
      operations:
      - method: POST
        name: trackbatch
        description: Batch entity operations
        call: track-batch.trackbatch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: track-batch-mcp
    port: 9090
    transport: http
    description: MCP adapter for Customer.io Track API — Batch. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: batch-entity-operations
      description: Batch entity operations
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: track-batch.trackbatch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.