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

# List clients

> List the clients belonging to the partner the API key belongs to. Supports pagination (`limit`, `offset`), full-text `search`, `filters` (a URL-encoded JSON array of `{ attribute, operator, value }` conditions over the supported client fields), `sort`, and `include` to expand related resources. Requires the `client:read` scope.



## OpenAPI

````yaml /openapi.yaml get /v1/client/list
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/client/list:
    get:
      tags:
        - Clients
      summary: List clients
      description: >-
        List the clients belonging to the partner the API key belongs to.
        Supports pagination (`limit`, `offset`), full-text `search`, `filters`
        (a URL-encoded JSON array of `{ attribute, operator, value }` conditions
        over the supported client fields), `sort`, and `include` to expand
        related resources. Requires the `client:read` scope.
      operationId: listClients
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
            description: Maximum number of records to return, from 1 to 100.
            example: 50
          required: false
          description: Maximum number of records to return, from 1 to 100.
          name: limit
          in: query
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            default: 0
            description: >-
              Number of records to skip. Request the next page with `offset +
              limit` until it reaches `meta.total`.
            example: 0
          required: false
          description: >-
            Number of records to skip. Request the next page with `offset +
            limit` until it reaches `meta.total`.
          name: offset
          in: query
        - schema:
            type: string
            description: >-
              Full-text search, the same search the ProVision portal uses.
              Matches the record and its related records, so a client's name,
              email, or phone number also finds their sites and conversations.
              Combined with `filters`, a record must match both.
            example: jordan@example.com
          required: false
          description: >-
            Full-text search, the same search the ProVision portal uses. Matches
            the record and its related records, so a client's name, email, or
            phone number also finds their sites and conversations. Combined with
            `filters`, a record must match both.
          name: search
          in: query
        - schema:
            type: string
            description: >-
              Comma-separated list of related resources to expand in the
              response. Allowed values: `emails`, `phoneNumbers`.
            example: emails,phoneNumbers
          required: false
          description: >-
            Comma-separated list of related resources to expand in the response.
            Allowed values: `emails`, `phoneNumbers`.
          name: include
          in: query
        - schema:
            type: string
            description: >-
              A URL-encoded JSON array of filter conditions, all AND-ed
              together. Each condition is `{ "attribute", "operator", "value",
              "valueType"? }`. Allowed attributes: id, firstName, lastName,
              marketingOptOut, createdAt, updatedAt, email, phoneNumber. Allowed
              operators: =, !=, in, not_in, ilike, not_ilike, <, <=, >, >=,
              is_null, is_not_null. `value` is always a string; set `valueType`
              (one of boolean, number, number[], string, string[]) to coerce it
              — e.g. `"boolean"` for a true/false attribute or `"string[]"` for
              the `in` operator. More examples in [Listing and
              filtering](/listing-and-filtering#filters). Filter by a custom
              property with `customProperties.<id>`; ids, types and the
              operators each type accepts are listed under [Custom
              properties](/custom-properties-and-labels#filtering).
            example: >-
              [{"attribute":"email","operator":"=","value":"jordan.rivera@example.com"}]
          required: false
          description: >-
            A URL-encoded JSON array of filter conditions, all AND-ed together.
            Each condition is `{ "attribute", "operator", "value", "valueType"?
            }`. Allowed attributes: id, firstName, lastName, marketingOptOut,
            createdAt, updatedAt, email, phoneNumber. Allowed operators: =, !=,
            in, not_in, ilike, not_ilike, <, <=, >, >=, is_null, is_not_null.
            `value` is always a string; set `valueType` (one of boolean, number,
            number[], string, string[]) to coerce it — e.g. `"boolean"` for a
            true/false attribute or `"string[]"` for the `in` operator. More
            examples in [Listing and filtering](/listing-and-filtering#filters).
            Filter by a custom property with `customProperties.<id>`; ids, types
            and the operators each type accepts are listed under [Custom
            properties](/custom-properties-and-labels#filtering).
          name: filters
          in: query
          examples:
            email:
              summary: Client with an email address
              value: >-
                [{"attribute":"email","operator":"=","value":"jordan.rivera@example.com"}]
            lastName:
              summary: Last name starts with "Mc"
              value: '[{"attribute":"lastName","operator":"ilike","value":"Mc%"}]'
            optedOut:
              summary: Opted out of marketing
              value: >-
                [{"attribute":"marketingOptOut","operator":"=","value":"true","valueType":"boolean"}]
            createdSince:
              summary: Created since a date
              value: >-
                [{"attribute":"createdAt","operator":">=","value":"2026-10-01T00:00:00.000Z"}]
            customProperty:
              summary: Custom checkbox property is checked
              value: >-
                [{"attribute":"customProperties.ca_vip","operator":"=","value":"true"}]
        - schema:
            type: string
            description: >-
              Comma-separated list of fields to sort by, applied in order;
              prefix a field with `-` for descending. Allowed fields: firstName,
              lastName, marketingOptOut, createdAt, updatedAt.
          required: false
          description: >-
            Comma-separated list of fields to sort by, applied in order; prefix
            a field with `-` for descending. Allowed fields: firstName,
            lastName, marketingOptOut, createdAt, updatedAt.
          name: sort
          in: query
          examples:
            descending:
              summary: Single field, descending
              value: '-firstName'
            multiple:
              summary: Multiple keys (first descending, then ascending)
              value: '-firstName,lastName'
      responses:
        '200':
          description: Paginated list of clients
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientList'
              example:
                data:
                  - id: ovcid-61f936b9-6f97-438e-856d-1d99c69304f3
                    partnerName: Rivera Dental
                    name: Jordan Rivera
                    firstName: Jordan
                    lastName: Rivera
                    marketingOptOut: false
                    emails:
                      - id: 1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d
                        value: jordan.rivera@example.com
                        label: Work
                        isPrimary: true
                    phoneNumbers:
                      - id: 2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e
                        value: '+15125550187'
                        label: Mobile
                        isPrimary: true
                    createdAt: '2025-06-18T14:02:11.000Z'
                    updatedAt: '2026-10-01T16:45:00.000Z'
                    customProperties:
                      ca_preferred_contact: phone
                meta:
                  total: 1
                  limit: 20
                  offset: 0
        '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:
    ClientList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Client'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - data
        - meta
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - error
    Client:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ClientId'
        partnerName:
          type: string
        name:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        marketingOptOut:
          type: boolean
        emails:
          type: array
          items:
            $ref: '#/components/schemas/ClientEmail'
        phoneNumbers:
          type: array
          items:
            $ref: '#/components/schemas/ClientPhoneNumber'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        customProperties:
          $ref: '#/components/schemas/CustomProperties'
      required:
        - id
        - name
        - firstName
        - lastName
        - createdAt
        - customProperties
      additionalProperties: false
    PaginationMeta:
      type: object
      properties:
        total:
          type: integer
          description: Total number of matching records
        limit:
          type: integer
          description: Page size used for this response
        offset:
          type: integer
          description: Offset used for this response
      required:
        - total
        - limit
        - offset
    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
    ClientId:
      type: string
      pattern: ^ovcid-.*$
    ClientEmail:
      type: object
      properties:
        id:
          type: string
          format: uuid
        value:
          type: string
          format: email
        label:
          type: string
        isPrimary:
          type: boolean
      required:
        - id
        - value
      additionalProperties: false
    ClientPhoneNumber:
      type: object
      properties:
        id:
          type: string
          format: uuid
        value:
          type: string
        ext:
          type: number
        label:
          type: string
        isPrimary:
          type: boolean
      required:
        - id
        - value
      additionalProperties: false
    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
  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.