curl --request POST \
--url https://api.instaview.sk/sourcing \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Senior Backend Engineers – FinTech",
"jobDescription": "We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…",
"location": "San Francisco, CA",
"query": "Senior Node.js engineer fintech",
"limit": 20,
"webhookId": "123e4567-e89b-12d3-a456-426614174000"
}
'import requests
url = "https://api.instaview.sk/sourcing"
payload = {
"title": "Senior Backend Engineers – FinTech",
"jobDescription": "We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…",
"location": "San Francisco, CA",
"query": "Senior Node.js engineer fintech",
"limit": 20,
"webhookId": "123e4567-e89b-12d3-a456-426614174000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Senior Backend Engineers – FinTech',
jobDescription: 'We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…',
location: 'San Francisco, CA',
query: 'Senior Node.js engineer fintech',
limit: 20,
webhookId: '123e4567-e89b-12d3-a456-426614174000'
})
};
fetch('https://api.instaview.sk/sourcing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instaview.sk/sourcing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Senior Backend Engineers – FinTech',
'jobDescription' => 'We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…',
'location' => 'San Francisco, CA',
'query' => 'Senior Node.js engineer fintech',
'limit' => 20,
'webhookId' => '123e4567-e89b-12d3-a456-426614174000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.instaview.sk/sourcing"
payload := strings.NewReader("{\n \"title\": \"Senior Backend Engineers – FinTech\",\n \"jobDescription\": \"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…\",\n \"location\": \"San Francisco, CA\",\n \"query\": \"Senior Node.js engineer fintech\",\n \"limit\": 20,\n \"webhookId\": \"123e4567-e89b-12d3-a456-426614174000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.instaview.sk/sourcing")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Senior Backend Engineers – FinTech\",\n \"jobDescription\": \"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…\",\n \"location\": \"San Francisco, CA\",\n \"query\": \"Senior Node.js engineer fintech\",\n \"limit\": 20,\n \"webhookId\": \"123e4567-e89b-12d3-a456-426614174000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.instaview.sk/sourcing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Senior Backend Engineers – FinTech\",\n \"jobDescription\": \"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…\",\n \"location\": \"San Francisco, CA\",\n \"query\": \"Senior Node.js engineer fintech\",\n \"limit\": 20,\n \"webhookId\": \"123e4567-e89b-12d3-a456-426614174000\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"requestId": "req_550e8400-e29b-41d4-a716-446655440000",
"status": "processing",
"message": "Sourcing run accepted and queued for processing.",
"webhookId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:01:00.000Z"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}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.
curl --request POST \
--url https://api.instaview.sk/sourcing \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Senior Backend Engineers – FinTech",
"jobDescription": "We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…",
"location": "San Francisco, CA",
"query": "Senior Node.js engineer fintech",
"limit": 20,
"webhookId": "123e4567-e89b-12d3-a456-426614174000"
}
'import requests
url = "https://api.instaview.sk/sourcing"
payload = {
"title": "Senior Backend Engineers – FinTech",
"jobDescription": "We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…",
"location": "San Francisco, CA",
"query": "Senior Node.js engineer fintech",
"limit": 20,
"webhookId": "123e4567-e89b-12d3-a456-426614174000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Senior Backend Engineers – FinTech',
jobDescription: 'We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…',
location: 'San Francisco, CA',
query: 'Senior Node.js engineer fintech',
limit: 20,
webhookId: '123e4567-e89b-12d3-a456-426614174000'
})
};
fetch('https://api.instaview.sk/sourcing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instaview.sk/sourcing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Senior Backend Engineers – FinTech',
'jobDescription' => 'We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…',
'location' => 'San Francisco, CA',
'query' => 'Senior Node.js engineer fintech',
'limit' => 20,
'webhookId' => '123e4567-e89b-12d3-a456-426614174000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.instaview.sk/sourcing"
payload := strings.NewReader("{\n \"title\": \"Senior Backend Engineers – FinTech\",\n \"jobDescription\": \"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…\",\n \"location\": \"San Francisco, CA\",\n \"query\": \"Senior Node.js engineer fintech\",\n \"limit\": 20,\n \"webhookId\": \"123e4567-e89b-12d3-a456-426614174000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.instaview.sk/sourcing")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Senior Backend Engineers – FinTech\",\n \"jobDescription\": \"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…\",\n \"location\": \"San Francisco, CA\",\n \"query\": \"Senior Node.js engineer fintech\",\n \"limit\": 20,\n \"webhookId\": \"123e4567-e89b-12d3-a456-426614174000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.instaview.sk/sourcing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Senior Backend Engineers – FinTech\",\n \"jobDescription\": \"We are looking for a Senior Backend Engineer with 5+ years of Node.js experience…\",\n \"location\": \"San Francisco, CA\",\n \"query\": \"Senior Node.js engineer fintech\",\n \"limit\": 20,\n \"webhookId\": \"123e4567-e89b-12d3-a456-426614174000\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"requestId": "req_550e8400-e29b-41d4-a716-446655440000",
"status": "processing",
"message": "Sourcing run accepted and queued for processing.",
"webhookId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:01:00.000Z"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}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
{
"title": "Senior Backend Engineer",
"jobDescription": "We are looking for a Senior Backend Engineer with 5+ years of Node.js and TypeScript experience, strong PostgreSQL skills, and familiarity with AWS."
}
Full Request
{
"title": "Senior Staff ML Engineer",
"jobDescription": "We are seeking a Staff Machine Learning Engineer to design and scale our agentic coding infrastructure. Experience with prompt engineering pipelines, LLM fine-tuning, vector search, and latency optimization is highly required.",
"location": "Remote, USA",
"query": "Prioritize candidates with active contributions to major LLM libraries or frameworks like LangChain, LlamaIndex, or vLLM.",
"limit": 15,
"webhookId": "3f9a12c7-44b8-4d32-b71f-e29a7d1e0f5c"
}
Response (202 Accepted)
{
"success": true,
"requestId": "req_9f3b827e-8c31-4bda-a7a2-b2d99d14f4e2",
"status": "processing",
"message": "Sourcing run accepted and queued for processing.",
"webhookId": "3f9a12c7-44b8-4d32-b71f-e29a7d1e0f5c",
"createdAt": "2026-05-20T13:20:45.000Z"
}
Error Responses
402 — Insufficient Credits (Prepaid)
{
"statusCode": 402,
"error": "INSUFFICIENT_FUNDS",
"message": "Insufficient credits. Need 15, have 3."
}
403 — Webhook Ownership Mismatch
{
"statusCode": 403,
"error": "WEBHOOK_COMPANY_MISMATCH",
"message": "The provided webhookId belongs to a different company."
}
422 — Webhook Not Subscribed to Sourcing Events
{
"statusCode": 422,
"error": "WEBHOOK_EVENT_NOT_SUBSCRIBED",
"message": "Webhook configuration must subscribe to at least one sourcing event (SOURCING_COMPLETED or SOURCING_FAILED)."
}
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"