Initiate Sourcing Run
Starts an asynchronous AI-powered candidate sourcing pipeline. Returns immediately with a requestId and status ‘processing’. Results are delivered via webhook or by polling GET /sourcing//results.
Starts an asynchronous AI-powered candidate sourcing pipeline. Returns immediately with aDocumentation Index
Fetch the complete documentation index at: https://docs.instaview.sk/llms.txt
Use this file to discover all available pages before exploring further.
requestId and status: "processing".
Overview
The sourcing agent runs headless — it derives its own Ideal Candidate Profile (ICP) from your job description, compiles a search query, and enriches matching profiles in parallel batches. No clarifying questions are asked; the pipeline runs fully automatically. Results are delivered via webhooks (recommended) or by polling GET /sourcing//results.Billing Pre-Flight
Before a sourcing run is accepted, InstaView validates your billing state against the requestedlimit:
- Prepaid accounts: your credit balance must be ≥
limitcredits. If not, the API returns402 Payment Requiredbefore any processing starts. - Postpaid accounts: the run starts immediately; credits are recorded and invoiced at the end of the billing cycle.
Webhook Delivery
To receive results without polling, pass awebhookId referencing a pre-registered WebhookConfig that subscribes to at least one of SOURCING_COMPLETED or SOURCING_FAILED. The webhook config must belong to the same company as the authenticating API key.
Examples
Minimal Request
Full Request
Response (202 Accepted)
Error Responses
402 — Insufficient Credits (Prepaid)
403 — Webhook Ownership Mismatch
422 — Webhook Not Subscribed to Sourcing Events
Authorizations
API key for authentication using Bearer scheme
Body
Human-readable title for this sourcing run.
200"Senior Backend Engineers – FinTech"
Full job description used to build the candidate-search query.
10000"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…"
Target location for the search (e.g. 'San Francisco, CA' or 'Remote').
200"San Francisco, CA"
Override for the free-text search query sent to the sourcing agent. When omitted the agent derives it from jobDescription.
500"Senior Node.js engineer fintech"
Maximum number of candidates to return (default: 20, max: 100).
1 <= x <= 10020
UUID of a WebhookConfig to notify when the run completes or fails. The webhook must belong to the same company and subscribe to at least one sourcing event.
"123e4567-e89b-12d3-a456-426614174000"
Response
Sourcing run accepted and queued for processing
Whether the request was accepted for processing.
true
Unique external identifier for this sourcing run.
"req_550e8400-e29b-41d4-a716-446655440000"
Current status of the run.
processing, completed, failed "processing"
Human-readable message.
"Sourcing run accepted and queued for processing."
UUID of the webhook configuration that will receive completion events.
"123e4567-e89b-12d3-a456-426614174000"
ISO 8601 timestamp when the run was created (POST only).
"2025-01-01T00:00:00.000Z"
ISO 8601 timestamp when the run was last updated (PATCH only).
"2025-01-01T00:01:00.000Z"