> ## 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.

# Create a conversation

> Create a new conversation for a client through the same pipeline that backs the portal. The client (`requesterId`) is the requester, not the message author. Provide `message` to post an initial private (internal) note, authored by `senderId` (a platform user) or the system bot when omitted. `customProperties` accepts the custom properties defined for your partner, keyed by property id; send `null` to clear one. Requires the `conversation:write` scope.



## OpenAPI

````yaml /openapi.yaml post /v1/conversation/submit
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, sites, projects, users, labels, and signal incidents. All endpoints
    accept and return JSON, are authenticated with an `x-api-key` header, and
    are scoped to a single partner tenant.
  contact:
    email: help@onevisionresources.com
    name: OneVision Resources Support
  license:
    name: Proprietary
servers:
  - url: https://connect.provisionapp.io
    description: Production
security: []
tags:
  - name: Conversations
    description: >-
      Support conversations: list and read them, create new ones, update status
      and urgency, read messages, post internal notes, and link sites and
      labels.
  - name: Clients
    description: >-
      The people your team supports: list, read, create, and update clients, and
      link them to their sites.
  - name: Sites
    description: >-
      The addresses your team services: list, read, create, and update sites,
      and apply labels.
  - name: Site files
    description: >-
      Documentation attached to a site, such as plans, photos, and manuals:
      list, download, upload, and delete.
  - name: Projects
    description: >-
      Installation projects at a site. Available to partners with access to
      ProVision Projects.
  - name: Users
    description: The platform users on your team, who can be assignees and message senders.
  - name: User groups
    description: >-
      The groups that bundle permissions for platform users: list the public
      groups available to your team.
  - name: Labels
    description: >-
      The public labels your team can apply to conversations, sites, and
      client-site links.
  - name: Signal incidents
    description: >-
      Raised when a conversation pages someone, and open until an agent resolves
      it: list and resolve them.
  - name: System
    description: Service health, for checking that your API key and network path work.
