Customer.io · Capability

Customer.io Pipelines API — Screen

Customer.io Pipelines API — Screen. 1 operations. Lead operation: Track a screen view. Self-contained Naftiko capability covering one Customer Io business surface.

Run with Naftiko Customer IoScreen

What You Can Do

POST
Trackscreenview — Track a screen view
/v1/screen

MCP Tools

track-screen-view

Track a screen view

Capability Spec

pipelines-screen.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Customer.io Pipelines API — Screen
  description: 'Customer.io Pipelines API — Screen. 1 operations. Lead operation: Track a screen view. Self-contained Naftiko
    capability covering one Customer Io business surface.'
  tags:
  - Customer Io
  - Screen
  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: pipelines-screen
    baseUri: https://cdp.customer.io/v1
    description: Customer.io Pipelines API — Screen business capability. Self-contained, no shared references.
    resources:
    - name: screen
      path: /screen
      operations:
      - name: trackscreenview
        method: POST
        description: Track a screen view
        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: pipelines-screen-rest
    port: 8080
    description: REST adapter for Customer.io Pipelines API — Screen. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/screen
      name: screen
      description: REST surface for screen.
      operations:
      - method: POST
        name: trackscreenview
        description: Track a screen view
        call: pipelines-screen.trackscreenview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pipelines-screen-mcp
    port: 9090
    transport: http
    description: MCP adapter for Customer.io Pipelines API — Screen. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: track-screen-view
      description: Track a screen view
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pipelines-screen.trackscreenview
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.