Get a job by id
curl --request GET \
--url https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}import requests
url = "https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}', 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://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 123,
"title": "<string>",
"location": "<string>",
"state_code": "<string>",
"country": {
"name": "<string>",
"code": "<string>"
},
"salary": "<string>",
"description": {
"html": "<string>",
"text": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"type": {
"type": "<string>",
"name": "<string>"
},
"experience": {
"type": "<string>",
"name": "<string>"
},
"language": {
"name": "<string>",
"code": "<string>"
},
"published_date": "2023-11-07T05:31:56Z",
"created_date": "2023-11-07T05:31:56Z",
"hosted_url": "<string>",
"compensation_tiers": [
{
"label": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"min_value": 123,
"max_value": 123,
"information": "<string>"
}
]
}Public Jobs API
Get job by id
Get a job by id
GET
/
api
/
v2
/
jobs
/
{jobId}
Get a job by id
curl --request GET \
--url https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}import requests
url = "https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}', 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://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://hirehive-testing-account.hirehive.com/api/v2/jobs/{jobId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 123,
"title": "<string>",
"location": "<string>",
"state_code": "<string>",
"country": {
"name": "<string>",
"code": "<string>"
},
"salary": "<string>",
"description": {
"html": "<string>",
"text": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"type": {
"type": "<string>",
"name": "<string>"
},
"experience": {
"type": "<string>",
"name": "<string>"
},
"language": {
"name": "<string>",
"code": "<string>"
},
"published_date": "2023-11-07T05:31:56Z",
"created_date": "2023-11-07T05:31:56Z",
"hosted_url": "<string>",
"compensation_tiers": [
{
"label": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"min_value": 123,
"max_value": 123,
"information": "<string>"
}
]
}Query Parameters
The source of the view/application that will be attributed in reports. Default CareerSite
Response
OK
The id of the job, format job_abc123.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The date the job was last published. This will be null if the job was never published.
The date the job was created.
Show child attributes
Show child attributes
Was this page helpful?
⌘I