List groups
/groupsList all groups for the organization with optional search and pagination.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Query parameters
limitoptionalintegerMaximum number of items to return in a single response. Must be between 1 and 200; defaults to 50. Use together with offset to page through large result sets.
offsetoptionalintegerNumber of items to skip before returning results. Combine with limit for page-based pagination (e.g. offset=50&limit=50 returns the second page). Defaults to 0.
qoptionalstringSearch query (matches group name)
sortoptionalstringSort order
"recent""oldest""name_asc""name_desc"Returns
groupsoptionalGroup[]
groupsoptionalGroup[]Array of Group
group_idoptionalstringnameoptionalstring | nullGroup name. Null for unnamed groups.
chat_guidoptionalstring | nullBlueBubbles chat GUID if linked to a device group chat
icon_urloptionalstring | nullURL of the group icon/photo
member_countoptionalintegermessage_countoptionalintegerTotal number of messages in this group
last_message_textoptionalstring | nullText of the most recent message in the group
last_message_timeoptionalinteger | nullTimestamp of the most recent message
last_message_directionoptionalstringDirection of the most recent message
"inbound""outbound"created_atoptionalintegerpaginationoptionalPagination
paginationoptionalPaginationlimitoptionalintegeroffsetoptionalintegertotaloptionalintegerResponse codes
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X GET https://api.blooio.com/v2/api/groups?limit=50&offset=0&q=string&sort=recent \ -H "Authorization: Bearer bl_live_..."{ "groups": [ { "group_id": "grp_a1b2c3d4", "name": "Jane Doe", "chat_guid": "grp_a1b2c3d4", "icon_url": "https://example.com", "member_count": 3, "message_count": 3, "last_message_text": "string", "last_message_time": 0, "last_message_direction": "inbound", "created_at": 0 } ], "pagination": { "limit": 50, "offset": 1, "total": 3 }}