Knock · Capability

Knock Channels API — Channels

Knock Channels API — Channels. 1 operations. Lead operation: bulkupdatemessagesforchannel. Self-contained Naftiko capability covering one Knock business surface.

Knock Channels API — Channels is a Naftiko capability published by Knock, one of 13 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/v1/channels/{…}/messages/bulk/{…}.

The capability includes 1 state-changing operation. Lead operation: Bulk update message statuses for channel. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Knock and Channels.

Run with Naftiko KnockChannels

What You Can Do

POST
Bulkupdatemessagesforchannel — Bulk update message statuses for channel
/v1/v1/channels/{channel_id}/messages/bulk/{action}

MCP Tools

knock-bulkupdatemessagesforchannel

Bulk update message statuses for channel

Capability Spec

channels.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Knock Channels API — Channels
  description: 'Knock Channels API — Channels. 1 operations. Lead operation: bulkupdatemessagesforchannel. Self-contained Naftiko capability covering one Knock business surface.'
  tags:
  - Knock
  - Channels
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    KNOCK_API_KEY: KNOCK_API_KEY
capability:
  consumes:
  - type: http
    namespace: channels
    baseUri: https://api.knock.app
    description: Knock Knock Channels API business capability. Self-contained, no shared references.
    resources:
    - name: v1-channels-channel_id-messages-bulk-action
      path: /v1/channels/{channel_id}/messages/bulk/{action}
      operations:
      - name: bulkupdatemessagesforchannel
        method: POST
        description: Bulk update message statuses for channel
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: channel_id
          in: path
          type: string
          required: true
        - name: action
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: bearer
      value: '{{env.KNOCK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: channels-rest
    port: 8080
    description: REST adapter for Knock Knock Channels API.
    resources:
    - path: /v1/v1/channels/{channel_id}/messages/bulk/{action}
      name: v1-channels-channel_id-messages-bulk-action
      description: REST surface for v1-channels-channel_id-messages-bulk-action.
      operations:
      - method: POST
        name: bulkupdatemessagesforchannel
        description: Bulk update message statuses for channel
        call: channels.bulkupdatemessagesforchannel
        with:
          channel_id: rest.channel_id
          action: rest.action
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: channels-mcp
    port: 9090
    transport: http
    description: MCP adapter for Knock Knock Channels API. One tool per consumed operation.
    tools:
    - name: knock-bulkupdatemessagesforchannel
      description: Bulk update message statuses for channel
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: channels.bulkupdatemessagesforchannel
      with:
        channel_id: tools.channel_id
        action: tools.action
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.