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

# Get platform user details

> Fetch a single platform user (a ProVision agent or administrator) by ID. Useful for resolving an assignee or actor reference returned by the conversation endpoints. Requires the `user:read` scope.



## OpenAPI

````yaml /openapi.yaml get /v1/user/{id}
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/user/{id}:
    get:
      tags:
        - user
      summary: Get platform user details
      description: >-
        Fetch a single platform user (a ProVision agent or administrator) by ID.
        Useful for resolving an assignee or actor reference returned by the
        conversation endpoints. Requires the `user:read` scope.
      operationId: getUser
      parameters:
        - schema:
            allOf:
              - $ref: '#/components/schemas/UserId'
              - example: ovuid-aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa
          required: true
          description: >-
            Platform user id. Newer ids are `ovuid-<uuid>`; legacy users may
            have bare (e.g. numeric) ids.
          name: id
          in: path
      responses:
        '200':
          description: User details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '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:
    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
    User:
      type: object
      properties:
        id:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
          format: email
        phoneNumber:
          type: string
        isActive:
          type: boolean
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        conversationAssigneeGroups:
          type: array
          items:
            $ref: '#/components/schemas/ConversationAssigneeGroup'
      required:
        - id
        - firstName
        - lastName
        - email
        - isActive
        - createdAt
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - error
    ConversationAssigneeGroup:
      type:
        - object
        - 'null'
      properties:
        conversationAssigneeGroupId:
          type: string
          format: uuid
        name:
          type: string
      required:
        - conversationAssigneeGroupId
        - name
      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
  securitySchemes:
    OpenApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Send the API key in the x-api-key header.

````