paths:
  /v1/conversation/submit:
    post:
      tags:
        - Conversations
      summary: Create a conversation
      description: >-
        Create a new conversation for a client through the same pipeline that
        backs the portal. The client (`requesterId`) is the requester, not the
        message author. Provide `message` to post an initial private (internal)
        note, authored by `senderId` (a platform user) or the system bot when
        omitted. `customProperties` accepts the custom properties defined for
        your partner, keyed by property id; send `null` to clear one. Requires
        the `conversation:write` scope.
      operationId: submitConversation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitConversationPayload'
      responses:
        '201':
          description: Created conversation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitConversationResult'
              example:
                conversation:
                  id: 57f2d879-20f8-4106-9abb-44fa099e0448
                  friendlyId: C-10482
                  subject: Gate camera offline
                  type: support_ticket
                  snoozeUntil: null
                  createdAt: '2026-10-20T13:05:12.000Z'
                  deletedAt: null
                  assigneeGroupUpdatedAt: null
                  assigneeUpdatedAt: null
                  conversationStatusUpdatedAt: '2026-10-20T13:09:30.000Z'
                  lastMessageReceivedAt: '2026-10-20T14:22:48.000Z'
                  requesterUpdatedAt: '2026-10-20T13:05:12.000Z'
                  sites:
                    - id: ovaid-2b6d4d8e-9f1a-4b2c-8d4e-5f6011223344
                      address1: 1200 Barton Springs Rd
                      address2: Suite 300
                      city: Austin
                      state: TX
                      zip: '78704'
                      tosAccepted: '2025-06-18T14:05:42.000Z'
                      serviceLevel: Priority
                      clientSegment: Commercial
                      cppExpDate: '2025-09-18T00:00:00.000Z'
                      businessName: Rivera Dental
                      brandId: b7c8d9e0-f1a2-4b3c-8d4e-5f6a7b8c9d0e
                      primaryClientId: ovcid-61f936b9-6f97-438e-856d-1d99c69304f3
                      primaryProjectId: ovprjid-7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a
                      createdAt: '2025-06-18T14:02:11.000Z'
                      updatedAt: '2026-10-01T16:45:00.000Z'
                      sla: 4
                      platformSlaId: priority
                      isMonitored: true
                  status: new
                  urgency: urgent
                  assigneeId: null
                  assignee: null
                  conversationAssigneeGroupId: null
                  conversationAssigneeGroup: null
                  requesterId: 8c1f2e3d-4b5a-4c6d-9e7f-0a1b2c3d4e5f
                  requester:
                    id: 8c1f2e3d-4b5a-4c6d-9e7f-0a1b2c3d4e5f
                    identityId: ovcid-61f936b9-6f97-438e-856d-1d99c69304f3
                    firstName: Jordan
                    lastName: Rivera
                    entityType: client
                    email: jordan.rivera@example.com
                  participants:
                    - id: 8c1f2e3d-4b5a-4c6d-9e7f-0a1b2c3d4e5f
                      identityId: ovcid-61f936b9-6f97-438e-856d-1d99c69304f3
                      firstName: Jordan
                      lastName: Rivera
                      entityType: client
                      email: jordan.rivera@example.com
                  labels: []
                  customProperties:
                    ca_onsite_required: true
                message:
                  id: 3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f
                  body: >-
                    Tech dispatched for Thursday 9am. Synced from our
                    field-service system.
                  isPrivate: true
                  parentMessageId: null
        '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:
    SubmitConversationPayload:
      type: object
      properties:
        subject:
          type: string
        type:
          $ref: '#/components/schemas/ConversationType'
        status:
          $ref: '#/components/schemas/ConversationStatus'
        urgency:
          $ref: '#/components/schemas/ConversationUrgency'
        snoozeUntil:
          type: string
          format: date-time
        assigneeId:
          $ref: '#/components/schemas/UserId'
        conversationAssigneeGroupId:
          type: string
          format: uuid
        requesterId:
          $ref: '#/components/schemas/ClientId'
        senderId:
          $ref: '#/components/schemas/UserId'
        message:
          type: object
          properties:
            body:
              type: string
          required:
            - body
          additionalProperties: false
        customProperties:
          $ref: '#/components/schemas/CustomPropertiesWrite'
      required:
        - subject
        - requesterId
      additionalProperties: false
    SubmitConversationResult:
      type: object
      properties:
        conversation:
          $ref: '#/components/schemas/Conversation'
        message:
          allOf:
            - $ref: '#/components/schemas/SubmitConversationMessage'
            - type:
                - object
                - 'null'
      required:
        - conversation
        - message
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - error
    ConversationType:
      type:
        - string
        - 'null'
      enum:
        - support_ticket
        - member_services
        - non_support_event
        - null
    ConversationStatus:
      type:
        - string
        - 'null'
      enum:
        - new
        - open
        - snoozed
        - on_hold
        - solved
        - closed
        - null
    ConversationUrgency:
      type:
        - string
        - 'null'
      enum:
        - urgent
        - normal
        - low
        - life_safety
        - null
    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
    ClientId:
      type: string
      pattern: ^ovcid-.*$
    CustomPropertiesWrite:
      type: object
      additionalProperties: {}
      description: >-
        Custom property values, keyed by property id. Ids and value types come
        from the properties defined for your partner, so this object cannot be
        described field by field here: an unknown id or a value that does not
        match the property type is rejected with 400. Only the ids you send are
        modified — omit a property to leave it untouched. To clear one, send
        `null`; a blank string and an empty array count as empty too, for every
        property type alike.
      example:
        warranty_count: 5
        region: east
        onsite_required: true
    Conversation:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ConversationId'
        friendlyId:
          type: string
        subject:
          type: string
        type:
          $ref: '#/components/schemas/ConversationType'
        snoozeUntil:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        deletedAt:
          type:
            - string
            - 'null'
          format: date-time
        assigneeGroupUpdatedAt:
          type:
            - string
            - 'null'
          format: date-time
        assigneeUpdatedAt:
          type:
            - string
            - 'null'
          format: date-time
        conversationStatusUpdatedAt:
          type:
            - string
            - 'null'
          format: date-time
        lastMessageReceivedAt:
          type:
            - string
            - 'null'
          format: date-time
        requesterUpdatedAt:
          type:
            - string
            - 'null'
          format: date-time
        sites:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/ConversationSite'
        status:
          $ref: '#/components/schemas/ConversationStatus'
        urgency:
          $ref: '#/components/schemas/ConversationUrgency'
        assigneeId:
          type:
            - string
            - 'null'
        assignee:
          $ref: '#/components/schemas/ConversationAssignee'
        conversationAssigneeGroupId:
          type:
            - string
            - 'null'
          format: uuid
        conversationAssigneeGroup:
          $ref: '#/components/schemas/ConversationAssigneeGroup'
        requesterId:
          type:
            - string
            - 'null'
          format: uuid
        requester:
          $ref: '#/components/schemas/ConversationParticipant'
        participants:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/ConversationParticipant'
        labels:
          type:
            - array
            - 'null'
          items:
            type: string
        customProperties:
          $ref: '#/components/schemas/CustomProperties'
      required:
        - id
        - friendlyId
        - subject
        - type
        - snoozeUntil
        - createdAt
        - deletedAt
        - assigneeGroupUpdatedAt
        - assigneeUpdatedAt
        - conversationStatusUpdatedAt
        - lastMessageReceivedAt
        - requesterUpdatedAt
        - status
        - urgency
        - customProperties
      additionalProperties: false
    SubmitConversationMessage:
      type: object
      properties:
        id:
          type: string
        body:
          type:
            - string
            - 'null'
        isPrivate:
          type:
            - boolean
            - 'null'
        parentMessageId:
          type:
            - string
            - 'null'
          description: >-
            Id of the internal note this message replies to; `null` for a
            top-level message.
      required:
        - id
        - body
        - isPrivate
        - parentMessageId
      additionalProperties: false
    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
    ConversationId:
      type: string
      format: uuid
      description: Conversation id.
      example: 57f2d879-20f8-4106-9abb-44fa099e0448
    ConversationSite:
      type: object
      properties:
        id:
          type: string
        address1:
          type:
            - string
            - 'null'
        address2:
          type:
            - string
            - 'null'
        city:
          type:
            - string
            - 'null'
        state:
          type:
            - string
            - 'null'
        zip:
          type:
            - string
            - 'null'
        tosAccepted:
          type: string
        serviceLevel:
          $ref: '#/components/schemas/ServiceLevel'
        clientSegment:
          type: string
        cppExpDate:
          type: string
          format: date-time
        businessName:
          type: string
        brandId:
          type: string
        primaryClientId:
          type: string
        primaryProjectId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        sla:
          type: number
        platformSlaId:
          anyOf:
            - $ref: '#/components/schemas/PlatformSlaId'
            - type: 'null'
        isMonitored:
          type: boolean
      required:
        - id
        - address1
        - address2
        - city
        - state
        - zip
        - platformSlaId
    ConversationAssignee:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        firstName:
          type: string
        lastName:
          type: string
      required:
        - id
        - firstName
        - lastName
    ConversationAssigneeGroup:
      type:
        - object
        - 'null'
      properties:
        conversationAssigneeGroupId:
          type: string
          format: uuid
        name:
          type: string
      required:
        - conversationAssigneeGroupId
        - name
      additionalProperties: false
    ConversationParticipant:
      anyOf:
        - type: object
          properties:
            id:
              type: string
              format: uuid
            identityId:
              type: string
            firstName:
              type: string
            lastName:
              type: string
            entityType:
              $ref: '#/components/schemas/ParticipantEntityType'
            email:
              type:
                - string
                - 'null'
          required:
            - id
            - identityId
            - firstName
            - lastName
            - entityType
        - type: object
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            identityId:
              type: string
            entityType:
              $ref: '#/components/schemas/ParticipantEntityType'
          required:
            - id
            - name
            - identityId
            - entityType
        - type: 'null'
    CustomProperties:
      type: object
      additionalProperties:
        anyOf:
          - type: string
          - type: number
          - type: boolean
          - type: array
            items:
              type: string
      description: >-
        Custom property values, keyed by property id. Ids and value types come
        from the properties defined for your partner, so this object cannot be
        described field by field here — call the custom-property list endpoint
        to resolve an id to its name and type. A property never given a value
        takes the default configured for it, and is left out rather than
        returned as `null` when there is no default either. A value stored
        before its property was changed — an option renamed or removed, the type
        switched — is returned as stored, so it may not match the type the
        property has today; an absent key is the only reliable sign that nothing
        is set.
      example:
        warranty_count: 5
        region: east
        onsite_required: true
    ServiceLevel:
      type: string
      enum:
        - Inactive
        - Non-Member
        - Warranty Essentials
        - CPP Essentials
        - Essentials
        - CPP Essentials Plus
        - Essentials Plus
        - CPP Priority
        - Priority
        - CPP Proactive
        - Proactive
        - CPP Signature
        - Signature
        - Secure
        - OV - Internal
        - Legacy
    PlatformSlaId:
      type: string
      enum:
        - essentials
        - essentials_plus
        - priority
        - security_only
        - proactive
        - signature
    ParticipantEntityType:
      type:
        - string
        - 'null'
      enum:
        - unknown
        - client
        - platform_user
        - bot
        - rsm
        - null
  securitySchemes:
    OpenApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Send the API key in the x-api-key header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.