Customer.io · Capability

Customer.io App API — Transactional

Customer.io App API — Transactional. 2 operations. Lead operation: Send a transactional email. Self-contained Naftiko capability covering one Customer Io business surface.

Run with Naftiko Customer IoTransactional

What You Can Do

POST
Sendtransactionalemail — Send a transactional email
/v1/send/email
POST
Sendtransactionalpush — Send a transactional push notification
/v1/send/push

MCP Tools

send-transactional-email

Send a transactional email

send-transactional-push-notification

Send a transactional push notification

Capability Spec

app-transactional.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Customer.io App API — Transactional
  description: 'Customer.io App API — Transactional. 2 operations. Lead operation: Send a transactional email. Self-contained
    Naftiko capability covering one Customer Io business surface.'
  tags:
  - Customer Io
  - Transactional
  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: app-transactional
    baseUri: https://api.customer.io/v1
    description: Customer.io App API — Transactional business capability. Self-contained, no shared references.
    resources:
    - name: send-email
      path: /send/email
      operations:
      - name: sendtransactionalemail
        method: POST
        description: Send a transactional email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: send-push
      path: /send/push
      operations:
      - name: sendtransactionalpush
        method: POST
        description: Send a transactional push notification
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.CUSTOMER_IO_API_KEY}}'
  exposes:
  - type: rest
    namespace: app-transactional-rest
    port: 8080
    description: REST adapter for Customer.io App API — Transactional. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/send/email
      name: send-email
      description: REST surface for send-email.
      operations:
      - method: POST
        name: sendtransactionalemail
        description: Send a transactional email
        call: app-transactional.sendtransactionalemail
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/send/push
      name: send-push
      description: REST surface for send-push.
      operations:
      - method: POST
        name: sendtransactionalpush
        description: Send a transactional push notification
        call: app-transactional.sendtransactionalpush
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: app-transactional-mcp
    port: 9090
    transport: http
    description: MCP adapter for Customer.io App API — Transactional. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: send-transactional-email
      description: Send a transactional email
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: app-transactional.sendtransactionalemail
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: send-transactional-push-notification
      description: Send a transactional push notification
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: app-transactional.sendtransactionalpush
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.