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

# Post a message to a conversation

> Post a private (internal) note to an existing conversation through the same pipeline that backs the portal. The note is authored by `senderId` (a platform user) or the system bot when omitted. Only private notes are supported: `isPrivate` must be `true`. Requires the `conversation:write` scope.



## OpenAPI

````yaml /openapi.yaml post /v1/conversation/{id}/message
openapi: 3.1.0
info:
  title: ProVision Public API
  version: 1.0.0
  description: >-
    Use the ProVision Public API to integrate with ProVision conversations,
    clients, users, and addresses. All endpoints accept and return JSON, are
    authenticated with an `x-api-key` header, and are scoped to a single partner
    tenant.
  contact:
    email: support@onevisionresources.com
    name: OneVision Resources Support
  license:
    name: Proprietary
servers:
  - url: https://connect.provisionapp.io
    description: Production
security: []
paths:
  /v1/conversation/{id}/message:
    post:
      tags:
        - conversation
      summary: Post a message to a conversation
      description: >-
        Post a private (internal) note to an existing conversation through the
        same pipeline that backs the portal. The note is authored by `senderId`
        (a platform user) or the system bot when omitted. Only private notes are
        supported: `isPrivate` must be `true`. Requires the `conversation:write`
        scope.
      operationId: postConversationMessage
      parameters:
        - schema:
            type: string
            format: uuid
            example: 57f2d879-20f8-4106-9abb-44fa099e0448
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostConversationMessagePayload'
      responses:
        '201':
          description: Created message
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitConversationMessage'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - OpenApiKeyAuth: []
components:
  schemas:
    PostConversationMessagePayload:
      type: object
      properties:
        body:
          type: string
          minLength: 1
          description: The note text.
          example: >-
            Escalating to the on-call engineer — customer reports the outage is
            ongoing.
        senderId:
          $ref: '#/components/schemas/UserId'
        isPrivate:
          type: boolean
          enum:
            - true
          description: >-
            Must be `true`: only private (internal) notes are supported in this
            version. `false` or omitting the flag is rejected. Public replies
            will be enabled through this same field in a future version.
          example: true
      required:
        - body
        - isPrivate
      additionalProperties: false
    SubmitConversationMessage:
      type: object
      properties:
        id:
          type: string
        body:
          type:
            - string
            - 'null'
        isPrivate:
          type:
            - boolean
            - 'null'
      required:
        - id
        - body
        - isPrivate
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - error
    UserId:
      type: string
      minLength: 1
      description: >-
        Platform user id. Newer ids are `ovuid-<uuid>`; legacy users may have
        bare (e.g. numeric) ids.
      example: ovuid-2b6d4d8e-9f1a-4b2c-8d4e-5f6011223344
    ApiError:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code
          example: NOT_FOUND
        message:
          type: string
          description: Human-readable error description
      required:
        - code
        - message
  securitySchemes:
    OpenApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Send the API key in the x-api-key header.

````