> ## 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 user groups

> List the user groups available to the partner the API key belongs to: the partner's own groups, plus the ProVision-maintained platform groups when the partner has access to them (`isPlatform: true`). Returns only public groups — private groups are an internal ProVision concept and are never listed. Supports pagination (`limit`, `offset`), `filters` (a URL-encoded JSON array of `{ attribute, operator, value }` conditions), and `sort`; results are ordered by `name` unless `sort` says otherwise. Requires the `userGroup:read` scope, which a `user:read` key also holds.



## OpenAPI

````yaml /openapi.yaml get /v1/user-group/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/user-group/list:
    get:
      tags:
        - User groups
      summary: List user groups
      description: >-
        List the user groups available to the partner the API key belongs to:
        the partner's own groups, plus the ProVision-maintained platform groups
        when the partner has access to them (`isPlatform: true`). Returns only
        public groups — private groups are an internal ProVision concept and are
        never listed. Supports pagination (`limit`, `offset`), `filters` (a
        URL-encoded JSON array of `{ attribute, operator, value }` conditions),
        and `sort`; results are ordered by `name` unless `sort` says otherwise.
        Requires the `userGroup:read` scope, which a `user:read` key also holds.
      operationId: listUserGroups
      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: >-
              A URL-encoded JSON array of filter conditions, all AND-ed
              together. Each condition is `{ "attribute", "operator", "value",
              "valueType"? }`. Allowed attributes: id, name. 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).
            example: >-
              [{"attribute":"id","operator":"=","value":"conversations_full_access"}]
          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, name. 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).
          name: filters
          in: query
          examples:
            id:
              summary: One group by id
              value: >-
                [{"attribute":"id","operator":"=","value":"conversations_full_access"}]
            nameContains:
              summary: Name contains a word
              value: >-
                [{"attribute":"name","operator":"ilike","value":"%conversations%"}]
        - schema:
            type: string
            description: >-
              Comma-separated list of fields to sort by, applied in order;
              prefix a field with `-` for descending. Allowed fields: name, id.
          required: false
          description: >-
            Comma-separated list of fields to sort by, applied in order; prefix
            a field with `-` for descending. Allowed fields: name, id.
          name: sort
          in: query
          examples:
            descending:
              summary: Single field, descending
              value: '-name'
            multiple:
              summary: Multiple keys (first descending, then ascending)
              value: '-name,id'
      responses:
        '200':
          description: Paginated list of userGroups
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserGroupList'
              example:
                data:
                  - id: conversations_full_access
                    name: Conversations full access
                    description: Read and manage every conversation
                    isPlatform: 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:
    UserGroupList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/UserGroup'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - data
        - meta
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - error
    UserGroup:
      type: object
      properties:
        id:
          type: string
          description: >-
            User group id, a stable text key such as
            `conversations_full_access`.
        name:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        isPlatform:
          type: boolean
          description: >-
            True for a group maintained by ProVision and shared across partners;
            false for a group that belongs to your partner.
      required:
        - id
        - name
        - description
        - isPlatform
      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
  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.