Fetching data...
Developer API Reference
Build powerful integrations with our platform APIs.
Fetching data...
Build powerful integrations with our platform APIs.
Build powerful integrations with our platform APIs.
Dynamic API reference synchronized with our latest backend endpoints.
/api/v1/audit-logsFetch system activity and audit logs for the tenant, primarily intended for SIEM integration.
actionstringFilter by specific action (e.g., USER_LOGIN, CANDIDATE_DELETED)
sincestringFetch logs created after this timestamp
limitintegerMaximum number of logs to return (max 100)
offsetintegerPagination offset
Example Request
bashcurl -X GET "https://your-tenant.peoplelensai.com/api/v1/audit-logs" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" Example Response
json{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"action": "string",
"entity_type": "string",
"entity_id": "string",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"details": {},
"created_at": "2026-03-01T10:35:39.817Z"
}
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0
}
}/api/v1/users/{id}Retrieve a specific user by ID.
idRequiredstringExample Request
bashcurl -X GET "https://your-tenant.peoplelensai.com/api/v1/users/{id}" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" /api/v1/users/{id}Soft delete/deactivate a user from the tenant.
idRequiredstringExample Request
bashcurl -X DELETE "https://your-tenant.peoplelensai.com/api/v1/users/{id}" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" /api/v1/usersRetrieve a list of active users in the tenant.
emailstringFilter by exact email
limitintegerExample Request
bashcurl -X GET "https://your-tenant.peoplelensai.com/api/v1/users" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" Example Response
json{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"email": "string",
"first_name": "string",
"last_name": "string",
"role": "string"
}
]
}/api/v1/usersCreate or provision a new user in the tenant with a specific role via email invitation.
emailRequiredstringfirst_nameRequiredstringlast_nameRequiredstringrolestringRole: Recruiter, HiringManager, Interviewer, Administrator
Example Request
bashcurl -X POST "https://your-tenant.peoplelensai.com/api/v1/users" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"email":"user@example.com","first_name":"string","last_name":"string","role":"string"}'