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 match
  • externalId eq "idp-grp-123" - By IdP external ID

Query Parameters

  • SCIM filter expression

  • Integer numbers.

  • 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"
      }
    }
  ]
}