Jobs

Publish job

PUT publish job

Endpoint

PUT /api/v1/jobs/:id/publish

Parameters

Name Description Type
job[template] required Save as template boolean

Request

Route

PUT /api/v1/jobs/451/publish

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMzA1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTgwLCJleHAiOjE3NDAxNDM1ODAsImp0aSI6IjNkMTg3ODNlLTVkM2QtNDkwNi04ZGM2LTliNDg3OGM1NjFkYSJ9.Il_rDlAhSyEmeyi6J6VDYuw_eC0ZR0tj7mdWmRHrFd0
Host: example.org
Cookie: 

Body

{
  "job": {
    "template": false
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"19bb2c8f7c081188d41ea8acecdb0a4a"
cache-control: max-age=0, private, must-revalidate
x-request-id: f3c0fcc0-7341-4f3a-9401-dec92bd185a6
x-runtime: 0.103539
content-length: 193

Body

{
  "job": {
    "id": 451,
    "industries": [
      "hgv",
      "school"
    ],
    "job_type": "fixed_term_contract",
    "number": 70135901,
    "postcode": "EC1A 1BB",
    "published_at": "2025-01-22T13:13:00.733Z",
    "title": "Central Coordinator"
  }
}