listDriverGroups API Endpoint
The listDriverGroups
API allows Zendrive customers to look up driver groups and obtain a list of group Ids.
List Driver Groups
GET
https://api.zendrive.com/v4/groups -H
Look up driver groups and get a list of group IDs.
Query Parameters
Name
Type
Description
start_date
String
Provide a date as YYYY-MM-DD
.
interval_type
String
Choose day
, week
, or month
Headers
Name
Type
Description
Authorization*
String
API KEY <APIKEY>
{
"group_ids": [
"groupid1",
"groupid2",
"groupidn",
]
}
Response Fields
Response field
Description
group_ids
A collection of all group IDs in the dataset. A group ID is specified in Zendrive SDK initialization to tag a driver as part of a group.
Sample Response
{
"group_ids":
"groupid1",
"groupid2",
"groupidn",
]
}
Was this helpful?