Get Profiles for Session
`GET /sourcing-session/:sessionId/profiles`
Returns paginated candidate profiles matched in the session. Call this after `profileMatchingStatus` is `done`.
## Path Parameters
| Name | Type | Description |
| --- | --- | --- |
| sessionId | string | Session ObjectId. |
## Query Parameters
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| page | number | 1 | Page number. |
| limit | number | 20 | Results per page. |
## Headers
| Key | Value |
| --- | --- |
| x-fj-api-key | fjk_ |
## Response (200)
``` json
{
"statusCode": 200,
"data": {
"docs": [
{
"_id": "<CANDIDATE_ID>",
"finalScore": 5,
"profileAnalysis": {
"highlights": [
{ "Category": "SKILLS", "Highlight": "C#", "Icon": "BULB" }
],
"recommendation": "Strong fit for .NET development roles."
},
"profile": {
"name": "Roshni Sabhwani",
"region": "Pune District, Maharashtra, India",
"years_of_experience_raw": 4,
"skills": ["C#", "ASP.NET MVC"],
"current_employers_object": [
{ "company_name": "Infosys", "job_title": ".NET Developer" }
]
},
}
],
"totalDocs": 45,
"limit": 20,
"page": 1,
"totalPages": 3,
"hasNextPage": true,
"nextPage": 2
},
"status": "SUCCESS"
}
```
## cURL
Replace `fjk_YOUR_API_KEY_HERE` and , then paste and run:
``` bash
curl "https://prod.api.futurejobs.ai/api/v1/wl/sourcing-session/<SESSION_ID>/profiles?page=1&limit=20" \
-H "x-fj-api-key: fjk_YOUR_API_KEY_HERE"
```
## Errors
- `401 Unauthorized`
- `404 Not Found` — session not found.
Authentication
x-fj-api-keystring
API Key authentication via header
Query parameters
page
limit
Response headers
X-Powered-By
X-Request-Id
Access-Control-Allow-Credentials
RateLimit-Policy
RateLimit-Limit
RateLimit-Remaining
RateLimit-Reset
Cache-Control
Pragma
Expires
ETag
Response
OK
statusCode
data
message
status