List groups
Returns all groups in the authenticated admin's organisation.
Authorization: Requires admin role in the organisation.
Note: Groups are organisation-level only. They can have roles assigned, and all group members inherit those role assignments.
Filtering Examples:
displayName eq "Purchasing Team"- Exact matchexternalId eq "idp-grp-123"- By IdP external ID
Query Parameters
- Type: stringfilter
SCIM filter expression
- Type: integerstart
Index min:1Integer numbers.
- Type: integercountmin:1max:200
Integer numbers.
Responses
- application/scim+json
- application/scim+json
- application/scim+json
Request Example for get/v2/scim2/Groups
curl 'https://api.consentio.co/v2/scim2/Groups?startIndex=1&count=100' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 1,
"startIndex": 1,
"itemsPerPage": 1,
"Resources": [
{
"schemas": [
"string"
],
"id": "grp_abc123",
"externalId": "idp-grp-123",
"displayName": "string",
"members": [
{
"value": "string",
"display": "string",
"ref": "https://example.com"
}
],
"roles": [
"role_purchasing_manager"
],
"meta": {
"resourceType": "Group",
"created": "2026-11-11T10:14:31.929Z",
"lastModified": "2026-11-11T10:14:31.929Z",
"location": "https://example.com"
}
}
]
}