Slack · Capability

Slack Pins API — Post

Slack Pins API — Post. 2 operations. Lead operation: Slack Post Pins Add. Self-contained Naftiko capability covering one Slack business surface.

Run with Naftiko SlackPost

What You Can Do

POST
Postpinsadd — Slack Post Pins Add
/v1/pins-add
POST
Postpinsremove — Slack Post Pins Remove
/v1/pins-remove

MCP Tools

slack-post-pins-add

Slack Post Pins Add

slack-post-pins-remove

Slack Post Pins Remove

Capability Spec

pins-post.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Slack Pins API — Post
  description: 'Slack Pins API — Post. 2 operations. Lead operation: Slack Post Pins Add. Self-contained Naftiko capability
    covering one Slack business surface.'
  tags:
  - Slack
  - Post
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SLACK_API_KEY: SLACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: pins-post
    baseUri: ''
    description: Slack Pins API — Post business capability. Self-contained, no shared references.
    resources:
    - name: pins.add
      path: /pins.add
      operations:
      - name: postpinsadd
        method: POST
        description: Slack Post Pins Add
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: header
          type: string
          description: 'Authentication token. Requires scope: `pins:write`'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pins.remove
      path: /pins.remove
      operations:
      - name: postpinsremove
        method: POST
        description: Slack Post Pins Remove
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: header
          type: string
          description: 'Authentication token. Requires scope: `pins:write`'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: pins-post-rest
    port: 8080
    description: REST adapter for Slack Pins API — Post. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/pins-add
      name: pins-add
      description: REST surface for pins.add.
      operations:
      - method: POST
        name: postpinsadd
        description: Slack Post Pins Add
        call: pins-post.postpinsadd
        with:
          token: rest.token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pins-remove
      name: pins-remove
      description: REST surface for pins.remove.
      operations:
      - method: POST
        name: postpinsremove
        description: Slack Post Pins Remove
        call: pins-post.postpinsremove
        with:
          token: rest.token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pins-post-mcp
    port: 9090
    transport: http
    description: MCP adapter for Slack Pins API — Post. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: slack-post-pins-add
      description: Slack Post Pins Add
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pins-post.postpinsadd
      with:
        token: tools.token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: slack-post-pins-remove
      description: Slack Post Pins Remove
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pins-post.postpinsremove
      with:
        token: tools.token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.