Groups
Operations for managing groups
Get Group
Retrieve a group by its ID
GET
https://dev.officex.app/v1/drive/{organization_id}/groups/get/{group_id}Path Parameter
organization_id (required)
string (DriveID)
Unique identifier for a drive
DriveID_abc123
group_id (required)
string (GroupID)
ID of the group to retrieve
GroupID_c18e812c-ff0b-4dd9-a28c-...
Header Parameters
Authorization (required)
stringBearer TOKEN Bearer token for authentication
Bearer eyJhbGciOiJIUz...
Responses
success
{
"ok": {
"data": {
"id": "GroupID_c18e812c-ff0b-4dd9-a28c-4b650565bb0d",
"name": "group monsters",
"owner": "UserID_apoe6-dkjea-p3gvd-oski2-4dgfx-phw7b-3uer5-lggpc-h3tun-vkzg4-5ae",
"avatar": "",
"private_note": "",
"public_note": "",
"admin_invites": [
"GroupInviteID_81be383f-e440-4915-ade2-cbe73d626e4e"
],
"member_invites": [
"GroupInviteID_81be383f-e440-4915-ade2-cbe73d626e4e"
],
"created_at": 1755494291625,
"last_modified_at": 1755494291625,
"drive_id": "DriveID_y6ekb-v2qhu-f5mnu-iukkc-qybbs-urd75-76sdu-4h6xc-5ewg4-kd76c-wae",
"host_url": "https://officex.otterpad.cc",
"labels": [],
"external_id": null,
"external_payload": null,
"member_previews": [
{
"user_id": "UserID_apoe6-dkjea-p3gvd-oski2-4dgfx-phw7b-3uer5-lggpc-h3tun-vkzg4-5ae",
"name": "Owner",
"note": "Added as ADMIN by UserID_apoe6-dkjea-p3gvd-oski2-4dgfx-phw7b-3uer5-lggpc-h3tun-vkzg4-5ae",
"group_id": "GroupID_c18e812c-ff0b-4dd9-a28c-4b650565bb0d",
"is_admin": true,
"invite_id": "GroupInviteID_81be383f-e440-4915-ade2-cbe73d626e4e",
"last_online_ms": 1755494351053
}
],
"permission_previews": [
"CREATE",
"EDIT",
"DELETE",
"INVITE",
"VIEW"
]
}
}
}Typescript Types
Request
Response
List Groups
List groups with optional filtering and pagination
POST
Header Parameters
Authorization (required)
stringBearer TOKEN Bearer token for authentication
Bearer eyJhbGciOiJIUz...
Request Body schema
filters
string <= 256 characters Default: "" Filter string for groups
page_size
integer [ 1 .. 1000 ] Default: 50 Number of items per page
50
direction
string
Default: "ASC"
Enum: "ASC" "DESC"
Sort direction
ASC
cursor_up
string or null <= 256 characters Cursor for pagination (previous page)
string
cursor_down
string or null <= 256 characters Cursor for pagination (next page)
string
Responses
Typescript Types
Request
Response
Create Group
Create a new group
POST
Header Parameters
Authorization (required)
stringBearer TOKEN Bearer token for authentication
Bearer eyJhbGciOiJIUz...
Request Body schema
name
string <= 256 characters
Name for the contact
Product Design Team
avatar
string or null <= 2048 characters
Profile picture URL
public_note
string or null <= 8192 characters
Public note about the contact
Core product development group
private_note
string or null <= 8192 characters
Private note about the contact
Primary contact for urgent issues
host_url
string or null <= 4096 characters URL endpoint for the group
external_id
string (ExternalID) <= 256 characters
External identifier for integration purposes
external_payload
string (ExternalPayload) <= 8192 characters
Additional data for external integrations.
Eg Stringified JSON
{"department": "engineering", "project": "alpha"}
Responses
Typescript Types
Request
Response
Update Group
Update group
POST
Header Parameters
Authorization (required)
stringBearer TOKEN Bearer token for authentication
Bearer eyJhbGciOiJIUz...
Request Body schema
id (required)
string (GroupID)
Unique identifier for a group
GroupID_dfa08703-c707-495c-8ffd-996ab4c74ba9
name
string <= 256 characters
Name for the contact
Product Design Team
avatar
string or null <= 2048 characters
Profile picture URL
public_note
string or null <= 8192 characters
Public note about the contact
Core product development group
private_note
string or null <= 8192 characters
Private note about the contact
Updated group structure
host_url
string or null <= 4096 characters URL endpoint for the group
external_id
string (ExternalID) <= 256 characters
External identifier for integration purposes
external_payload
string (ExternalPayload) <= 8192 characters
Additional data for external integrations.
Eg Stringified JSON
{"department": "engineering", "project": "alpha", "updated": true}
Responses
Typescript Types
Request
Response
Delete Group
Delete an existing group
POST
Header Parameters
Authorization (required)
stringBearer TOKEN Bearer token for authentication
Bearer eyJhbGciOiJIUz...
Request Body schema
id (required)
string (GroupID) Unique identifier for a group
GroupID_dfa08703-c707-495c-8ffd-996ab4c74ba9
Responses
Typescript Types
Request
Response
Validate Member
Verify if a user belongs to a specific group
POST
Header Parameters
Authorization (required)
stringBearer TOKEN Bearer token for authentication
Bearer eyJhbGciOiJIUz...
Request Body schema
user_id (required)
string (GroupID) Unique identifier for a user
UserID_apoe6-dkjea-p3gvd-oski2-4dgfx-phw7b-3uer5-lggpc-h3tun-vkzg4-5ae
group_id (required)
string (GroupID) Unique identifier for a group
GroupID_c18e812c-ff0b-4dd9-a28c-4b650565bb0d
Responses
Typescript Types
Request
Response
Last updated