Returns the list of Employees associated with a dealership
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
API Parameters
id
integer
required
The id of the dealershipsort
string
enum
The sort order for each sort field MUST be ascending unless it is prefixed with a minus (U+002D HYPHEN-MINUS, "-"), in which case it MUST be descending.confirmedemailfirst_name
Allowed:confirmed``email``first_nameactive
boolean
Filter employees to those that are either active or inactiverole
string
Filter employees who have a specific rolepage
integer
Defaults to 1
Page number to fetchper_page
integer
Defaults to 30
Number of items per pageapi-version
integer
required
Target API versionaccept
string
enum
Defaults to application/json
Generated from available response content typesAllowed:
application/json``text/csv
API Responses
``200 Success
array of objects
Employee Object
id
integer
requiredemail
string
requiredconfirmed
boolean
requiredactive
boolean
requiredfirst_name
string
requiredlast_name
string
requiredphone_number
string
requiredsession_replays_enabled_until
date-time | null
required
When Datadog session replay enforcement expires for the useris_driver
boolean
requiredroles
array of objects
required
Role Object
id
number
required
the ID of the Rolename
string
required
the NAME of the Role
Error Codes
- 401 Unauthorized
- 403 Forbidden
- 404 Not found
- 406 Not Acceptable
Example cURL Request
curl --request GET \
--url 'https://api.dealerware.com/admin/dealerships/id/employees?page=1&per_page=30' \
--header 'accept: application/json'
Example Response
[
{
"id": 42,
"email": "dana.scully@fbi.gov",
"confirmed": false,
"active": true,
"first_name": "Dana",
"last_name": "Scully",
"phone_number": "8002255324",
"session_replays_enabled_until": "2026-04-10T18:30:00Z",
"is_driver": false,
"roles": [
{
"id": 1,
"name": "admin"
},
{
"id": 2,
"name": "driver"
}
]
}
]
Updated3 months ago