Skip to main content
GET
/
v1
/
job-sources
curl --location --request GET 'https://api.hirempire.com/v1/job-sources?job_id={job_id}' \
--header 'Authorization: Bearer sk-••••••••••••'
{
  "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

job_id
string
required
The job UUID to fetch sources for.

Authentication

Authorization
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-••••••••••••'

Response

success
boolean
job_id
string
The job UUID.
total_sources
integer
sources
array
Array of source link objects.
{
  "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" }