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" : String,
"externalIdSource" : 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 638709db-0aeb-4c6d-8108-c3e47190ba86

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-08-21T15:02:25.305831Z",
"users": []
}
, {
"id": 2,
"organizationId": 1,
"name": "Group2",
"description": "",
"dateCreated": "2026-08-21T15:02:25.309765Z",
"users": []
}
, {
"id": 3,
"organizationId": 1,
"name": "Group3",
"description": "",
"dateCreated": "2026-08-21T15:02:25.312125Z",
"users": []
}
]

Example: Get all user groups by search

GET/v1/user-groups

parametersearchgroup1
parameteroffset0
parametersize4
headerAuthorizationBearer 50f5a262-3ff6-4d9d-8c1a-1039dd870fe6

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-08-21T15:02:26.506872Z",
"users": []
}
]

Example: Get all user groups with users

GET/v1/user-groups

parameteroffset0
parametersize4
parameterincludeUserstrue
headerAuthorizationBearer 93cf02c1-45cf-421e-ae31-e6f0310e99a7

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-08-21T15:02:27.703474Z",
"users": []
}
, {
"id": 2,
"organizationId": 1,
"name": "Group2",
"description": "",
"dateCreated": "2026-08-21T15:02:27.705463Z",
"users": [{
"id": 1,
"account": {
"id": 1
}
,
"emailAddressVerify": false,
"emailAddressVerified": false,
"phoneNumberVerify": false,
"phoneNumberVerified": false,
"superUser": true,
"groupAdmin": false,
"dateCreated": "2026-08-21T15:02:27.700999Z"
}
]
}
, {
"id": 3,
"organizationId": 1,
"name": "Group3",
"description": "",
"dateCreated": "2026-08-21T15:02:27.707397Z",
"users": [{
"id": 1,
"account": {
"id": 1
}
,
"emailAddressVerify": false,
"emailAddressVerified": false,
"phoneNumberVerify": false,
"phoneNumberVerified": false,
"superUser": true,
"groupAdmin": false,
"dateCreated": "2026-08-21T15:02:27.700999Z"
}
]
}
]

Example: Get all user groups for specific user

GET/v1/user-groups

parameteroffset0
parametersize3
parameteruserId1
headerAuthorizationBearer 3ebfd5c6-5df6-4c8a-b416-89abd5941f98

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": 2,
"organizationId": 1,
"name": "Group2",
"description": "",
"dateCreated": "2026-08-21T15:02:28.900522Z",
"users": []
}
, {
"id": 3,
"organizationId": 1,
"name": "Group3",
"description": "",
"dateCreated": "2026-08-21T15:02:28.902568Z",
"users": []
}
]

Example: Get all user groups sorted

GET/v1/user-groups

parameteroffset0
parametersize4
parametersortByname
parametersortDirectiondesc
headerAuthorizationBearer 13da59db-4d21-467b-a1aa-8564523842d3

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": 3,
"organizationId": 1,
"name": "Group3",
"description": "",
"dateCreated": "2026-08-21T15:02:30.147897Z",
"users": []
}
, {
"id": 2,
"organizationId": 1,
"name": "Group2",
"description": "",
"dateCreated": "2026-08-21T15:02:30.146108Z",
"users": []
}
, {
"id": 1,
"organizationId": 1,
"name": "Group1",
"description": "",
"dateCreated": "2026-08-21T15:02:30.144136Z",
"users": []
}
]