> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sigmachat.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit the app's own message



## OpenAPI

````yaml /api/openapi.yaml patch /boards/{boardId}/messages/{messageId}
openapi: 3.1.0
info:
  title: SigmaChat API
  version: '1'
  description: |
    The REST surface for SigmaChat apps and bots. Authenticate every
    request with a bot token in the Authorization header. Every response
    carries X-RateLimit-Limit, X-RateLimit-Remaining, and
    X-RateLimit-Reset; errors use a stable envelope
    `{ "error": { "code": "..." } }`.
servers:
  - url: https://sigmachat.org/api/v1
security:
  - botToken: []
paths:
  /boards/{boardId}/messages/{messageId}:
    patch:
      summary: Edit the app's own message
      parameters:
        - $ref: '#/components/parameters/boardId'
        - $ref: '#/components/parameters/messageId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  maxLength: 4000
      responses:
        '200':
          description: The edited message.
components:
  parameters:
    boardId:
      name: boardId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    messageId:
      name: messageId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    botToken:
      type: http
      scheme: bearer
      description: An app token from the in-app developer settings.

````