Deskhero Developer Hub
Back to deskhero.com
Groups

List

Returns the groups of the workspace with their members, admins and the mailboxes that deliver into them, regardless of whether the caller belongs to them. Filtering, searching and sorting happen in memory over the whole set, and the defaults are 100 rows, page 1, sorted by id ascending.

GET /api/{tenant:minlength(2)}/v{version:apiVersion}/groups
Authorisation
Minimum role: USER

Request arguments

Name Type Source
filterDTO_standard_filterQuery
Request body example

Response

Status
200 (OK)
Type
DTO_group[]
Wrapper
DTO_response_wrap_get_many
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_standard_filter
NameTypeReadOnlyDescription
sort_by_keyStringSort by key
response_field_keysString[]Only return the fields specified
filtersString[]Each string needs to be structured: filters=field_key:operator:value1|value2|value3 Only used to store filters for passing along as querystring
include_aggregationsBooleanInclude aggregations
include_importedBooleanInclude imported
searchStringSearch
sort_orderENUM sort_orderSort order
takeInt32Take
pageInt32Page
DTO_group
NameTypeReadOnlyDescription
group_usersDTO_reference_user[]Group users
group_adminsDTO_reference_user[]Group admins
mailboxesDTO_reference[]ReadOnlyMailboxes
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
idInt32ReadOnlyLeave empty on input
nameStringName
unique_keyStringMain email key (unique_key@tenant.deskhero.com) Used as forward address, and default group email
forward_to_emailStringReadOnlyForward to email
typeENUM group_typeReadOnlyType
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
ENUM sort_order
ValueNameDescription
0ASCASC
1DESCDESC
ENUM group_type
ValueNameDescription
0UNKNOWNUNKNOWN
1CUSTOMCustom
2SYSTEM_EVERYONESys everyone

Generated Aug 4, 2026 18:37