Skip to main content
Genie groups let you organize your genies into logical categories such as “Sales Team” or “Support Team”. Each group has a name, optional description, and a position for display ordering. Genies can be assigned to a group via the sync action.
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; their group_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 a groupId 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
Use the sync action to move a genie between groups. To transfer a genie from one group to another, simply pass the new groupId — the genie is automatically removed from its previous group. To remove a genie from all groups without assigning a new one, pass groupId: null.

Error codes