Integrations
SCIM

List groups via SCIM v2.0

Changed on

Retrieves a list of groups (departments) for the authenticated company following SCIM 2.0 standard. When your integration enforces role data scopes, it lists only the groups the roles the token acts with can see (all of them, unless a role is scoped by department), each with only the members inside that scope.

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/Groups

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

IntegrationsScimGroupListResponse required
Resources, IntegrationsScimGroup[] required

Array of group 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": [
    {
      "displayName": "Engineering",
      "id": "engineering-dept",
      "members": [
        {
          "display": "John Doe",
          "value": "user-123-slug"
        }
      ],
      "meta": {
        "created": "2024-01-01T00:00:00Z",
        "lastModified": "2024-01-01T00:00:00Z",
        "resourceType": "Group"
      },
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
      ]
    }
  ],
  "itemsPerPage": 10,
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "startIndex": 1,
  "totalResults": 10
}

Changes