Google Business Messages · Capability

Google Business Messages API — Conversations

Google Business Messages API — Conversations. 4 operations. Lead operation: Google Business Messages Create Event. Self-contained Naftiko capability covering one Google Business Messages business surface.

Run with Naftiko Google Business MessagesConversations

What You Can Do

POST
Createevent — Google Business Messages Create Event
/v1/conversations/{conversationid}/events
POST
Createmessage — Google Business Messages Create Message
/v1/conversations/{conversationid}/messages
PATCH
Updatereceipt — Google Business Messages Update Message Receipt
/v1/conversations/{conversationid}/messages/messageid-receiptupdate
POST
Createsurvey — Google Business Messages Create Survey
/v1/conversations/{conversationid}/surveys

MCP Tools

google-business-messages-create-event

Google Business Messages Create Event

google-business-messages-create-message

Google Business Messages Create Message

google-business-messages-update-message

Google Business Messages Update Message Receipt

idempotent
google-business-messages-create-survey

Google Business Messages Create Survey

Capability Spec

openapi-conversations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Business Messages API — Conversations
  description: 'Google Business Messages API — Conversations. 4 operations. Lead operation: Google Business Messages Create
    Event. Self-contained Naftiko capability covering one Google Business Messages business surface.'
  tags:
  - Google Business Messages
  - Conversations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_BUSINESS_MESSAGES_API_KEY: GOOGLE_BUSINESS_MESSAGES_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-conversations
    baseUri: https://businessmessages.googleapis.com/v1
    description: Google Business Messages API — Conversations business capability. Self-contained, no shared references.
    resources:
    - name: conversations-conversationId-events
      path: /conversations/{conversationId}/events
      operations:
      - name: createevent
        method: POST
        description: Google Business Messages Create Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: conversationId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: conversations-conversationId-messages
      path: /conversations/{conversationId}/messages
      operations:
      - name: createmessage
        method: POST
        description: Google Business Messages Create Message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: conversationId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: conversations-conversationId-messages-messageId}:receiptUpdate
      path: /conversations/{conversationId}/messages/{messageId}:receiptUpdate
      operations:
      - name: updatereceipt
        method: PATCH
        description: Google Business Messages Update Message Receipt
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: conversationId
          in: path
          type: string
          required: true
        - name: messageId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: conversations-conversationId-surveys
      path: /conversations/{conversationId}/surveys
      operations:
      - name: createsurvey
        method: POST
        description: Google Business Messages Create Survey
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: conversationId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_BUSINESS_MESSAGES_API_KEY}}'
  exposes:
  - type: rest
    namespace: openapi-conversations-rest
    port: 8080
    description: REST adapter for Google Business Messages API — Conversations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/conversations/{conversationid}/events
      name: conversations-conversationid-events
      description: REST surface for conversations-conversationId-events.
      operations:
      - method: POST
        name: createevent
        description: Google Business Messages Create Event
        call: openapi-conversations.createevent
        with:
          conversationId: rest.conversationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/conversations/{conversationid}/messages
      name: conversations-conversationid-messages
      description: REST surface for conversations-conversationId-messages.
      operations:
      - method: POST
        name: createmessage
        description: Google Business Messages Create Message
        call: openapi-conversations.createmessage
        with:
          conversationId: rest.conversationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/conversations/{conversationid}/messages/messageid-receiptupdate
      name: conversations-conversationid-messages-messageid-receiptupdate
      description: REST surface for conversations-conversationId-messages-messageId}:receiptUpdate.
      operations:
      - method: PATCH
        name: updatereceipt
        description: Google Business Messages Update Message Receipt
        call: openapi-conversations.updatereceipt
        with:
          conversationId: rest.conversationId
          messageId: rest.messageId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/conversations/{conversationid}/surveys
      name: conversations-conversationid-surveys
      description: REST surface for conversations-conversationId-surveys.
      operations:
      - method: POST
        name: createsurvey
        description: Google Business Messages Create Survey
        call: openapi-conversations.createsurvey
        with:
          conversationId: rest.conversationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-conversations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Business Messages API — Conversations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-business-messages-create-event
      description: Google Business Messages Create Event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-conversations.createevent
      with:
        conversationId: tools.conversationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-business-messages-create-message
      description: Google Business Messages Create Message
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-conversations.createmessage
      with:
        conversationId: tools.conversationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-business-messages-update-message
      description: Google Business Messages Update Message Receipt
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: openapi-conversations.updatereceipt
      with:
        conversationId: tools.conversationId
        messageId: tools.messageId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-business-messages-create-survey
      description: Google Business Messages Create Survey
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-conversations.createsurvey
      with:
        conversationId: tools.conversationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.