List users
Returns all users in the authenticated admin's organisation.
Authorization: Requires admin role in the organisation.
Filtering Examples:
userName eq "john@example.com"- Exact matchexternalId eq "idp-user-123"- By IdP external IDactive eq true- Active users only
RFC Reference: RFC 7644 Section 3.4.2
Query Parameters
- Type: stringfilter
SCIM filter expression
- Type: integerstart
Index min:11-based index of the first result
- Type: integercountmin:1max:200
Maximum number of results
- Type: stringsort
By - Type: "ascending" or "descending"enumsort
Order
Responses
- application/scim+json
- application/scim+json
- application/scim+json
Request Example for get/v2/scim2/Users
curl 'https://api.consentio.co/v2/scim2/Users?startIndex=1&count=100&sortBy=userName&sortOrder=ascending' \
--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": "usr_abc123",
"externalId": "idp-user-123",
"userName": "string",
"name": {
"givenName": "string",
"familyName": "string"
},
"displayName": "string",
"emails": [
{
"value": "string",
"type": "string",
"primary": true
}
],
"active": true,
"groups": [
{
"value": "string",
"display": "string",
"ref": "https://example.com"
}
],
"urn:consentio:params:scim:schemas:extension:User:1.0": {
"roles": [
"role_purchasing_manager"
]
},
"meta": {
"resourceType": "User",
"created": "2026-11-11T10:14:31.630Z",
"lastModified": "2026-11-11T10:14:31.630Z",
"location": "https://example.com"
}
}
]
}