---
title: "Get a specific group"
url: "https://developers.vzconnect.com/apis/group-api-1/versions/1abd2768-7ba0-4b09-8b60-156957ef21ce/operations/GET__groups__groupid_"
---

> Full API specification: https://developers.vzconnect.com/apis/group-api-1/versions/1abd2768-7ba0-4b09-8b60-156957ef21ce.md

# Get a specific group

`GET` `/cmd/v1/groups/{groupid}`

Operation ID: `GET__groups__groupid_`

Retrieve a group within a fleet by the Group ID. The integrated user can verify the Group Name that corresponds with a Group ID.

## Path parameters

- `groupid` (string, required) - The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

## Responses

- `200` - Successfully retrieved the specified group.
- `400` - Bad request. No group was found for the given Group ID.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `500` - Internal server error. An unexpected error occurred on the server.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Group API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/groups/{groupid}:
    get:
      tags:
        - Group API
      summary: Get a specific group
      description: Retrieve a group within a fleet by the Group ID. The integrated
        user can verify the Group Name that corresponds with a Group ID.
      parameters:
        - schema:
            type: string
            example: CPTG1
          name: groupid
          in: path
          required: true
          description: The Group ID, the unique alphanumeric identifier associated with
            the group created within the REVEAL account. Must be unique within
            the account.
      operationId: GET__groups__groupid_
      responses:
        "200":
          description: Successfully retrieved the specified group.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Group"
              example:
                Name: CPTESTGROUP
                Id: CPTG1
        "400":
          description: Bad request. No group was found for the given Group ID.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized. The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal server error. An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      deprecated: false
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/groups/[^/]+/?$
components:
  schemas:
    Group:
      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
    Error:
      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.
```
