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

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_office
name
string | null
location
string | null
parent_id
integer | null
child_ids
integer[]
departments
GreenhouseDepartmentRef · object[]