Skip to main content
User Provisioning with 8x8 SCIM API
8x8 Support

User Provisioning with 8x8 SCIM API

Objective

To provision users with 8x8 SCIM API.

The objective of this document is to provide an overview of 8x8’s SCIM API for user provisioning, built using System for Cross domain Identity Management (SCIM) 2.0 industry standards.

Applies To

  • Users
  • Provisioning
  • SCIM API

Procedure

Getting Started

Please contact your Deployment representative for help obtaining an authentication token and the URL of the API.

Calls into the 8x8 SCIM API must include an http Authentication header containing your authentication token.

Using 8x8 SCIM API

The following CRUD operations are supported with 8x8 SCIM APIs:

  • Create Users
  • Get Users
  • Get User By User ID
  • Update Users
  • Deactivate Users
  • Activate Users
Note: Deletion of a user is not supported. The SCIM DELETE operation will result in the user being deactivated.

User Attributes

Attributes are the details or fields associated with a user. The table below lists supported attributes, their SCIM schema and any applicable restrictions.

SCIM Attribute

SCIM Schema

User Field1

Restrictions

name.givenName

User

First name

Mandatory

name.familyName

User

Last name

Mandatory

userName

User

User name2

Mandatory

Must be unique across all 8x8

emails [work]

User

Email address

Mandatory

Primary flag must be true

Defaults to noreply@8x8.com if omitted

externalId

User

n/a

Optional

phoneNumbers [mobile]

User

Personal contact number

Optional

Primary flag is always false

phoneNumbers [work]

User

Phone numbers

Read-only (set from Configuration Manager)

title

User

Job title

Optional

locale

User

Language

Optional

Language tags must be from the  ISO639-1 set

Default = en-US

timezone

User

Time zone

Optional

active

User

Active/Inactive3

Optional

Default = false

department

Enterprise User

Department

Optional

site

8x8 User4

Site

Optional

Must match the name of a site configured in Configuration Manager

Cannot be modified once set

extension

8x8 User4

Extension number

Read-only (set from Configuration Manager)

Notes:

  1. As seen in Configuration Manager

  2. The userName attribute also sets the user’s Federation ID (used for Single Sign-On) on create only

  3. Inactive users are shown as a greyed out row in Configuration Manager

  4. 8x8 User schema URN is urn:ietf:params:scim:schemas:extension:8x8:1.1:User

Get All Users

Gets a list of all users in the company. For pagination, specify numbers for startIndex and count.

Operation: GET

URL:

https://platform.8x8.com/udi/customers/<CUSTOMER_ID>/scim/v2/Users?startIndex=<X>&count=<Y>

Header:

Authorization: Bearer <Access Token>

Content-Type: application/json

Body:

None

Get User By User ID

Gets a single user identified by User ID.

Operation: GET

URL:

https://platform.8x8.com/udi/customers/<CUSTOMER_ID>/scim/v2/Users/<USER_ID>

Header:

Authorization: Bearer <Access Token>

Content-Type: application/json

Body:

None.

Create User

Creates a user. Must include userName, givenName, familyName and at least one email address in order to create a user.

Operation: POST

URL:

https://platform.8x8.com/udi/customers/<CUSTOMER_ID>/scim/v2/Users

Header:

Authorization: Bearer <Access Token>

Content-Type: application/json

Body:

{
  "userName": "jdoe",
  "name": {
    "familyName": "Doe",
    "givenName": "John"
  },
  "active": true,
  "locale": "en-US",
  "timezone": "US/Pacific",
  "emails": [
    {
      "value": "john@abc.com",
      "type": "work",
      "primary": true
    }
  ],
  "externalId": "1234",
  "phoneNumbers": [
    {
      "value": "+14085551234",
      "type": "mobile"
    }
  ],
  "title": "Manager",
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "department": "billing"
  },
  "urn:ietf:params:scim:schemas:extension:8x8:1.1:User": {
    "site": "HQ"
  }
}

Update User

Updating a user results in the specified user profile property changes.  Note that a PUT operation must include all attributes, regardless of whether they are being modified or not.  

The absence of an attribute in a PUT body is processed as clearing those values, i.e. is equivalent to explicitly setting them to null or an empty array.

Please refer to the table in the User Attributes section to see which attributes are mandatory and which optional attributes have a default if cleared

Operation: PUT

URL:

https://platform.8x8.com/udi/customers/<CUSTOMER_ID>/scim/v2/Users/<USER_ID>

Header:

Authorization: Bearer <Access Token>

Content-Type: application/json

Body:

{
  "userName": "jdale",
  "name": {
    "familyName": "Dale",
    "givenName": "John"
  },
  "active": true,
  "locale": "en-US",
  "timezone": "US/Pacific",
  "emails": [
    {
      "value": "john@abc.com",
      "type": "work",
      "primary": true
    }
  ],
  "externalId": "1234",
  "phoneNumbers": [
    {
      "value": "+14085551234",
      "type": "mobile"
    }
  ],
  "title": "Manager",
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "department": "billing"
  },
  "urn:ietf:params:scim:schemas:extension:8x8:1.1:User": {
    "site": "HQ"
  }
}

Note: Updating userName will not update the user’s Federation ID which is used for Single Sign-On. Modify userName with caution.

Deactivate User

Deactivation sets a user’s status from active to inactive. Deactivating a user results in the following end user experience for 8x8 services:

  • Login to 8x8 softphone (VOD/VOM) is not allowed
  • From hardware device endpoints:
    • Inbound calls are allowed
    • Outbound PSTN calling is not allowed
    • Extension to extension calling is allowed
    • Only emergency calling is allowed

Updating a user results in the specified user profile property changes.

Operation: PATCH

URL:

https://platform.8x8.com/udi/customers/<CUSTOMER_ID>/scim/v2/Users/<USER_ID>

Header:

Authorization: Bearer <Access Token>

Content-Type: application/json

Body:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "replace",
      "value": {
        "active": false
      }
    }
  ]
}

Activate User

Activating a deactivated user profile will restore their 8x8 services.

Operation: PATCH

URL:

https://platform.8x8.com/udi/customers/<CUSTOMER_ID>/scim/v2/Users/<USER_ID>

Headers:

Authorization: Bearer <Access Token>

Content-Type: application/json

Body:

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "replace",
      "value": {
        "active": true
      }
    }
  ]
}

Additional Information

About SCIM 2.0

SCIM is designed to simplify user identity management in cloud-based applications, retaining secure authentication, authorization and privacy. 8x8’s SCIM API leverages these foundational SCIM capabilities and is geared towards facilitating rapid user onboarding using a common user schema and extensibility, thereby reducing the cost and complexity of administration.

SCIM is an open standard, please see here for documentation.

Limitations

The SCIM API has some known limitations which are due to be addressed in a future release.  See also the restrictions column in the User Attributes section of this document.

  • The API does not support:
    • Assignment of licenses, cost center or user profile
    • Setting of work phone number
    • Update to site once set
    • Setting of profile picture
  • Users created in Configuration Manager cannot be adopted by a SCIM client.  This is because a GET request will only return users who were created via SCIM in the first place
  • Some fields set through the SCIM API can be subsequently modified in Configuration Manager.  Depending on your SCIM implementation this may lead to some inconsistency between your Identity Management System and Configuration Manager
  • Modification of fields other than “active” is not supported with the PATCH operation.  Use PUT instead.
  • Was this article helpful?