v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

List all the groups

get/v1/groups

Query parameters

updated_afterstring date

Specify a date to fetch the groups that were updated after that date.

per_pageinteger

Number of records to return per page.

page_nostring

Denotes the current page number.

Headers

X-Time-Zonestring

Time zone used to format timestamps.

X-Metric-Unitsboolean

Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units

X-User-Idinteger

Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.

Response

200

Example response

{
  "groups": [
    {
      "group": {
        "id": 6,
        "name": "Garden, Electronics & Baby",
        "company_id": 75
      }
    }
  ],
  "pagination": {
    "per_page": 25,
    "page_no": 1,
    "total": 2
  }
}