Skip to main content
POST
/
vacancies
Create job
curl --request POST \
  --url https://api.gospott.com/vacancies \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "employmentType": "fullTime",
  "locationType": "remote",
  "companyId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "stageId": "<string>",
  "salaryRange": {
    "currency": "AED",
    "min": 123,
    "max": 123
  },
  "location": {
    "type": "primary_home",
    "street1": "<string>",
    "street2": "<string>",
    "postalCode": "<string>",
    "city": "<string>",
    "region": "<string>",
    "state": "<string>",
    "country": "<string>",
    "latitude": 123,
    "longitude": 123
  },
  "startAt": "2023-11-07T05:31:56Z",
  "endAt": "2023-11-07T05:31:56Z",
  "teamUserIds": [
    "<string>"
  ],
  "clientContactIds": [
    "<string>"
  ],
  "targetCompanyId": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Body

application/json
employmentType
enum<string> | null
required
Available options:
fullTime,
partTime,
temporary,
internship,
permanent,
fixedTermContract,
interimOrTemporary
locationType
enum<string> | null
required
Available options:
remote,
hybrid,
onsite
companyId
string
required
name
string
required
description
string | null
required
stageId
string
required
salaryRange
object
required
location
object
required
startAt
string<date-time> | null
required
endAt
string<date-time> | null
required
teamUserIds
string[]
required
clientContactIds
string[]
required
targetCompanyId
string | null
required

Response

Job created successfully. Returns the job ID.

id
string
required