Welcome to the Jungle Solutions API
  • Introduction
  • 🔓Authentication
  • 🔭Scopes
  • 🏷️Errors and Status
  • Jobs API
    • Jobs
      • Jobs dependencies
        • Languages
        • List available professions
      • List all jobs
      • List organization's jobs
      • Retrieve a job
      • Create a job
      • Update a job
      • Update a job status
    • Departments
      • List departments
      • Create a department
      • Update a department
      • Retrieve a department
    • Offices
      • List offices
      • Create an office
      • Update an office
      • Retrieve an office
  • Candidates API
    • Candidates
      • List candidates
      • Retrieve a candidate
      • Create a candidate
      • Update a candidate
    • Comment
    • Emails
      • List candidate emails
      • Create an email
    • Documents
      • List candidate documents
      • Attach documents to a candidate
    • Current user
  • Employer branding API
    • Organizations
      • Retrieve Organization's info
      • List organizations
    • Images
    • videos
    • Embed
    • Tools
    • Sectors
  • Analytics API
    • Moves
  • Media API
    • WTTJ articles
  • ⁉️FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Jobs API
  2. Departments

Create a department

This endpoint lets you create new departments for a given organization_reference

This endpoint requires departments_rw scope.

new department

POST https://www.welcomekit.co/api/v1/external/departments

Query Parameters

Name
Type
Description

organization_reference*

string

Organization reference

name*

string

Name

slug

string

Slug (used on careers websites)

is_active

boolean

Department active?

description

string

Description

{
  "id": 42,
  "name": "Tech",
  "is_active": true,
  "slug": "tech",
  "description": "Foo bar"
}

NB: the slug is automatically generated from the department’s name

Request example

curl -X POST "https://www.welcomekit.co/api/v1/external/departments" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer WK_API_KEY" \
    -d @- <<EOF
{
  "organization_reference": "Pg4eV6k",
  "name": "Tech",
  "is_active": true,
  "description": "Foo bar"
}
EOF
PreviousList departmentsNextUpdate a department

Last updated 3 years ago

Was this helpful?