viakite
Dashboard

API/Roles and groups/The organization's groups with their roles and members

The organization's groups with their roles and members

GET/v1/orgs/{org}/groups
Secret keyNeeds members.viewapi.vk.viabio.me

Path parameters

orgstringrequired
The organization's id (org_…).

Query parameters

limitinteger1–200default 50
How many rows to return, 1 to 200.
cursorstring
The next_cursor of the previous page. Opaque.

Responses

A page of groups.

dataGroup[]required
A set of members with roles of its own.
Show 6 fields
idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
namestringrequired
rolesRoleGrant[]required
A role for the whole organization (no project_ids) or for chosen projects.
Show 2 fields
rolestringrequired
A built-in role key (admin) or a custom role id (rol_…).
project_idsstring[] | null
Null or empty for the whole organization.
member_idsstring[]required
created_atstring · date-timerequired
A time in UTC, ISO 8601.
updated_atstring · date-timerequired
A time in UTC, ISO 8601.
next_cursorstring
Example response
1{
2 "data": [
3 {
4 "id": "grp_01JD8Q2M4W9XK3T7B5",
5 "name": "Production",
6 "roles": [
7 {
8 "role": "rol_01JD8Q2M4W9XK3T7B5",
9 "project_ids": [
10 "prj_01JD8Q2M4W9XK3T7B5"
11 ]
12 }
13 ],
14 "member_ids": [
15 "mem_01JD8Q2M4W9XK3T7B5"
16 ],
17 "created_at": "2026-11-21T09:30:00Z",
18 "updated_at": "2026-11-21T09:30:00Z"
19 }
20 ],
21 "next_cursor": "string"
22}