Retrieve a department

This endpoint allows you retrieve a given department

This endpoint requires departments_r or departments_rw scope.

department

GET https://www.welcomekit.co/api/v1/external/departments/:id

Path Parameters

NameTypeDescription

id

string

Department ID

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

Request example

curl -X GET -G "https://www.welcomekit.co/api/v1/external/departments/:id" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer WK_API_KEY"

Last updated