Endpoints
Update Job Opening
Updates an existing job opening and its associated job type
PATCH
/
job-openings
/
{JOB_OPENING_ID}
Copy
curl --request PATCH \
--url https://api.alpharun.com/api/v1/job-openings/{JOB_OPENING_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Store Manager - San Francisco",
"location": "In-office 3 days per week in San Francisco, CA",
"pay": "$18 per hour or $80,000 - $100,000 per year",
"hours": "Full-time, 40 hours per week",
"status": "live",
"link_access": {
"restricted": true
},
"job_type": {
"job_description": "<job_description>",
"ai_interviewer_guidance": "Be friendly and professional",
"resume_collection_type": "before_interview",
"should_force_fullscreen": true,
"should_record_video": true
}
}'
Copy
{
"data": {
"job_opening": {
"id": "<string>",
"name": "<string>",
"status": "live",
"interview_link": "<string>",
"link_access": {
"restricted": true
},
"location": {
"description": "<string>"
},
"pay": {
"description": "<string>"
},
"hours": {
"description": "<string>"
},
"questions": [
"<string>"
],
"job_type": {
"id": "<string>",
"name": "<string>",
"job_description": "<string>",
"ai_interviewer_guidance": "<string>",
"qualifications": [
"<string>"
],
"resume_collection_type": "after_interview",
"should_force_fullscreen": true,
"should_record_video": true
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the job opening to update
Body
application/json
Response
200
application/json
Job opening updated successfully
The response is of type object
.
Copy
curl --request PATCH \
--url https://api.alpharun.com/api/v1/job-openings/{JOB_OPENING_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Store Manager - San Francisco",
"location": "In-office 3 days per week in San Francisco, CA",
"pay": "$18 per hour or $80,000 - $100,000 per year",
"hours": "Full-time, 40 hours per week",
"status": "live",
"link_access": {
"restricted": true
},
"job_type": {
"job_description": "<job_description>",
"ai_interviewer_guidance": "Be friendly and professional",
"resume_collection_type": "before_interview",
"should_force_fullscreen": true,
"should_record_video": true
}
}'
Copy
{
"data": {
"job_opening": {
"id": "<string>",
"name": "<string>",
"status": "live",
"interview_link": "<string>",
"link_access": {
"restricted": true
},
"location": {
"description": "<string>"
},
"pay": {
"description": "<string>"
},
"hours": {
"description": "<string>"
},
"questions": [
"<string>"
],
"job_type": {
"id": "<string>",
"name": "<string>",
"job_description": "<string>",
"ai_interviewer_guidance": "<string>",
"qualifications": [
"<string>"
],
"resume_collection_type": "after_interview",
"should_force_fullscreen": true,
"should_record_video": true
}
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.