---
title: "Retrieve the primary group for a vehicle."
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getVehiclePrimaryGroup"
---

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

# Retrieve the primary group for a vehicle.

`GET` `/cmd/v1/vehicles/{vehiclenumber}/primarygroup`

Operation ID: `getVehiclePrimaryGroup`

## 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 the primary group associated with the given Vehicle Number.

## Path parameters

- `vehiclenumber` (string, required) - The Vehicle Number; the unique identifier used to reference the vehicle within the API.

## Responses

- `200` - Successfully retrieved the vehicle's primary group.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `500` - Internal server error.

## 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/vehicles/{vehiclenumber}/primarygroup:
    get:
      summary: Retrieve the primary group for a vehicle.
      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 the primary group associated with the given Vehicle Number.
      operationId: getVehiclePrimaryGroup
      tags:
        - Vehicle API [Legacy]
      parameters:
        - name: vehiclenumber
          in: path
          required: true
          description: The Vehicle Number; the unique identifier used to reference the
            vehicle within the API.
          schema:
            type: string
            example: "890001"
      responses:
        "200":
          description: Successfully retrieved the vehicle's primary group.
          content:
            application/json:
              schema:
                type: object
                description: A vehicle's primary group, as returned by the GET primary group
                  method.
                properties:
                  VehicleNumber:
                    type: string
                    description: The Vehicle Number used in the request.
                    example: "890001"
                  PrimaryGroupName:
                    type: string
                    description: The name of the vehicle's primary group.
                    example: North Region
                  PrimaryGroupId:
                    type: string
                    description: The Group ID of the vehicle's primary group; the unique identifier
                      assigned when creating and modifying groups within
                      REVEAL's Admin section.
                    example: "12345"
                title: VehiclePrimaryGroup
              example:
                VehicleNumber: "890001"
                PrimaryGroupName: North Region
                PrimaryGroupId: "12345"
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
          content:
            application/json: {}
        "500":
          description: Internal server error.
          content:
            application/json: {}
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/vehicles/[^/]+/primarygroup/?$
```
