Supaglue · Capability

Unified Engagement API — Sequences

Unified Engagement API — Sequences. 5 operations. Lead operation: Create sequence. Self-contained Naftiko capability covering one Supaglue business surface.

Run with Naftiko SupaglueSequences

What You Can Do

POST
Createsequence — Create sequence
/v1/sequences
GET
Listsequences — List sequences
/v1/sequences
GET
Getsequence — Get sequence
/v1/sequences/{sequence-id}
POST
Createsequencestep — Create sequence step
/v1/sequences/{sequence-id}/sequence-steps
PATCH
Updatesequencestep — Update Sequence Step
/v1/sequences/{sequence-id}/sequence-steps/{sequence-step-id}

MCP Tools

create-sequence

Create sequence

list-sequences

List sequences

read-only idempotent
get-sequence

Get sequence

read-only idempotent
create-sequence-step

Create sequence step

update-sequence-step

Update Sequence Step

idempotent

Capability Spec

engagement-sequences.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified Engagement API — Sequences
  description: 'Unified Engagement API — Sequences. 5 operations. Lead operation: Create sequence. Self-contained Naftiko
    capability covering one Supaglue business surface.'
  tags:
  - Supaglue
  - Sequences
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUPAGLUE_API_KEY: SUPAGLUE_API_KEY
capability:
  consumes:
  - type: http
    namespace: engagement-sequences
    baseUri: https://api.supaglue.io/engagement/v2
    description: Unified Engagement API — Sequences business capability. Self-contained, no shared references.
    resources:
    - name: sequences
      path: /sequences
      operations:
      - name: createsequence
        method: POST
        description: Create sequence
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listsequences
        method: GET
        description: List sequences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sequences-sequence_id
      path: /sequences/{sequence_id}
      operations:
      - name: getsequence
        method: GET
        description: Get sequence
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sequences-sequence_id-sequence_steps
      path: /sequences/{sequence_id}/sequence_steps
      operations:
      - name: createsequencestep
        method: POST
        description: Create sequence step
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sequences-sequence_id-sequence_steps-sequence_step_id
      path: /sequences/{sequence_id}/sequence_steps/{sequence_step_id}
      operations:
      - name: updatesequencestep
        method: PATCH
        description: Update Sequence Step
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.SUPAGLUE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: engagement-sequences-rest
    port: 8080
    description: REST adapter for Unified Engagement API — Sequences. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sequences
      name: sequences
      description: REST surface for sequences.
      operations:
      - method: POST
        name: createsequence
        description: Create sequence
        call: engagement-sequences.createsequence
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listsequences
        description: List sequences
        call: engagement-sequences.listsequences
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sequences/{sequence-id}
      name: sequences-sequence-id
      description: REST surface for sequences-sequence_id.
      operations:
      - method: GET
        name: getsequence
        description: Get sequence
        call: engagement-sequences.getsequence
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sequences/{sequence-id}/sequence-steps
      name: sequences-sequence-id-sequence-steps
      description: REST surface for sequences-sequence_id-sequence_steps.
      operations:
      - method: POST
        name: createsequencestep
        description: Create sequence step
        call: engagement-sequences.createsequencestep
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sequences/{sequence-id}/sequence-steps/{sequence-step-id}
      name: sequences-sequence-id-sequence-steps-sequence-step-id
      description: REST surface for sequences-sequence_id-sequence_steps-sequence_step_id.
      operations:
      - method: PATCH
        name: updatesequencestep
        description: Update Sequence Step
        call: engagement-sequences.updatesequencestep
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: engagement-sequences-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unified Engagement API — Sequences. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-sequence
      description: Create sequence
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: engagement-sequences.createsequence
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-sequences
      description: List sequences
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engagement-sequences.listsequences
      outputParameters:
      - type: object
        mapping: $.
    - name: get-sequence
      description: Get sequence
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engagement-sequences.getsequence
      outputParameters:
      - type: object
        mapping: $.
    - name: create-sequence-step
      description: Create sequence step
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: engagement-sequences.createsequencestep
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-sequence-step
      description: Update Sequence Step
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: engagement-sequences.updatesequencestep
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.