Integrations
SCIM

Get user by ID via SCIM v2.0

Changed on

Retrieves a single user for the authenticated company by user ID. When your integration enforces role data scopes, a user outside the data scope of the roles the token acts with answers 404.

Authentication

This endpoint accepts any one of the following token types:

  • Company-scoped access token (OAuth2AuthorizationCode) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
  • Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
  • Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
get/v1/scim/v2/Users/{id}

Request

  • Base URL
    https://gateway.remote.com
  • Auth
    • OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
    • or OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
    • or HTTP bearer

Path parameters

id, string required

User ID (slug)

Response

Success

IntegrationsScimUser required
active, boolean required

Whether the user is active

displayName, string

The name to display for the user

emails, object[] required
id, string required

Unique identifier for the user

meta, object
name, object required
nickName, string

The casual/preferred name for the user

schemas, string[] required

SCIM schema identifiers

urn:ietf:params:scim:schemas:extension:enterprise:2.0:User, object

Enterprise User extension attributes (RFC 7643 §4.3)

userName, string required

Username for the user

Example response

{
  "active": true,
  "displayName": "Johnny Doe",
  "emails": [
    {
      "primary": true,
      "type": "work",
      "value": "john.doe@example.com"
    }
  ],
  "id": "123456",
  "meta": {
    "created": "2023-01-01T00:00:00Z",
    "lastModified": "2023-01-01T00:00:00Z",
    "resourceType": "User"
  },
  "name": {
    "familyName": "Doe",
    "formatted": "John Doe",
    "givenName": "John",
    "honorificPrefix": "Mr"
  },
  "nickName": "Johnny",
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
  ],
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "department": "Engineering",
    "employeeNumber": "EMP001",
    "manager": {
      "displayName": "Jane Manager",
      "value": "789012"
    }
  },
  "userName": "john.doe@example.com"
}

Changes