---
title: "Get groups for a user"
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/GET__groups_users__employeeid_"
---

> Full API specification: https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2.md

# Get groups for a user

`GET` `/cmd/v1/groups/users/{employeeid}`

Operation ID: `GET__groups_users__employeeid_`

## Before you start Before you make your first API call, make sure you have the following: - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace. - You have the Client ID and Client Secret for your integration. - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken). > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy). ## Purpose Retrieve all groups the user belongs to. Multiple groups can be returned for each Employee ID since users can belong to multiple groups within REVEAL.

## Path parameters

- `employeeid` (integer, required) - The Employee ID, the unique identifier for the user within REVEAL.

## Responses

- `200` - Successfully retrieved the groups for the specified user. An empty array is returned if the user is not assigned to any group.
- `400` - Bad request. No user was found for the given Employee ID.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `404` - The Employee ID is not a number.
- `500` - Internal server error. An unexpected error occurred on the server.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Verizon Connect API
  version: 1.0.0
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/groups/users/{employeeid}:
    get:
      tags:
        - Group API
      summary: Get groups for a user
      description: |-
        ## Before you start

        Before you make your first API call, make sure you have the following:

        - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
        - You have the Client ID and Client Secret for your integration.
        - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken).

        > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy).

        ## Purpose

        Retrieve all groups the user belongs to. Multiple groups can be returned for each Employee ID since users can belong to multiple groups within REVEAL.
      parameters:
        - schema:
            type: integer
            example: "324234346"
          name: employeeid
          in: path
          required: true
          description: The Employee ID, the unique identifier for the user within REVEAL.
      operationId: GET__groups_users__employeeid_
      responses:
        "200":
          description: Successfully retrieved the groups for the specified user. An empty
            array is returned if the user is not assigned to any group.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  description: A group within the REVEAL account.
                  properties:
                    Name:
                      type: string
                      description: The name of the group created within the REVEAL account.
                      example: CPTESTGROUP
                    Id:
                      type: string
                      description: The unique identifier associated with the group created within the
                        REVEAL account. The Group ID is an alphanumeric field
                        that must be unique within the REVEAL account and is
                        mandatory in order to reference the group through the
                        integration services.
                      example: CPTG1
                  title: Group
              example:
                - Name: Entire Test Fleet1
                  Id: "999997"
                - Name: Entire Test Fleet2
                  Id: "999998"
                - Name: Entire Test Fleet3
                  Id: "999999"
        "400":
          description: Bad request. No user was found for the given Employee ID.
          content:
            application/json:
              schema:
                type: object
                description: Generic error response. The documentation does not define an
                  explicit error body schema.
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error.
                title: Error
        "401":
          description: Unauthorized. The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                type: object
                description: Generic error response. The documentation does not define an
                  explicit error body schema.
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error.
                title: Error
        "404":
          description: The Employee ID is not a number.
          content:
            application/json:
              schema:
                type: object
                description: Generic error response. The documentation does not define an
                  explicit error body schema.
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error.
                title: Error
        "500":
          description: Internal server error. An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                type: object
                description: Generic error response. The documentation does not define an
                  explicit error body schema.
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error.
                title: Error
      deprecated: false
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/groups/users/[^/]+/?$
```
