People
Create a new member
Adds a new member to the authenticated organization. The user must already exist in the system.
post/v1/people
Request body
Example request
{
"userId": "usr_abc123def456",
"role": "admin",
"department": "it",
"isActive": true,
"fleetDmLabelId": 123,
"jobTitle": "Software Engineer"
}Response
Member created successfully
Example response
{
"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"
}
]
}