Create a job
curl --request POST \
--url https://api.talentreview.ai/agents/jobs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"title": "<string>",
"organization_id": "<string>",
"location_id": "<string>",
"salary": "<string>",
"description": "<string>",
"department": "<string>",
"experience": "<string>",
"education": "<string>",
"skills": [
"<string>"
],
"team": "<string>",
"reporting_to": "<string>",
"closing_date": "<string>",
"tags": [
"<string>"
],
"responsibilities": [
"<string>"
],
"resume_score_threshold": 123,
"generate_screening": true,
"project_id": "<string>"
}
'import requests
url = "https://api.talentreview.ai/agents/jobs"
payload = {
"title": "<string>",
"organization_id": "<string>",
"location_id": "<string>",
"salary": "<string>",
"description": "<string>",
"department": "<string>",
"experience": "<string>",
"education": "<string>",
"skills": ["<string>"],
"team": "<string>",
"reporting_to": "<string>",
"closing_date": "<string>",
"tags": ["<string>"],
"responsibilities": ["<string>"],
"resume_score_threshold": 123,
"generate_screening": True,
"project_id": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
organization_id: '<string>',
location_id: '<string>',
salary: '<string>',
description: '<string>',
department: '<string>',
experience: '<string>',
education: '<string>',
skills: ['<string>'],
team: '<string>',
reporting_to: '<string>',
closing_date: '<string>',
tags: ['<string>'],
responsibilities: ['<string>'],
resume_score_threshold: 123,
generate_screening: true,
project_id: '<string>'
})
};
fetch('https://api.talentreview.ai/agents/jobs', 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.talentreview.ai/agents/jobs",
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' => '<string>',
'organization_id' => '<string>',
'location_id' => '<string>',
'salary' => '<string>',
'description' => '<string>',
'department' => '<string>',
'experience' => '<string>',
'education' => '<string>',
'skills' => [
'<string>'
],
'team' => '<string>',
'reporting_to' => '<string>',
'closing_date' => '<string>',
'tags' => [
'<string>'
],
'responsibilities' => [
'<string>'
],
'resume_score_threshold' => 123,
'generate_screening' => true,
'project_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.talentreview.ai/agents/jobs"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"organization_id\": \"<string>\",\n \"location_id\": \"<string>\",\n \"salary\": \"<string>\",\n \"description\": \"<string>\",\n \"department\": \"<string>\",\n \"experience\": \"<string>\",\n \"education\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ],\n \"team\": \"<string>\",\n \"reporting_to\": \"<string>\",\n \"closing_date\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"responsibilities\": [\n \"<string>\"\n ],\n \"resume_score_threshold\": 123,\n \"generate_screening\": true,\n \"project_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.talentreview.ai/agents/jobs")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"organization_id\": \"<string>\",\n \"location_id\": \"<string>\",\n \"salary\": \"<string>\",\n \"description\": \"<string>\",\n \"department\": \"<string>\",\n \"experience\": \"<string>\",\n \"education\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ],\n \"team\": \"<string>\",\n \"reporting_to\": \"<string>\",\n \"closing_date\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"responsibilities\": [\n \"<string>\"\n ],\n \"resume_score_threshold\": 123,\n \"generate_screening\": true,\n \"project_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.talentreview.ai/agents/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"organization_id\": \"<string>\",\n \"location_id\": \"<string>\",\n \"salary\": \"<string>\",\n \"description\": \"<string>\",\n \"department\": \"<string>\",\n \"experience\": \"<string>\",\n \"education\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ],\n \"team\": \"<string>\",\n \"reporting_to\": \"<string>\",\n \"closing_date\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"responsibilities\": [\n \"<string>\"\n ],\n \"resume_score_threshold\": 123,\n \"generate_screening\": true,\n \"project_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"organization": "<string>",
"location": "<string>",
"type": "<string>",
"salary": "<string>",
"experience": "<string>",
"education": "<string>",
"skills": [
"<string>"
],
"closing_date": "<string>"
}{
"code": "not_found",
"message": "job not found",
"hint": "Verify the resource id; list resources first to get valid ids."
}{
"code": "not_found",
"message": "job not found",
"hint": "Verify the resource id; list resources first to get valid ids."
}API Reference
Create a job
Post a new job. Requires an API key with recruiter permissions.
POST
/
agents
/
jobs
Create a job
curl --request POST \
--url https://api.talentreview.ai/agents/jobs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"title": "<string>",
"organization_id": "<string>",
"location_id": "<string>",
"salary": "<string>",
"description": "<string>",
"department": "<string>",
"experience": "<string>",
"education": "<string>",
"skills": [
"<string>"
],
"team": "<string>",
"reporting_to": "<string>",
"closing_date": "<string>",
"tags": [
"<string>"
],
"responsibilities": [
"<string>"
],
"resume_score_threshold": 123,
"generate_screening": true,
"project_id": "<string>"
}
'import requests
url = "https://api.talentreview.ai/agents/jobs"
payload = {
"title": "<string>",
"organization_id": "<string>",
"location_id": "<string>",
"salary": "<string>",
"description": "<string>",
"department": "<string>",
"experience": "<string>",
"education": "<string>",
"skills": ["<string>"],
"team": "<string>",
"reporting_to": "<string>",
"closing_date": "<string>",
"tags": ["<string>"],
"responsibilities": ["<string>"],
"resume_score_threshold": 123,
"generate_screening": True,
"project_id": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
organization_id: '<string>',
location_id: '<string>',
salary: '<string>',
description: '<string>',
department: '<string>',
experience: '<string>',
education: '<string>',
skills: ['<string>'],
team: '<string>',
reporting_to: '<string>',
closing_date: '<string>',
tags: ['<string>'],
responsibilities: ['<string>'],
resume_score_threshold: 123,
generate_screening: true,
project_id: '<string>'
})
};
fetch('https://api.talentreview.ai/agents/jobs', 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.talentreview.ai/agents/jobs",
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' => '<string>',
'organization_id' => '<string>',
'location_id' => '<string>',
'salary' => '<string>',
'description' => '<string>',
'department' => '<string>',
'experience' => '<string>',
'education' => '<string>',
'skills' => [
'<string>'
],
'team' => '<string>',
'reporting_to' => '<string>',
'closing_date' => '<string>',
'tags' => [
'<string>'
],
'responsibilities' => [
'<string>'
],
'resume_score_threshold' => 123,
'generate_screening' => true,
'project_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.talentreview.ai/agents/jobs"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"organization_id\": \"<string>\",\n \"location_id\": \"<string>\",\n \"salary\": \"<string>\",\n \"description\": \"<string>\",\n \"department\": \"<string>\",\n \"experience\": \"<string>\",\n \"education\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ],\n \"team\": \"<string>\",\n \"reporting_to\": \"<string>\",\n \"closing_date\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"responsibilities\": [\n \"<string>\"\n ],\n \"resume_score_threshold\": 123,\n \"generate_screening\": true,\n \"project_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.talentreview.ai/agents/jobs")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"organization_id\": \"<string>\",\n \"location_id\": \"<string>\",\n \"salary\": \"<string>\",\n \"description\": \"<string>\",\n \"department\": \"<string>\",\n \"experience\": \"<string>\",\n \"education\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ],\n \"team\": \"<string>\",\n \"reporting_to\": \"<string>\",\n \"closing_date\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"responsibilities\": [\n \"<string>\"\n ],\n \"resume_score_threshold\": 123,\n \"generate_screening\": true,\n \"project_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.talentreview.ai/agents/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"organization_id\": \"<string>\",\n \"location_id\": \"<string>\",\n \"salary\": \"<string>\",\n \"description\": \"<string>\",\n \"department\": \"<string>\",\n \"experience\": \"<string>\",\n \"education\": \"<string>\",\n \"skills\": [\n \"<string>\"\n ],\n \"team\": \"<string>\",\n \"reporting_to\": \"<string>\",\n \"closing_date\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"responsibilities\": [\n \"<string>\"\n ],\n \"resume_score_threshold\": 123,\n \"generate_screening\": true,\n \"project_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"organization": "<string>",
"location": "<string>",
"type": "<string>",
"salary": "<string>",
"experience": "<string>",
"education": "<string>",
"skills": [
"<string>"
],
"closing_date": "<string>"
}{
"code": "not_found",
"message": "job not found",
"hint": "Verify the resource id; list resources first to get valid ids."
}{
"code": "not_found",
"message": "job not found",
"hint": "Verify the resource id; list resources first to get valid ids."
}Authorizations
Body
application/json
Available options:
full_time, part_time, contract, internship, freelance, volunteer