Jobs
A company's job to which candidates may apply.
Last updated
A company's job to which candidates may apply.
Last updated
© 2024 Endorsed
POST
https://endorsed.ai/api/v1/jobs
Creates a new job and returns the job's UUID id.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"is_error": false,
"result": {
"id": "3c2914bb-b31b-47ab-8976-afaa2d995503"
}
}
{
"is_error": true,
"error": {
"code": "UNAUTHENTICATED",
"issues": [
{
"message": "Resource requires authentication. Please provide a valid access token."
}
]
}
}
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}
Examples:
curl -X POST "${BASE_URL}/api/v1/jobs" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{
"title": "Digital Marketing Specialist",
"description": "Digital Marketing Specialist sought for fast-paced agency. Must have expertise in SEO, PPC, and content strategy. Google Analytics certification preferred.",
"status": "open",
"job_posting_urls": [
"https://www.marketinghub.com/jobpost/digi-mark-special-1003"
],
"remote_id": "remote-id_from-originating-system"
}'
GET
https://endorsed.ai/api/v1/jobs/{id}
Get an existing job by it's UUID id or by a remote id. Remote ids MUST be structured by remote.<id>
{
"is_error": false,
"result": {
"id": "3c2914bb-b31b-47ab-8976-afaa2d995503",
"title": "Job Title",
"description": "Job Description",
"status": "open",
"job_posting_urls": ["https://endorsed.ai/jobPosting/example"],
"remote_id": "ef29a39b-b143-4491-9f84-038b8806f950",
"created_at": "2023-09-25T22:06:01.000Z",
"modified_at": "2023-09-25T22:06:01.000Z"
}
}
{
"is_error": true,
"error": {
"code": "UNAUTHENTICATED",
"issues": [
{
"message": "Resource requires authentication. Please provide a valid access token."
}
]
}
}
{
"is_error": true,
"error": {
"code": "FORBIDDEN",
"issues": [
{
"message": "Access to this resource is not authorized."
}
]
}
}
{
"is_error": true,
"error": {
"code": "NOT_FOUND",
"issues": [
{
"message": "This resource entity does not exist."
}
]
}
}
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}
Examples:
curl -X GET "${BASE_URL}/api/v1/jobs/remote.remote-id_from-originating-system" \
-H "Authorization: Bearer ${ACCESS_TOKEN}"
curl -X GET "${BASE_URL}/api/v1/jobs/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
-H "Authorization: Bearer ${ACCESS_TOKEN}"
PUT
https://endorsed.ai/api/v1/jobs/{id}
Updates an existing job by it's UUID id or upserts a job by a remote id. Remote ids MUST be structured by remote.<id>
.
{
"is_error": false,
"result": {
"id": "3c2914bb-b31b-47ab-8976-afaa2d995503"
}
}
{
"is_error": true,
"error": {
"code": "UNAUTHENTICATED",
"issues": [
{
"message": "Resource requires authentication. Please provide a valid access token."
}
]
}
}
{
"is_error": true,
"error": {
"code": "FORBIDDEN",
"issues": [
{
"message": "Access to this resource is not authorized."
}
]
}
}
{
"is_error": true,
"error": {
"code": "NOT_FOUND",
"issues": [
{
"message": "This resource entity does not exist."
}
]
}
}
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}
Examples:
curl -X PUT "${BASE_URL}/api/v1/jobs/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{
"title": "Senior Web Engineer",
"description": "Experienced Web Developer needed to join our dynamic tech team. Proficient in Javascript, HTML, and CSS. Familiarity with React.JS a plus.",
"status": "closed",
"job_posting_urls": [
"https://www.techjobsite.com/listings/web-dev-0923"
]
}'
curl -X PUT "${BASE_URL}/api/v1/jobs/remote.aavCEuMXEgdL3QHtOL6bd" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{
"title": "Senior Web Engineer",
"description": "Experienced Web Developer needed to join our dynamic tech team. Proficient in Javascript, HTML, and CSS. Familiarity with React.JS a plus.",
"status": "closed",
"job_posting_urls": [
"https://www.techjobsite.com/listings/web-dev-0923"
]
}'
curl -X PUT "${BASE_URL}/api/v2/candidates/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{
"remote_id": "-LN7ISBnAcJiaa3TU8uoj",
"first_name": "Test",
"last_name": "Testerson",
"phone_numbers": [],
"email_addresses": [],
"links": [],
"unstructured_location": "San Francisco, CA",
"unstructured_profile": {
"about": [
{
"about_me": "I am a test candidate's about section."
}
],
"role_preferences": [
{
"role": "Software Engineer",
"location": "San Francisco, CA",
"type": "Full-time",
"min_salary": 100000,
"max_salary": 150000
}
],
"work_experiences": [
{
"company": "Test Company",
"title": "Test Title",
"location": "San Francisco, CA",
"start_date": "2019-01-01",
"end_date": "2019-01-01",
"description": "I am a test candidate's work experience."
}
],
"screening": [
{
"type": "Coding Challenge",
"status": "Pending",
"due_date": "2019-01-01",
"completed_date": "2019-01-01",
"score": 100,
"feedback": "I am a test candidate's screening."
}
]
}
}'
PATCH
https://endorsed.ai/api/v1/jobs/{id}
Partially updates an existing job by it's UUID id.
{
"is_error": false,
"result": {
"id": "3c2914bb-b31b-47ab-8976-afaa2d995503"
}
}
{
"is_error": true,
"error": {
"code": "UNAUTHENTICATED",
"issues": [
{
"message": "Resource requires authentication. Please provide a valid access token."
}
]
}
}
{
"is_error": true,
"error": {
"code": "FORBIDDEN",
"issues": [
{
"message": "Access to this resource is not authorized."
}
]
}
}
{
"is_error": true,
"error": {
"code": "NOT_FOUND",
"issues": [
{
"message": "This resource entity does not exist."
}
]
}
}
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}
Examples:
curl -X PATCH "${BASE_URL}/api/v1/jobs/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{
"status": "open",
"job_posting_urls": [
"https://www.marketinghub.com/jobpost/digi-mark-special-1003"
]
}'
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|