Customer.io · Capability

Customer.io Track API — Customers

Customer.io Track API — Customers. 4 operations. Lead operation: Identify a customer. Self-contained Naftiko capability covering one Customer Io business surface.

Run with Naftiko Customer IoCustomers

What You Can Do

PUT
Identifycustomer — Identify a customer
/v1/customers/{identifier}
DELETE
Deletecustomer — Delete a customer
/v1/customers/{identifier}
POST
Suppresscustomer — Suppress a customer
/v1/customers/{identifier}/suppress
POST
Unsuppresscustomer — Unsuppress a customer
/v1/customers/{identifier}/unsuppress

MCP Tools

identify-customer

Identify a customer

idempotent
delete-customer

Delete a customer

idempotent
suppress-customer

Suppress a customer

unsuppress-customer

Unsuppress a customer

Capability Spec

track-customers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Customer.io Track API — Customers
  description: 'Customer.io Track API — Customers. 4 operations. Lead operation: Identify a customer. Self-contained Naftiko
    capability covering one Customer Io business surface.'
  tags:
  - Customer Io
  - Customers
  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-customers
    baseUri: https://track.customer.io/api/v1
    description: Customer.io Track API — Customers business capability. Self-contained, no shared references.
    resources:
    - name: customers-identifier
      path: /customers/{identifier}
      operations:
      - name: identifycustomer
        method: PUT
        description: Identify a customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletecustomer
        method: DELETE
        description: Delete a customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: customers-identifier-suppress
      path: /customers/{identifier}/suppress
      operations:
      - name: suppresscustomer
        method: POST
        description: Suppress a customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: customers-identifier-unsuppress
      path: /customers/{identifier}/unsuppress
      operations:
      - name: unsuppresscustomer
        method: POST
        description: Unsuppress a customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.CUSTOMER_IO_USER}}'
      password: '{{env.CUSTOMER_IO_PASS}}'
  exposes:
  - type: rest
    namespace: track-customers-rest
    port: 8080
    description: REST adapter for Customer.io Track API — Customers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/customers/{identifier}
      name: customers-identifier
      description: REST surface for customers-identifier.
      operations:
      - method: PUT
        name: identifycustomer
        description: Identify a customer
        call: track-customers.identifycustomer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecustomer
        description: Delete a customer
        call: track-customers.deletecustomer
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/{identifier}/suppress
      name: customers-identifier-suppress
      description: REST surface for customers-identifier-suppress.
      operations:
      - method: POST
        name: suppresscustomer
        description: Suppress a customer
        call: track-customers.suppresscustomer
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/{identifier}/unsuppress
      name: customers-identifier-unsuppress
      description: REST surface for customers-identifier-unsuppress.
      operations:
      - method: POST
        name: unsuppresscustomer
        description: Unsuppress a customer
        call: track-customers.unsuppresscustomer
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: track-customers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Customer.io Track API — Customers. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: identify-customer
      description: Identify a customer
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: track-customers.identifycustomer
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-customer
      description: Delete a customer
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: track-customers.deletecustomer
      outputParameters:
      - type: object
        mapping: $.
    - name: suppress-customer
      description: Suppress a customer
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: track-customers.suppresscustomer
      outputParameters:
      - type: object
        mapping: $.
    - name: unsuppress-customer
      description: Unsuppress a customer
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: track-customers.unsuppresscustomer
      outputParameters:
      - type: object
        mapping: $.