Customer.io · Capability

Customer.io App API — Exports

Customer.io App API — Exports. 3 operations. Lead operation: Export customers. Self-contained Naftiko capability covering one Customer Io business surface.

Run with Naftiko Customer IoExports

What You Can Do

POST
Exportcustomers — Export customers
/v1/exports/customers
POST
Exportdeliveries — Export deliveries
/v1/exports/deliveries
GET
Getexport — Get an export
/v1/exports/{export-id}

MCP Tools

export-customers

Export customers

export-deliveries

Export deliveries

get-export

Get an export

read-only idempotent

Capability Spec

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