Skip to main content
GET
Get Job Matches

Endpoint

Base URL: http://localhost:3000/api/v1
This endpoint requires authentication and Company role.

Authentication

Include the access token in the Authorization header:

Path Parameters

string
required
The unique identifier of the job posting (UUID)

Query Parameters

number
Minimum match score threshold (0-100)
enum
Filter by candidate availability status. Options: OPEN_TO_WORK, NOT_LOOKING, PASSIVELY_LOOKING
number
default:"1"
Page number for pagination
number
default:"10"
Number of items per page

Response

Success Response (200 OK)

Response Fields

array
List of candidate matches sorted by match score (highest first).
number
Total number of candidate matches available.
number
Current page number.
number
Number of items per page.
number
Total number of pages available.

Error Responses

401 Unauthorized

403 Forbidden

400 Bad Request - Validation Error

Notes

Match Score Calculation: Candidates are sorted by match score in descending order. Candidates with higher scores appear first in the results, indicating better compatibility with the job requirements.
Availability Filtering: Use the availabilityStatus parameter to filter candidates based on their availability. OPEN_TO_WORK candidates are actively looking and may respond faster to outreach.
Minimum Score Filtering: Use the minScore parameter to filter out low-quality matches. For example, ?minScore=60 will only return candidates with a match score of 60 or higher, showing only highly compatible candidates.
Job Ownership: You can only retrieve matches for jobs that belong to your company. Attempting to access matches for jobs from other companies will result in a 404 error.