Fetch More Profiles

View as Markdown
`POST /sourcing-session/:sessionId/fetch-more` Triggers a new search batch on an existing session — useful when you've gone through the current results and want fresh candidates without changing the queries. ## Path Parameters | Name | Type | Description | | --- | --- | --- | | sessionId | string | Session ObjectId. | ## Headers | Key | Value | | --- | --- | | x-fj-api-key | fjk_ | | Content-Type | application/json | ## Body Empty JSON object: `{}` ## Response (200) Poll **Get Session Details** until `profileMatchingStatus` flips to `done`, then call **Get Profiles for Session**. ``` json { "statusCode": 200, "data": { "profileMatchingStatus": "fetching_more" }, "message": "Fetching more profiles", "status": "SUCCESS" } ``` ## cURL Replace `fjk_YOUR_API_KEY_HERE` and , then paste and run: ``` bash curl -X POST "https://prod.api.futurejobs.ai/api/v1/wl/sourcing-session/<SESSION_ID>/fetch-more" \ -H "x-fj-api-key: fjk_YOUR_API_KEY_HERE" \ -H "Content-Type: application/json" \ -d &#x27;{}&#x27; ``` ## Errors - `401 Unauthorized` - `402 Payment Required` — insufficient credits. - `404 Not Found` — session not found.

Authentication

x-fj-api-keystring
API Key authentication via header

Request

This endpoint expects an object.

Response headers

X-Powered-Bystring
X-Request-Idstring
Access-Control-Allow-Credentialsstring
RateLimit-Policystring
RateLimit-Limitstring
RateLimit-Remainingstring
RateLimit-Resetstring
ETagstring

Response

OK
statusCodeinteger
dataobject
messagestring
statusstring