List workforce members
Changed onList employees and contractors with onboarding, training, device, and compliance status used for people-security controls.
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Query parameters
Response
People retrieved successfully
Example response
{
"data": [
{
"id": "mem_abc123def456",
"organizationId": "org_abc123def456",
"userId": "usr_abc123def456",
"role": "admin",
"createdAt": "2024-01-01T00:00:00Z",
"department": "it",
"isActive": true,
"user": {
"id": "usr_abc123def456",
"name": "John Doe",
"email": "john.doe@company.com",
"emailVerified": true,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-15T00:00:00Z"
},
"backgroundCheckRequests": [
{
"id": "bcr_abc123def456",
"status": "invited"
}
]
}
],
"count": 25,
"authenticatedUser": {
"id": "usr_abc123def456",
"email": "user@company.com"
}
}Changes
- info
removed the
adminenum value from the//response property for the response status - info
removed the
govenum value from the//response property for the response status - info
removed the
hrenum value from the//response property for the response status - info
removed the
itenum value from the//response property for the response status - info
removed the
itsmenum value from the//response property for the response status - info
removed the
noneenum value from the//response property for the response status - info
removed the
qmsenum value from the//response property for the response status
- info
- warning
added the new
adminenum value to the//response property for the response status - warning
added the new
govenum value to the//response property for the response status - warning
added the new
hrenum value to the//response property for the response status - warning
added the new
itenum value to the//response property for the response status - warning
added the new
itsmenum value to the//response property for the response status - warning
added the new
noneenum value to the//response property for the response status - warning
added the new
qmsenum value to the//response property for the response status
- warning