Chatsv4
Get a chat
GET
/chats/{chatId}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.
Bearer
Returns
dataoptionalChat
dataoptionalChatidoptionalstringChat id (chat_...).
channel_idoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb"contact_idoptionalstring | nullidentity_idoptionalstring | nullgroup_idoptionalstring | nullstateoptionalstring"open""closed""blocked""deprecated"capabilitiesoptionalobjectwindow_expires_atoptionalinteger | nulllast_message_atoptionalinteger | nullcreated_atoptionalintegerResponse codes
200A chat
401Your API key is missing or invalid. Pass it as a bearer token.
404No chat was found with the provided `chatId`.
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 \ -H "Authorization: Bearer bl_live_..."{ "data": { "id": "chat_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "contact_id": "ct_a1b2c3d4", "identity_id": "idn_a1b2c3d4", "group_id": "grp_a1b2c3d4", "state": "open", "capabilities": {}, "window_expires_at": 0, "last_message_at": 0, "created_at": 0 }}