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

> List the sites 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 site fields), `sort`, and `include` to expand related resources. Requires the `site:read` scope.



## OpenAPI

````yaml /openapi.yaml get /v1/site/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/site/list:
    get:
      tags:
        - Sites
      summary: List sites
      description: >-
        List the sites 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 site fields), `sort`, and `include` to expand related
        resources. Requires the `site:read` scope.
      operationId: listSites
      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: `clients`, `projects`.
            example: clients,projects
          required: false
          description: >-
            Comma-separated list of related resources to expand in the response.
            Allowed values: `clients`, `projects`.
          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, address1, address2, city,
              state, zip, businessName, brandId, isMonitored, sla,
              platformSlaId, createdAt, updatedAt. 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":"state","operator":"=","value":"TX"},{"attribute":"isMonitored","operator":"=","value":"true","valueType":"boolean"}]
          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, address1, address2, city, state, zip,
            businessName, brandId, isMonitored, sla, platformSlaId, createdAt,
            updatedAt. 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:
            monitoredInState:
              summary: Monitored sites in one state
              value: >-
                [{"attribute":"state","operator":"=","value":"TX"},{"attribute":"isMonitored","operator":"=","value":"true","valueType":"boolean"}]
            zipCodes:
              summary: Sites in any of several ZIP codes
              value: >-
                [{"attribute":"zip","operator":"in","value":"78701,78702,78703"}]
            slaTier:
              summary: Sites on one SLA tier
              value: >-
                [{"attribute":"platformSlaId","operator":"=","value":"priority"}]
            businessName:
              summary: Business name contains a word
              value: >-
                [{"attribute":"businessName","operator":"ilike","value":"%dental%"}]
            createdSince:
              summary: Created since a date
              value: >-
                [{"attribute":"createdAt","operator":">=","value":"2026-10-01T00:00:00.000Z"}]
            customPropertySet:
              summary: Custom property has a value
              value: >-
                [{"attribute":"customProperties.ca_tech_review_due","operator":"is_not_null","value":""}]
            customPropertyDateWindow:
              summary: Custom date property falls in a window
              value: >-
                [{"attribute":"customProperties.ca_tech_review_due","operator":">=","value":"2026-11-01T00:00:00-05:00"},{"attribute":"customProperties.ca_tech_review_due","operator":"<=","value":"2026-11-30T23:59:59-06:00"}]
        - schema:
            type: string
            description: >-
              Comma-separated list of fields to sort by, applied in order;
              prefix a field with `-` for descending. Allowed fields: address1,
              city, state, businessName, isMonitored, sla, platformSlaId,
              createdAt, updatedAt.
          required: false
          description: >-
            Comma-separated list of fields to sort by, applied in order; prefix
            a field with `-` for descending. Allowed fields: address1, city,
            state, businessName, isMonitored, sla, platformSlaId, createdAt,
            updatedAt.
          name: sort
          in: query
          examples:
            descending:
              summary: Single field, descending
              value: '-address1'
            multiple:
              summary: Multiple keys (first descending, then ascending)
              value: '-address1,city'
      responses:
        '200':
          description: Paginated list of sites
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SiteList'
              example:
                data:
                  - 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
                    accountManager:
                      id: e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9
                      firstName: Marcus
                      lastName: Lee
                    membershipRegistered: true
                    clients:
                      - 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
                        isPrimary: true
                    projects:
                      - id: ovprjid-7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a
                        name: Security camera upgrade
                        isPrimary: true
                        stage: Active Project
                        estimatedDay1: '2026-11-10T00:00:00.000Z'
                        day1StartDate: '2026-11-12T00:00:00.000Z'
                        warrantyExpiration: '2027-11-12T00:00:00.000Z'
                        signingDate: '2026-10-02T00:00:00.000Z'
                    subscription:
                      id: f6a7b8c9-d0e1-4f2a-b3c4-d5e6f7a8b9c0
                      stripeSubscriptionId: sub_1NqLmE2eZvKYlo2C0Ux1YzAb
                      status: active
                      phase: active
                      pausedUntil: null
                      product:
                        displayName: Priority Membership
                        type: membership
                    customProperties:
                      ca_region: east
                      ca_warranty_count: 2
                      ca_onsite_required: true
                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:
    SiteList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Site'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - data
        - meta
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - error
    Site:
      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
        accountManager:
          $ref: '#/components/schemas/AccountManager'
        membershipRegistered:
          type: boolean
        clients:
          type: array
          items:
            $ref: '#/components/schemas/AddressClient'
        projects:
          type: array
          items:
            $ref: '#/components/schemas/AddressProject'
        subscription:
          $ref: '#/components/schemas/SiteSubscription'
        customProperties:
          $ref: '#/components/schemas/CustomProperties'
      required:
        - id
        - address1
        - address2
        - city
        - state
        - zip
        - platformSlaId
        - customProperties
    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
    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
    AccountManager:
      type: object
      properties:
        id:
          type: string
          format: uuid
        firstName:
          type: string
        lastName:
          type: string
      required:
        - id
        - firstName
        - lastName
      additionalProperties: false
    AddressClient:
      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'
        isPrimary:
          type: boolean
      required:
        - id
        - name
        - firstName
        - lastName
      additionalProperties: false
    AddressProject:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ProjectId'
        name:
          type:
            - string
            - 'null'
        isPrimary:
          type: boolean
        stage:
          $ref: '#/components/schemas/ProjectStage'
        estimatedDay1:
          type:
            - string
            - 'null'
          format: date
        day1StartDate:
          type:
            - string
            - 'null'
          format: date
        warrantyExpiration:
          type:
            - string
            - 'null'
          format: date
        signingDate:
          type:
            - string
            - 'null'
          format: date
      required:
        - id
        - name
      additionalProperties: false
    SiteSubscription:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
          format: uuid
        stripeSubscriptionId:
          type: string
          description: >-
            Identifier of the subscription in the billing provider, for
            reconciliation against the records a partner sees in its own
            connected account.
          example: sub_1NqLmE2eZvKYlo2C0Ux1YzAb
        status:
          $ref: '#/components/schemas/SiteSubscriptionStatus'
        phase:
          $ref: '#/components/schemas/SiteSubscriptionPhase'
        pausedUntil:
          type:
            - string
            - 'null'
          format: date-time
          description: When a paused subscription resumes; `null` if it is not paused.
        product:
          $ref: '#/components/schemas/SiteSubscriptionProduct'
      required:
        - id
        - stripeSubscriptionId
        - status
        - phase
        - pausedUntil
        - product
      description: >-
        A site's current subscription. Pricing and billing-period dates are not
        part of this payload: the platform stores neither, they live in the
        billing provider only.
    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
    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
    ProjectId:
      type: string
      pattern: ^ovprjid-.*$
      description: Project id, of the form `ovprjid-<uuidv4>`.
      example: ovprjid-2b6d4d8e-9f1a-4b2c-8d4e-5f6011223344
    ProjectStage:
      type: string
      enum:
        - Proposal
        - Active Project
        - Service Client
        - Lost Proposal
    SiteSubscriptionStatus:
      type:
        - string
        - 'null'
      enum:
        - incomplete
        - incomplete_expired
        - trialing
        - active
        - past_due
        - canceled
        - unpaid
        - paused
        - null
      description: >-
        Billing status of the subscription. `null` if the platform never
        recorded one.
    SiteSubscriptionPhase:
      type: string
      enum:
        - trial
        - active
        - psm
      description: >-
        Lifecycle phase of the subscription: `trial` (introductory period),
        `active` (regular recurring billing), `psm` (pre-sold membership
        period).
    SiteSubscriptionProduct:
      type:
        - object
        - 'null'
      properties:
        displayName:
          type: string
        type:
          type: string
      required:
        - displayName
        - type
      description: The partner product the subscription is sold under.
  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.