POST
/
v1
/
users
curl --request POST \
  --url https://api.siit.io/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "department_uid": "<string>",
  "office_location_uid": "<string>",
  "legal_entity_uid": "<string>",
  "team_uids": [
    "<string>"
  ],
  "hire_date": "2023-12-25",
  "job_start_date": "2023-12-25",
  "job_leave_date": "2023-12-25",
  "gender": "female",
  "job_title": "<string>",
  "preferred_language": "<string>",
  "report_to_uid": "<string>",
  "work_phone": "<string>",
  "email": "<string>"
}'
{
  "result": {
    "uid": "<string>",
    "emails": [
      "<string>"
    ],
    "role_name": "owner",
    "status": "employee",
    "full_name": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "slack_user_id": "<string>",
    "department_uid": "<string>",
    "office_location_uid": "<string>",
    "legal_entity_uid": "<string>",
    "team_uids": [
      "<string>"
    ],
    "hire_date": "2023-12-25",
    "job_start_date": "2023-12-25",
    "job_leave_date": "2023-12-25",
    "gender": "female",
    "job_title": "<string>",
    "preferred_language": "<string>",
    "report_to_uid": "<string>",
    "timezone": "<string>",
    "work_phone": "<string>",
    "microsoft_entra_ids": [
      "<string>"
    ],
    "archived_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Introduction

Note: fields that are disabled or restricted to the current user cannot be set on creation.

Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required
first_name
string | null
last_name
string | null
department_uid
string | null

A tag UID of kind "department"

office_location_uid
string | null

A tag UID of kind "office_location"

A tag UID of kind "legal_entity"

team_uids
string[]

An array of tag UIDs of kind "team"

hire_date
string | null
job_start_date
string | null
job_leave_date
string | null
gender
enum<string> | null
Available options:
female,
male,
non_binary,
other,
prefer_not_to_disclose
job_title
string | null
preferred_language
string | null

A language in IETF format (en-US, pt-PT, fr-FR...)

report_to_uid
string | null

The UID of the manager of this user

work_phone
string | null

Response

200 - application/json
Successful
result
object