Skip to Content
PeopleForce
Vacancies

Deprecated

Company API v1 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3.

Create a vacancy

Deprecated

POST
/api/public/v1/recruitment/vacancies

Request Body

application/x-www-form-urlencoded
  1. body
title*string
description*string
positions*string
recruitment_pipeline_id*string
hiring_lead_user_id*string
employment_type_id*string
department_id*string
location_id*string
aasm_state?string
Value in"creating""drafting""opened""closed""held""cancelled""archived""reviewing"
starts_on?string
Formatdate
ends_on?string
Formatdate
seniority_id?string
position_id?string
division_id?string
tag_ids?array<string>
collaborator_ids?array<string>
skills?array<string>
skill_ids?array<string>
priority?string
Value in"low""normal""high""urgent"
currency_code?string
min_salary?string
max_salary?string
post_on_careers?string
legal_entity_id?string

Response Body

The created vacancy.

application/json
  1. response
data*
Example Request
curl -X POST 'https://app.peopleforce.io/api/public/v1/recruitment/vacancies' \  -H 'Content-Type: application/x-www-form-urlencoded' \  -d 'title=string&description=string&positions=string&recruitment_pipeline_id=string&hiring_lead_user_id=string&employment_type_id=string&department_id=string&location_id=string'
Example Response
{  "data": {    "id": 0,    "title": "string",    "description": "string",    "state": "creating",    "priority": "low",    "starts_on": "2019-08-24",    "ends_on": "2019-08-24",    "positions": 0,    "currency_code": "string",    "post_on_careers": true,    "applications_count": 0,    "job_level": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "employment_type": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "position": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "division": {      "id": 0,      "name": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "department": {      "id": 0,      "name": "string",      "parent_id": 0,      "manager_id": 0,      "department_level": {        "id": 0,        "name": "string",        "hex_color": "string"      },      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "fields": {        "property1": {          "name": "string",          "value": "string"        },        "property2": {          "name": "string",          "value": "string"        }      }    },    "location": {      "id": 0,      "name": "string",      "address": "string",      "time_zone": "string",      "holiday_policy_id": 0,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "legal_entity": {      "id": 0,      "name": "string"    },    "recruitment_pipeline": {      "id": 0,      "name": "string",      "stages": [        {          "id": 0,          "name": "string",          "position": 0,          "created_at": "2019-08-24T14:15:22Z",          "updated_at": "2019-08-24T14:15:22Z"        }      ],      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "hiring_lead": {      "id": 0,      "first_name": "string",      "last_name": "string",      "email": "string"    },    "collaborators": [      {        "id": 0,        "first_name": "string",        "last_name": "string",        "email": "string"      }    ],    "tags": [      {        "id": 0,        "name": "string"      }    ],    "skills": [      "string"    ],    "opened_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z",    "minimum_salary": 0,    "maximum_salary": 0  }}