Get a chat
/chats/{chatId}The chat of a group that was merged into another group on its first send returns the surviving group's chat on the same number.
Path parameters
chatIdRequiredstringUnique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.
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.
Returns
dataoptionalChat
dataoptionalChatidoptionalstringChat id (chat_...).
channel_idoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb"contact_idoptionalstring | nullidentity_idoptionalstring | nullgroup_idoptionalstring | nullcontactoptionalContactSummary | nullThe person on the other side of a 1:1 chat. null in a group chat; see group.
contactoptionalContactSummary | nullThe person on the other side of a 1:1 chat. null in a group chat; see group.
ContactSummary
contact_idRequiredstring | nullThe contact (ct_...). null when no contact record matches the identifier.
identifierRequiredstringThe contact's identifier (phone number, email, or handle).
nameRequiredstring | nullThe contact's name. null when none is on file. On a webhook it is a snapshot from when the event happened; read the contact for current details.
groupoptionalGroupSummary | nullThe group, when this is a group chat. null in a 1:1 chat.
groupoptionalGroupSummary | nullThe group, when this is a group chat. null in a 1:1 chat.
GroupSummary
group_idRequiredstringGroup id (grp_...).
nameRequiredstring | nullThe group's name. null when it has none.
stateoptionalstring"open""closed""blocked""deprecated"capabilitiesoptionalobjectwindow_expires_atoptionalinteger | nulllast_message_atoptionalinteger | nullcreated_atoptionalintegerResponse 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/v4/chats/chat_a1b2c3d4 \{ "data": { "id": "chat_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "contact_id": "ct_a1b2c3d4", "identity_id": "idn_a1b2c3d4", "group_id": "grp_a1b2c3d4", "contact": { "contact_id": "ct_a1b2c3d4", "identifier": "+15551234567", "name": "Jane Doe" }, "group": { "group_id": "grp_a1b2c3d4", "name": "Jane Doe" }, "state": "open", "capabilities": {}, "window_expires_at": 0, "last_message_at": 0, "created_at": 0 }}