curl --location --request GET 'https://api.hirempire.com/v1/job-sources?job_id={job_id}' \
--header 'Authorization: Bearer sk-••••••••••••'
const response = await fetch('https://api.hirempire.com/v1/job-sources?job_id=' + jobId, {
method: 'GET',
headers: { 'Authorization': 'Bearer sk-••••••••••••' }
});
const data = await response.json();
import requests
url = "https://api.hirempire.com/v1/job-sources"
headers = { "Authorization": "Bearer sk-••••••••••••" }
params = { "job_id": "..." }
response = requests.get(url, headers=headers, params=params)
print(response.json())
{
"success": true,
"job_id": "8fc4ea3c-ecc4-4a92-96fd-a14436a79a1b",
"total_sources": 2,
"sources": [
{
"id": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"source_name": "LinkedIn",
"source_url": "https://jobs.hirempire.com/acme/1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"code": "a3f9",
"visits": 142,
"created_at": "2026-06-18T10:00:00.000Z"
},
{
"id": "9z8y7x6w-5v4u-3210-fedc-ba0987654321",
"source_name": "Referral",
"source_url": "https://jobs.hirempire.com/acme/9z8y7x6w-5v4u-3210-fedc-ba0987654321",
"code": "b7c1",
"visits": 36,
"created_at": "2026-06-19T08:14:00.000Z"
}
]
}
Jobs
Get job sources
List the tracked source URLs configured for a specific job
GET
/
v1
/
job-sources
curl --location --request GET 'https://api.hirempire.com/v1/job-sources?job_id={job_id}' \
--header 'Authorization: Bearer sk-••••••••••••'
const response = await fetch('https://api.hirempire.com/v1/job-sources?job_id=' + jobId, {
method: 'GET',
headers: { 'Authorization': 'Bearer sk-••••••••••••' }
});
const data = await response.json();
import requests
url = "https://api.hirempire.com/v1/job-sources"
headers = { "Authorization": "Bearer sk-••••••••••••" }
params = { "job_id": "..." }
response = requests.get(url, headers=headers, params=params)
print(response.json())
{
"success": true,
"job_id": "8fc4ea3c-ecc4-4a92-96fd-a14436a79a1b",
"total_sources": 2,
"sources": [
{
"id": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"source_name": "LinkedIn",
"source_url": "https://jobs.hirempire.com/acme/1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"code": "a3f9",
"visits": 142,
"created_at": "2026-06-18T10:00:00.000Z"
},
{
"id": "9z8y7x6w-5v4u-3210-fedc-ba0987654321",
"source_name": "Referral",
"source_url": "https://jobs.hirempire.com/acme/9z8y7x6w-5v4u-3210-fedc-ba0987654321",
"code": "b7c1",
"visits": 36,
"created_at": "2026-06-19T08:14:00.000Z"
}
]
}
Query Parameters
string
required
The job UUID to fetch sources for.
Authentication
string
required
Bearer authentication header of the form
Bearer <token>.curl --location --request GET 'https://api.hirempire.com/v1/job-sources?job_id={job_id}' \
--header 'Authorization: Bearer sk-••••••••••••'
const response = await fetch('https://api.hirempire.com/v1/job-sources?job_id=' + jobId, {
method: 'GET',
headers: { 'Authorization': 'Bearer sk-••••••••••••' }
});
const data = await response.json();
import requests
url = "https://api.hirempire.com/v1/job-sources"
headers = { "Authorization": "Bearer sk-••••••••••••" }
params = { "job_id": "..." }
response = requests.get(url, headers=headers, params=params)
print(response.json())
Response
boolean
string
The job UUID.
integer
array
Array of source link objects.
Show Source object properties
Show Source object properties
string
UUID of the source link.
string
Human-readable source label (e.g.
LinkedIn, Indeed, Referral).string
Publicly shareable URL for this source. Visits to this URL increment the source’s
visits counter.string
Internal 4-character opaque code (kept for tracking continuity; not used in the public URL anymore).
integer
Number of times the source URL has been opened.
string
ISO 8601 timestamp when the source link was created.
{
"success": true,
"job_id": "8fc4ea3c-ecc4-4a92-96fd-a14436a79a1b",
"total_sources": 2,
"sources": [
{
"id": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"source_name": "LinkedIn",
"source_url": "https://jobs.hirempire.com/acme/1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"code": "a3f9",
"visits": 142,
"created_at": "2026-06-18T10:00:00.000Z"
},
{
"id": "9z8y7x6w-5v4u-3210-fedc-ba0987654321",
"source_name": "Referral",
"source_url": "https://jobs.hirempire.com/acme/9z8y7x6w-5v4u-3210-fedc-ba0987654321",
"code": "b7c1",
"visits": 36,
"created_at": "2026-06-19T08:14:00.000Z"
}
]
}
Error Responses
400 Bad Request
{ "success": false, "error": "Query parameter 'job_id' is required." }
401 Unauthorized
{ "success": false, "error": "Invalid token" }
404 Not Found
{ "success": false, "error": "Job not found" }
Was this page helpful?
⌘I