---
title: "Get a specific user"
url: "https://developers.vzconnect.com/apis/user-api/versions/8058c80f-08ad-4baf-8fda-034794ba017a/operations/GET__users__employeeId_"
---

> Full API specification: https://developers.vzconnect.com/apis/user-api/versions/8058c80f-08ad-4baf-8fda-034794ba017a.md

# Get a specific user

`GET` `/cmd/v1/users/{employeeId}`

Operation ID: `GET__users__employeeId_`

Retrieves a specific user by Employee ID. Only ACTIVE users within a REVEAL account are returned; no deactivated or deleted users are returned in the query.

## Path parameters

- `employeeId` (integer, required) - Employee ID is the unique identifier for the user within REVEAL. Must be an integer.

## Responses

- `200` - Successfully retrieved the user details.
- `400` - Bad request. The request is invalid.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `404` - The specified user was not found, is not active, or the employee ID is not a valid integer.
- `500` - Internal server error. An unexpected error occurred on the server.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: User API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/users/{employeeId}:
    get:
      tags:
        - User API
      summary: Get a specific user
      description: Retrieves a specific user by Employee ID. Only ACTIVE users within
        a REVEAL account are returned; no deactivated or deleted users are
        returned in the query.
      operationId: GET__users__employeeId_
      parameters:
        - name: employeeId
          in: path
          required: true
          description: Employee ID is the unique identifier for the user within REVEAL.
            Must be an integer.
          schema:
            type: integer
          example: 982736342
      responses:
        "200":
          description: Successfully retrieved the user details.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UserRecord"
              example:
                user:
                  FirstName: Dan
                  LastName: Bowyer
                  EmailAddress: user@example.com
                  EmployeeId: 982736342
                  MobileNumber: null
                  IsAdministrator: false
                  IsRegionalAdministrator: true
                  Role: null
                  TimeZone: Eastern Standard Time
                  Region: USA
                  Language: en-US
                  IsDriver: false
                  DriverNumber: null
                  UserId: 1
        "400":
          description: Bad request. The request is invalid.
          content:
            application/json: {}
        "401":
          description: Unauthorized. The request lacks valid authentication credentials.
          content:
            application/json: {}
        "404":
          description: The specified user was not found, is not active, or the employee ID
            is not a valid integer.
          content:
            application/json: {}
        "500":
          description: Internal server error. An unexpected error occurred on the server.
          content:
            application/json: {}
      deprecated: false
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/users/[^/]+/?$
components:
  schemas:
    UserRecord:
      type: object
      description: A wrapper object containing a user and supplemental hypermedia links.
      properties:
        user:
          $ref: "#/components/schemas/User"
        _links:
          $ref: "#/components/schemas/UserLinks"
    User:
      type: object
      description: A REVEAL user record.
      properties:
        FirstName:
          type: string
          description: The first name of the user.
          example: Dan
        LastName:
          type: string
          description: The last name of the user.
          example: Bowyer
        EmailAddress:
          type: string
          description: The email address for the user. The email address is also the
            REVEAL username login and is mandatory when creating a user record.
          example: user@example.com
        EmployeeId:
          type: integer
          nullable: true
          description: Employee ID is the unique identifier for the user within REVEAL.
            The Employee ID is not a mandatory field within the REVEAL account,
            but it is required for the API.
          example: 982736342
        MobileNumber:
          type: string
          nullable: true
          description: The phone number for the user.
          example: null
        IsAdministrator:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. True indicates
            that the user is an Administrator for the referenced REVEAL account.
            Administrator is the highest level role within a REVEAL account.
          example: false
        IsRegionalAdministrator:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. This field can
            only be set to true if the corresponding REVEAL account is enabled
            with Regional Administration permission.
          example: true
        Role:
          type: string
          nullable: true
          description: Role can be NULL if the user is an Administrator or a Regional
            Admin. If the user is not an administrator, then the name of the
            role applied to the user is returned. Roles are created within the
            REVEAL account's Admin section.
          example: null
        TimeZone:
          type: string
          nullable: true
          description: The time zone selection that the user has configured for how time
            should be represented when logged into REVEAL. If NULL, the user's
            time zone is set to the Account Preferences selection. Time Zone
            requests and responses follow ISO time zone abbreviations.
          example: Eastern Standard Time
        Region:
          type: string
          nullable: true
          description: The Region selection for the user. Region requests and responses
            follow ISO alpha 3 country codes for the list of countries currently
            supported by REVEAL.
          example: USA
        Language:
          type: string
          nullable: true
          description: The Language selection for the user. Language requests and
            responses follow IETF language tags for the list of languages
            currently supported by REVEAL.
          example: en-US
        IsDriver:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. When creating or
            editing a user, the user can be specified to also appear as a Driver
            within the REVEAL account. If the API user requests for a User to
            also be a Driver, a unique Driver Number must also be provided.
          example: false
        DriverNumber:
          type: string
          nullable: true
          description: The Driver Number is the unique identifier that will be used to
            reference the driver within the API. The Driver Number is not a
            mandatory field within the REVEAL account, but is required for the
            API.
          example: null
        UserId:
          type: integer
          description: An integer that serves as a primary key, uniquely identifying each
            record in the table.
          example: 1
    UserLinks:
      type: object
      nullable: true
      description: The links provided enable the integration user to gather additional
        meta data for a User record. The groups link provides details on which
        groups the User record belongs to within the REVEAL account.
      properties:
        self:
          $ref: "#/components/schemas/HyperlinkRef"
        groups:
          $ref: "#/components/schemas/HyperlinkRef"
    HyperlinkRef:
      type: object
      properties:
        href:
          type: string
          description: The hyperlink reference URL.
```
