*Simployer One's System for Cross-domain Identity Management (SCIM) SJEKK DOMENENAV

Modified on Mon, 10 Mar at 10:00 AM

Information about Simployer One's SCIM API and how to implement and use it


Click here to jump to the section of how to enable and use Simployer One's SCIM. 

Background

SCIM is a standard for provisioning and deprovisioning users and to update user information in multiple systems. SCIM has been widely adopted and Simployer One being compatible with SCIM means we are compatible with a long list of services.

 

Simployer One's SCIM is accessible via an API endpoint. Meaning you need a service to make use of SCIM. Simployer One is currently tested to be used by services like Okta, Slack and Google Workspace.

 

Simployer One has the possibility to be both a SCIM Client and a SCIM Server. We recommend using Simployer One as a Client, since updates to employee information happen in Simployer first. An exception is our integration to Okta, where we act as a source of truth but are set up as Server. Simployer One implements SCIM 2.0 as specified in the RFC documents from the Internet Engineering Task Force:

It is only possible to get information from Simployer One via SCIM to create accounts in other services. We do not support syncing data back to Simployer One . This is due to the sensitive nature of Simployer One 's data and changing this via external services could have negative effects to our service. 

 

Prerequisites

  • You need to be an Owner in Simployer One to be able to create a API-key

  • Make sure your account plan allows you to use SCIM

Supported Features

  • Import users (send Simployer One data to external services)

Procedure

To use Simployer One 's SCIM API all you need is an API-key. If you can't find this section in your account, contact Customer Success or Support.

If you want a solution that handles more scenarios and enables IT to control their entire employee lifecycle we recommend looking into using our Okta app.

 


For the latest documentation, see docs.alexishr.com/scim

 

Authentication

Authenticate your account when using the API by including your secret Access Token in the request.

Authentication is performed by passing the Access Token in the Authorization header.

Authorization: Bearer <token>

 

Example

This example is if you make a request for a specific userID. Requests to /Users would return all users in your account.

 

Request

GET /scim/v2/Users/<userID>

Headers

Accept: application/scim+json
Accept-Charset: utf-8
Accept-Encoding: gzip
Authorization: Bearer <token>
Connection: close
Content-Type: application/scim+json; charset=utf-8
Host: api.alexishr.com
User-Agent: AlexisHR SCIM Integration

 

Response

{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
  ],
  "id": "<userID>",
  "userName": "fname.lname@domain.com",
  "name": {
    "givenName": "Fname",
    "familyName": "Lname"
  },
  "active": true,
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "employeeNumber": "1",
    "organization": "Example AB",
    "division": "Division 123",
    "costCenter": "CODE-1",
    "department": "Tech"
  },
  "meta": {
    "resourceType": "User",
    "created": "2021-04-19T09:48:04.317Z",
    "lastModified": "2021-04-29T16:47:11.001Z",
    "location": null
  },
  "displayName": "Fname Lname",
  "profileUrl": "https://api.alexishr.com/files/upload/LUQVMYtUZcbwycnVUIVGBQboY0H8s9F4OrjgNyCGAzNnkBSDFGrKHntrTmCLE0E0.jpeg",
  "title": "CEO",
  "emails": [
    {
      "value": "fname.lname@domain.com",
      "display": "fname.lname@domain.com",
      "type": "work",
      "primary": true
    },
    {
      "value": "private-email@domain.com",
      "display": "private-email@domain.com",
      "type": "home"
    }
  ],
  "phoneNumbers": [
    {
      "value": "+4623456789",
      "type": "work",
      "primary": true
    },
    {
      "value": "+4612345678",
      "type": "home"
    }
  ],
  "photos": [
    {
      "value": "https://api.alexishr.com/files/upload/LUQVMYtUZcbwycnVUIVGBQboY0H8s9F4OrjgNyCGAzNnkBSDFGrKHntrTmCLE0E0.jpeg",
      "type": "photo"
    }
  ],
  "addresses": [
    {
      "streetAddress": "Street 1",
      "locality": "Stockholm",
      "postalCode": "12345",
      "country": "SE",
      "type": "home",
      "primary": true
    }
  ]
}

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article