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

# Add a message

> Post to the dispute thread — follow-up evidence, questions, context. Not allowed once the dispute is `accepted` or `declined`.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/disputes/{id}/messages
openapi: 3.1.0
info:
  title: Chipper Platform API
  version: '2026-02-20'
  description: >-
    Payouts, collections, and FX across African rails — bank, mobile money, and
    stablecoins — through one API.
servers:
  - url: https://sandbox-api.platform.chipper.ai
    description: Sandbox (sk_test_ keys — simulated rails, no real money)
  - url: https://api.platform.chipper.ai
    description: Production (sk_live_ keys)
security:
  - bearerAuth: []
paths:
  /v1/disputes/{id}/messages:
    post:
      tags:
        - Disputes
      summary: Add a message
      description: >-
        Post to the dispute thread — follow-up evidence, questions, context. Not
        allowed once the dispute is `accepted` or `declined`.
      parameters:
        - schema:
            type: string
            description: Dispute id.
            example: dsp_m8k2x5vq9pn3r7zt4wbc
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                body:
                  type: string
                  minLength: 1
                attachments:
                  type: array
                  items:
                    type: object
                    properties:
                      fileId:
                        type: string
                      name:
                        type: string
                      url:
                        type: string
                    required:
                      - name
                      - url
                  default: []
              required:
                - body
      responses:
        '201':
          description: The posted message.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    $ref: '#/components/schemas/DisputeMessage'
                required:
                  - message
        '400':
          description: The dispute is already resolved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: bad_request
                message: Cannot add messages to a resolved dispute
                requestId: req_q7vei435zifs51ia0lqr
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: unauthorized
                message: Invalid API key
                requestId: req_q7vei435zifs51ia0lqr
        '404':
          description: No such resource in this organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_found
                message: Dispute not found
                requestId: req_q7vei435zifs51ia0lqr
      security:
        - bearerAuth: []
components:
  schemas:
    DisputeMessage:
      type: object
      properties:
        id:
          type: string
          example: dsm_p2r8m5xk9qz3v7nt4wbh
        authorType:
          type: string
          enum:
            - merchant
            - admin
          description: '`admin` is Chipper.'
        body:
          type: string
          example: Please share the delivery confirmation.
        attachments:
          type: array
          items:
            type: object
            properties:
              fileId:
                type: string
                example: file_q7vei435zifs51ia0lqr
              name:
                type: string
                example: delivery-receipt.pdf
              url:
                type: string
                description: >-
                  May be empty for attachments referenced by `fileId` — fetch
                  the file for a signed URL.
            required:
              - name
              - url
        createdAt:
          type: string
          format: date-time
          example: '2026-08-01T09:12:44.000Z'
      required:
        - id
        - authorType
        - body
        - attachments
        - createdAt
    Error:
      type: object
      properties:
        error:
          type: string
          description: Stable machine-readable code.
        message:
          type: string
          description: Human-readable explanation.
        requestId:
          type: string
          description: Echoed in the x-request-id response header — quote it to support.
      required:
        - error
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `sk_test_…` (sandbox) or `sk_live_…` (production).'

````