GET/v1/user-groupsGet users groups

Get users groups description
parameterincludeUsersThe connected users will be returned directly: Boolean
parametersearchWildcard searching user groups by name: String
parameterorganizationIdOrganization filter: Number
parametersortBySort by: name: String
parametersortDirectionSort direction: asc, desc: "Asc" / "Desc"
parameteroffsetPage offset (default: 0): Number
parametersizeNumber of items on Page (default: 50, max: 100): Number
headerAuthorizationAuthentication token (bearer token or API key).

Response

status200All ok, returned found users groups
status401Invalid authentication token
status403Insufficient rights
[{
"id" : Number,
"organizationId" : Number,
"name" : String,
"description" : String,
"remarks" : String,
"dateCreated" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"dateModified" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"externalId" : {
"value" : String
},
"users" : [{
"id" : Number,
"account" : {
"id" : Number,
"firstName" : String,
"lastName" : String
},
"firstName" : String,
"lastName" : String,
"emailAddress" : String,
"emailAddressVerify" : Boolean,
"emailAddressVerified" : Boolean,
"phoneNumber" : Phone number (E.164, e.g. "+31850607337"),
"phoneNumberVerify" : Boolean,
"phoneNumberVerified" : Boolean,
"superUser" : Boolean,
"groupAdmin" : Boolean,
"description" : String,
"remarks" : String,
"dateModified" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"dateCreated" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"externalId" : String,
"autoRemoveAfter" : "WEEK" / "MONTH" / "YEAR",
"autoRemoveDate" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00")
}]
}]

Example: Get all user groups without users

GET/v1/user-groups

parameteroffset0
parametersize4
headerAuthorizationBearer f66e3188-f291-4ad4-8a1e-62d6bb07c380

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
[{
"id": 1,
"organizationId": 1,
"name": "Group1",
"description": "",
"dateCreated": "2026-03-10T09:32:05.598979Z",
"users": []
}
, {
"id": 2,
"organizationId": 1,
"name": "Group2",
"description": "",
"dateCreated": "2026-03-10T09:32:05.600065Z",
"users": []
}
, {
"id": 3,
"organizationId": 1,
"name": "Group3",
"description": "",
"dateCreated": "2026-03-10T09:32:05.600786Z",
"users": []
}
]

Example: Get all user groups by search

GET/v1/user-groups

parametersearchgroup1
parameteroffset0
parametersize4
headerAuthorizationBearer 582b8ebd-c6d9-436f-b468-e752283ea8c2

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
[{
"id": 4,
"organizationId": 2,
"name": "Group1",
"description": "",
"dateCreated": "2026-03-10T09:32:06.315741Z",
"users": []
}
]

Example: Get all user groups with users

GET/v1/user-groups

parameteroffset0
parametersize4
parameterincludeUserstrue
headerAuthorizationBearer 7c58cf8a-c86b-4675-ad8c-81ab644de269

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
[{
"id": 7,
"organizationId": 3,
"name": "Group1",
"description": "",
"dateCreated": "2026-03-10T09:32:07.03552Z",
"users": []
}
, {
"id": 8,
"organizationId": 3,
"name": "Group2",
"description": "",
"dateCreated": "2026-03-10T09:32:07.036108Z",
"users": [{
"id": 3,
"account": {
"id": 4
}
,
"emailAddressVerify": false,
"emailAddressVerified": false,
"phoneNumberVerify": false,
"phoneNumberVerified": false,
"superUser": true,
"groupAdmin": false,
"dateCreated": "2026-03-10T09:32:07.034127Z"
}
]
}
, {
"id": 9,
"organizationId": 3,
"name": "Group3",
"description": "",
"dateCreated": "2026-03-10T09:32:07.036549Z",
"users": [{
"id": 3,
"account": {
"id": 4
}
,
"emailAddressVerify": false,
"emailAddressVerified": false,
"phoneNumberVerify": false,
"phoneNumberVerified": false,
"superUser": true,
"groupAdmin": false,
"dateCreated": "2026-03-10T09:32:07.034127Z"
}
]
}
]

Example: Get all user groups for specific user

GET/v1/user-groups

parameteroffset0
parametersize3
parameteruserId4
headerAuthorizationBearer 299a8674-f174-4346-bcf6-b5823a1df1ed

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
[{
"id": 11,
"organizationId": 4,
"name": "Group2",
"description": "",
"dateCreated": "2026-03-10T09:32:07.773334Z",
"users": []
}
, {
"id": 12,
"organizationId": 4,
"name": "Group3",
"description": "",
"dateCreated": "2026-03-10T09:32:07.773793Z",
"users": []
}
]

Example: Get all user groups sorted

GET/v1/user-groups

parameteroffset0
parametersize4
parametersortByname
parametersortDirectiondesc
headerAuthorizationBearer 12412d40-de5d-40df-86c1-117a7467c2c1

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
[{
"id": 15,
"organizationId": 5,
"name": "Group3",
"description": "",
"dateCreated": "2026-03-10T09:32:08.460016Z",
"users": []
}
, {
"id": 14,
"organizationId": 5,
"name": "Group2",
"description": "",
"dateCreated": "2026-03-10T09:32:08.459259Z",
"users": []
}
, {
"id": 13,
"organizationId": 5,
"name": "Group1",
"description": "",
"dateCreated": "2026-03-10T09:32:08.458453Z",
"users": []
}
]