Create a group
/groupsCreates a group chat on a group-capable channel (blooio/whatsapp) with one or more members. No iMessage conversation exists yet: the first message sent to the group opens it, and chat_linked becomes true once it does. There is no separate linking step.
On that first send the device may hand back an iMessage conversation that another of your groups already holds with the same people. The new group is then merged into that one. Its group id keeps working for GET /groups/{groupId}, GET /groups/{groupId}/members and sends with to.group_id, and its chat id for GET /chats/{chatId}; each resolves to the surviving group, whose id is the canonical one. Every other request addressed to a merged id (updates, deletes, chat actions) returns 404, so switch to the canonical id once you have it.
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
JSONchannel_idRequiredstringMust be a group-capable channel (blooio/whatsapp).
membersRequiredstring | object[]Member phone numbers (E.164) or emails, each given as a string or an object { "identifier": "..." }. Every identifier is validated; invalid members 422 invalid_members instead of being dropped.
membersRequiredstring | object[]Member phone numbers (E.164) or emails, each given as a string or an object { "identifier": "..." }. Every identifier is validated; invalid members 422 invalid_members instead of being dropped.
Array of string | object
object
identifierRequiredstringnameoptionalstringReturns
dataoptionalGroup
dataoptionalGroupidoptionalstringGroup id (grp_...).
channel_idoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb"nameoptionalstring | nullicon_urloptionalstring | nullchat_idoptionalstring | nullchat_linkedoptionalbooleanWhether the group has an iMessage conversation on at least one of your numbers. false until the first message to the group opens one.
created_atoptionalintegermembersoptionalGroupMember[]
membersoptionalGroupMember[]Array of GroupMember
identity_idoptionalstringcontact_idoptionalstring | nullroleoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb"identifieroptionalstringnameoptionalstring | nullThe member's contact name. null when none is on file.
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 POST https://api.blooio.com/v4/groups \{ "data": { "id": "grp_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "name": "Jane Doe", "icon_url": "https://example.com", "chat_id": "chat_a1b2c3d4", "chat_linked": false, "created_at": 0, "members": [ { "identity_id": "idn_a1b2c3d4", "contact_id": "ct_a1b2c3d4", "role": "string", "channel_type": "blooio", "identifier": "+15551234567", "name": "Jane Doe" } ] }}