Preview a close
curl --request GET \
--url https://api.hotfix.jobs/v1/employer/jobs/{job_id}/close-preview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hotfix.jobs/v1/employer/jobs/{job_id}/close-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hotfix.jobs/v1/employer/jobs/{job_id}/close-preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"open": {
"new": 5,
"considering": 2,
"interviewing": 1
},
"pending_links": 1,
"booked_interviews": 1,
"template_id": "5c1f0d2a-9b8e-4c7d-a6f5-e4d3c2b1a098",
"can_email": true
}Jobs
Preview a close
Who is still in a job’s pipeline and what closing would do about them, before you call Close a job: open applications by status, scheduling links that closing cancels, interviews still booked (closing leaves them on the calendar), the Position closed email, and whether Hotfix can send mail for your company.
GET
/
v1
/
employer
/
jobs
/
{job_id}
/
close-preview
Preview a close
curl --request GET \
--url https://api.hotfix.jobs/v1/employer/jobs/{job_id}/close-preview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hotfix.jobs/v1/employer/jobs/{job_id}/close-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hotfix.jobs/v1/employer/jobs/{job_id}/close-preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"open": {
"new": 5,
"considering": 2,
"interviewing": 1
},
"pending_links": 1,
"booked_interviews": 1,
"template_id": "5c1f0d2a-9b8e-4c7d-a6f5-e4d3c2b1a098",
"can_email": true
}Authorizations
ApiKeyBearerAuth
Response
200 - application/json
Success