Skip to main content
POST
/
api
/
greenhouse
/
jobs
/
departments
/greenhouse/jobs/departments
curl --request POST \
  --url https://api.anysite.io/api/greenhouse/jobs/departments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "board_token": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@greenhouse_department",
    "name": "<string>",
    "parent_id": 123,
    "child_ids": [],
    "jobs": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
board_token
string
required

Company job board token (the company slug from its Greenhouse career board URL)

Minimum string length: 1
Examples:

"stripe"

"coinbase"

"airbnb"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@greenhouse_department
name
string | null
parent_id
integer | null
child_ids
integer[]
jobs
GreenhouseJob · object[]