Skip to main content
POST
/
scim
/
v2
/
users
Create user
curl --request POST \
  --url https://{instance}.omniapp.co/api/scim/v2/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "Blob Ross",
  "userName": "[email protected]",
  "urn:omni:params:1.0:UserAttribute": {
    "good_blob": true
  }
}
'
{
  "active": true,
  "displayName": "Blob Ross",
  "emails": [
    {
      "primary": true,
      "value": "[email protected]"
    }
  ],
  "groups": [],
  "id": "9e8719d9-276a-4964-9395-a493189a247c",
  "meta": {
    "created": "2024-12-03T23:13:14.109Z",
    "lastModified": "2024-12-03T23:13:14.109Z",
    "resourceType": "User"
  },
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "userName": "[email protected]",
  "urn:omni:params:1.0:UserAttribute": {
    "good_blob": "yes"
  }
}

Authorizations

Authorization
string
header
required

Requires an Organization API Key. Personal Access Tokens (PATs) are not supported for this endpoint.

Include in the Authorization header as: Bearer ORGANIZATION_API_KEY

Body

application/json
displayName
string
required

The user's display name

Example:

"Blob Ross"

userName
string<email>
required

The user's email address

urn:omni:params:1.0:UserAttribute
object

User attributes as key/value pairs, where keys map to the IDs of user attributes defined in Omni. This is the Reference column in the User attributes page.

Example:
{ "good_blob": true }

Response

User created successfully

id
string

Unique identifier for the user

userName
string

The user's email address

displayName
string

The user's display name

active
boolean

Whether the user is active

emails
object[]

The user's email addresses

groups
object[]

User groups that the user belongs to

meta
object
schemas
string[]

SCIM information about the type of schemas used in the API. For example, urn:ietf:params:scim:schemas:core:2.0:User

urn:omni:params:1.0:UserAttribute
object

User attributes as key/value pairs, where keys map to the IDs of user attributes defined in Omni. This is the Reference column in the User attributes page.

urn:omni:params:scim:schemas:extension:user:2.0
object

Omni SCIM extension schema containing additional user metadata