---
title: "Create User"
method: POST
path: "/scim/v2/Users"
tags: ["SCIM 2.0"]
---

# Create User

`POST /scim/v2/Users`

## Request

- Base URL: `https://platform.hootsuite.com`
- URL: `https://platform.hootsuite.com/scim/v2/Users`
- Auth: OAuth 2
  - Authorization code: `https://platform.hootsuite.com/oauth2/auth`
  - Token URL: `https://platform.hootsuite.com/oauth2/token`

Creates a Hootsuite user using the SCIM 2.0 protocol.

## Headers

- `Authorization` string, required

## Request body

- CreateReplaceScimUser
  - `schemas` string[]: Required SCIM schemas
  - `userName` string, required
  - `name` object
    - `givenName` string
    - `familyName` string
  - `emails` object[]
    - `primary` boolean, required
    - `value` string
    - `type` string
  - `displayName` string, required
  - `timezone` string: The user's time zone. If not provided it will default to "America/Vancouver". Valid values are defined at http://php.net/manual/en/timezones.php.
  - `preferredLanguage` 'en' | 'ja' | 'fr' | 'it' | 'es' | 'de' | 'pt_BR' | 'pl' | 'id' | 'zh_CN' | 'zh_HK' | 'zh_TW' | 'nl' | 'ko' | 'ar' | 'ru' | 'th' | 'tr': The user's language.
  - `title` string
  - `groups` GroupRef[]
    - `value` string
    - `$ref` string
    - `display` string
  - `active` boolean, required

## Response `200`

Success

- ScimUser
  - `schemas` string[]: Required SCIM schemas
  - `id` string
  - `meta` object
    - `resourceType` string
    - `created` string
    - `lastModified` string
  - `userName` string
  - `name` object
    - `givenName` string
    - `familyName` string
  - `emails` object[]
    - `primary` boolean
    - `value` string
    - `type` string
  - `displayName` string
  - `timezone` string: The user's time zone. If not provided it will default to "America/Vancouver". Valid values are defined at http://php.net/manual/en/timezones.php.
  - `preferredLanguage` 'en' | 'ja' | 'fr' | 'it' | 'es' | 'de' | 'pt_BR' | 'pl' | 'id' | 'zh_CN' | 'zh_HK' | 'zh_TW' | 'nl' | 'ko' | 'ar' | 'ru' | 'th' | 'tr': The user's language.
  - `title` string
  - `groups` object[]
  - `active` boolean

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api.md) - [All operations](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/revisions/adac53bd28bb?raw)
