Candidate Endpoints
API endpoints for Applicant Tracking System (ATS) — candidates, interviews, and pipelines.
Candidates
List Candidates
GET /api/candidate?take=20&skip=0&relations[]=user&relations[]=source
Authorization: Bearer {token}
Response (200 OK):
{
"items": [
{
"id": "...",
"rating": 4.5,
"status": "APPLIED",
"appliedDate": "2024-01-10T00:00:00.000Z",
"hiredDate": null,
"rejectDate": null,
"user": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com"
},
"source": { "name": "LinkedIn" },
"organizationId": "..."
}
],
"total": 15
}
Create Candidate
POST /api/candidate
Authorization: Bearer {token}
Content-Type: application/json
{
"user": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com"
},
"password": "temporaryPassword",
"appliedDate": "2024-01-10",
"organizationId": "org-uuid"
}
Update Candidate
PUT /api/candidate/{id}
Authorization: Bearer {token}
Content-Type: application/json
{
"rating": 4.5,
"status": "INTERVIEWED"
}
Candidate Statuses
| Status | Description |
|---|---|
APPLIED | Initial application |
REJECTED | Application rejected |
INTERVIEWED | Interview completed |
HIRED | Candidate hired |
Candidate Interviews
List Interviews
GET /api/candidate-interview?where[candidateId]={candidate-id}
Authorization: Bearer {token}