Integrations
SCIM

List users via SCIM v2.0

Changed on

Retrieves a list of users for the authenticated company following SCIM 2.0 standard. When your integration enforces role data scopes, it lists and counts only the users inside the data scope of the roles the token acts with.

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

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

Query parameters

startIndex, integer

1-based index of the first result

count, integer

Maximum number of results per page

filter, string

Filter expression for attributes (supports eq, ne, co, sw, ew, pr, lt, le, gt, ge)

Response

Success

IntegrationsScimUserListResponse required
Resources, IntegrationsScimUser[] required

Array of user resources

itemsPerPage, integer required

Number of results returned in the current set

schemas, string[] required

SCIM schema identifiers

startIndex, integer required

1-based index of the first result in the current set

totalResults, integer required

Total number of results matching the query

Example response

{
  "Resources": [
    {
      "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"
    }
  ],
  "itemsPerPage": 50,
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "startIndex": 1,
  "totalResults": 100
}

Changes