Standard users can only manage their own groups. Admin users can manage groups for any user by passing a
userId.List groups
Retrieves all groups for the authenticated user.string
required
Must be
"genie-groups"string
required
Must be
"list"object
boolean
Whether the request succeeded.
object
Get group
Retrieves a single group by ID.string
required
Must be
"genie-groups"string
required
Must be
"get"string
required
The group ID to retrieve (passed as a string).
object
boolean
Whether the request succeeded.
object
Create group
Creates a new genie group. The group is automatically assigned the next available position.string
required
Must be
"genie-groups"string
required
Must be
"create"object
required
boolean
Whether the request succeeded.
object
Update group
Updates an existing group’s properties. Only the fields you provide are changed.string
required
Must be
"genie-groups"string
required
Must be
"update"string
required
The group ID to update (passed as a string).
object
required
boolean
Whether the request succeeded.
object
Delete group
Permanently deletes a group. Genies in the group are not deleted; theirgroup_id is set to null.
string
required
Must be
"genie-groups"string
required
Must be
"delete"string
required
The group ID to delete (passed as a string).
object
boolean
Whether the request succeeded.
object
Reorder groups
Updates the display order of groups based on an ordered array of group IDs. The position of each group is set to its index in the array.string
required
Must be
"genie-groups"string
required
Must be
"reorder"object
required
boolean
Whether the request succeeded.
object
Get group genie counts
Returns the number of genies in each group. Useful for displaying counts in group lists without fetching all genies.string
required
Must be
"genie-groups"string
required
Must be
"counts"object
boolean
Whether the request succeeded.
object
Sync genie to group
Assigns or clears a group for a specific genie. Pass agroupId to assign the genie to a group, or pass null to remove the genie from its current group.
string
required
Must be
"genie-groups"string
required
Must be
"sync"object
required
boolean
Whether the request succeeded.
object

