List groups via SCIM v2.0
Changed onRetrieves 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.
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/token
- or OAuth 2Client credentialsToken URL/auth/oauth2/token
- or HTTP bearer
Query parameters
1-based index of the first result
Maximum number of results per page
Filter expression for attributes (supports eq, ne, co, sw, ew, pr, lt, le, gt, ge)
Response
Success
Array of group resources
Number of results returned in the current set
SCIM schema identifiers
1-based index of the first result in the current set
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
- info
the endpoint scheme security
OAuth2ClientCredentialswas removed from the API
- info
- info
the endpoint scheme security
OAuth2CompanyManagerAssertionwas added to the API
- info