All group endpoints require a valid Bearer token in the
Authorization header.List groups
GET /v2/doss_groups
Returns all groups categorised into groups the user has joined and groups they have not yet joined.
Response
Array of groups the authenticated user is currently a member of.
Array of groups the authenticated user has not yet joined.
Join a group
POST /v2/join_group
Adds the authenticated user to a group identified by a 6-digit invite code. The code is entered on the Enter Group Code screen. On success, the groups list cache is invalidated.
Request body
The 6-digit alphanumeric group invite code.
The numeric ID of the group being joined. Passed from the group list.
Leave a group
GET /v2/leave_group/:id
Removes the authenticated user from the specified group. The user is prompted with a confirmation modal before this endpoint is called. On success, the groups list is refreshed.
Despite being a delete-like operation, this endpoint uses the
GET method as implemented in the current client.Path parameters
The numeric ID of the group to leave.
Response
A human-readable success message confirming the user has left the group.