messagebird · Capability

MessageBird WhatsApp API — WhatsApp Messages

MessageBird WhatsApp API — WhatsApp Messages. 4 operations. Lead operation: List WhatsApp conversations. Self-contained Naftiko capability covering one Messagebird business surface.

Run with Naftiko MessagebirdWhatsApp Messages

What You Can Do

GET
Listwhatsappconversations — List WhatsApp conversations
/v1/conversations
GET
Listwhatsappconversationmessages — List messages in a WhatsApp conversation
/v1/conversations/{conversationid}/messages
POST
Replywhatsappmessage — Reply in a WhatsApp conversation
/v1/conversations/{conversationid}/messages
POST
Sendwhatsappmessage — Send a WhatsApp message
/v1/send

MCP Tools

list-whatsapp-conversations

List WhatsApp conversations

read-only idempotent
list-messages-whatsapp-conversation

List messages in a WhatsApp conversation

read-only idempotent
reply-whatsapp-conversation

Reply in a WhatsApp conversation

send-whatsapp-message

Send a WhatsApp message

Capability Spec

whatsapp-whatsapp-messages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MessageBird WhatsApp API — WhatsApp Messages
  description: 'MessageBird WhatsApp API — WhatsApp Messages. 4 operations. Lead operation: List WhatsApp conversations. Self-contained
    Naftiko capability covering one Messagebird business surface.'
  tags:
  - Messagebird
  - WhatsApp Messages
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MESSAGEBIRD_API_KEY: MESSAGEBIRD_API_KEY
capability:
  consumes:
  - type: http
    namespace: whatsapp-whatsapp-messages
    baseUri: https://conversations.messagebird.com/v1
    description: MessageBird WhatsApp API — WhatsApp Messages business capability. Self-contained, no shared references.
    resources:
    - name: conversations
      path: /conversations
      operations:
      - name: listwhatsappconversations
        method: GET
        description: List WhatsApp conversations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: conversations-conversationId-messages
      path: /conversations/{conversationId}/messages
      operations:
      - name: listwhatsappconversationmessages
        method: GET
        description: List messages in a WhatsApp conversation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: replywhatsappmessage
        method: POST
        description: Reply in a WhatsApp conversation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: send
      path: /send
      operations:
      - name: sendwhatsappmessage
        method: POST
        description: Send a WhatsApp message
        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: Authorization
      value: '{{env.MESSAGEBIRD_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: whatsapp-whatsapp-messages-rest
    port: 8080
    description: REST adapter for MessageBird WhatsApp API — WhatsApp Messages. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/conversations
      name: conversations
      description: REST surface for conversations.
      operations:
      - method: GET
        name: listwhatsappconversations
        description: List WhatsApp conversations
        call: whatsapp-whatsapp-messages.listwhatsappconversations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/conversations/{conversationid}/messages
      name: conversations-conversationid-messages
      description: REST surface for conversations-conversationId-messages.
      operations:
      - method: GET
        name: listwhatsappconversationmessages
        description: List messages in a WhatsApp conversation
        call: whatsapp-whatsapp-messages.listwhatsappconversationmessages
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: replywhatsappmessage
        description: Reply in a WhatsApp conversation
        call: whatsapp-whatsapp-messages.replywhatsappmessage
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/send
      name: send
      description: REST surface for send.
      operations:
      - method: POST
        name: sendwhatsappmessage
        description: Send a WhatsApp message
        call: whatsapp-whatsapp-messages.sendwhatsappmessage
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: whatsapp-whatsapp-messages-mcp
    port: 9090
    transport: http
    description: MCP adapter for MessageBird WhatsApp API — WhatsApp Messages. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-whatsapp-conversations
      description: List WhatsApp conversations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: whatsapp-whatsapp-messages.listwhatsappconversations
      outputParameters:
      - type: object
        mapping: $.
    - name: list-messages-whatsapp-conversation
      description: List messages in a WhatsApp conversation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: whatsapp-whatsapp-messages.listwhatsappconversationmessages
      outputParameters:
      - type: object
        mapping: $.
    - name: reply-whatsapp-conversation
      description: Reply in a WhatsApp conversation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: whatsapp-whatsapp-messages.replywhatsappmessage
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: send-whatsapp-message
      description: Send a WhatsApp message
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: whatsapp-whatsapp-messages.sendwhatsappmessage
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.