cURL
curl --request PATCH \ --url https://hireloam.com/api/v1/jobs/{jobId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "published", "department": "Engineering" } '
{ "job": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "status": "published", "department": "<string>", "location": "<string>", "employment_type": "<string>", "public_slug": "<string>", "created_at": "2023-11-07T05:31:56Z", "stages": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "order_index": 123, "application_count": 123 } ], "description_md": "<string>", "show_salary": true, "salary_currency": "<string>", "salary_timeframe": "<string>", "salary_min": 123, "salary_max": 123 } }
Update a job’s details. When changing status to published, plan-based publish limits are enforced.
published
API key from Settings > API Keys
draft
closed
Job updated
Show child attributes
Was this page helpful?