Update a group
/groups/{groupId}Update a group's name. If the group has a linked chat_guid, the display name will also be updated in the linked iMessage chat. Note: iMessage only allows one chat per unique participant set, so renaming simply changes the display name on the existing chat thread.
Path parameters
groupIdRequiredstringUnique identifier of the group chat, prefixed with grp_ (e.g. grp_abc123def456). Returned by the create-group and list-groups endpoints.
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.
Body parameters
JSONnameoptionalstringNew group name
Returns
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_atoptionalintegerdevice_syncoptionalDeviceSyncResultResult of syncing the operation to a linked iMessage chat
device_syncoptionalDeviceSyncResultResult of syncing the operation to a linked iMessage chat
chat_guidoptionalstringThe linked iMessage chat GUID
actionoptionalstringThe action that was performed for the linked chat
"add_participant""remove_participant""leave"syncedoptionalbooleanWhether the sync was successful
erroroptionalstring | nullError message if sync failed
Response codes
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X PATCH https://api.blooio.com/v2/api/groups/grp_abc123def456 \ -H "Authorization: Bearer bl_live_..." \ -H "Content-Type: application/json" \ -d '{ "name": "Marketing Team" }'{ "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, "device_sync": { "chat_guid": "obj_a1b2c3d4", "action": "add_participant", "synced": false, "error": "string" }}