Customer.io · Capability

Customer.io Pipelines API — Group

Customer.io Pipelines API — Group. 1 operations. Lead operation: Associate a person with a group. Self-contained Naftiko capability covering one Customer Io business surface.

Run with Naftiko Customer IoGroup

What You Can Do

POST
Groupperson — Associate a person with a group
/v1/group

MCP Tools

associate-person-group

Associate a person with a group

Capability Spec

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