Messagesv4
Get a message
GET
/chats/{chatId}/messages/{messageId}Path parameters
chatIdRequiredstringUnique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.
messageIdRequiredstringUnique identifier of the message, prefixed with msg_. Returned when you send a message or by the List messages 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
dataoptionalMessage
dataoptionalMessageidoptionalstringMessage id (msg_...).
chat_idoptionalstringchannel_idoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb"protocoloptionalstring | nullResolved transport, e.g. imessage, sms.
directionoptionalstring"inbound""outbound"typeoptionalstringContent type, e.g. text, media, poll.
textoptionalstring | nullstatusoptionalstringqueued, sent, delivered, read, failed, ...
provider_message_idoptionalstring | nullreply_to_message_idoptionalstring | nullerroroptionalobject | nullcreated_atoptionalintegerupdated_atoptionalintegerResponse codes
200A message
401Your API key is missing or invalid. Pass it as a bearer token.
404No message 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/messages/msg_a1b2c3d4 \ -H "Authorization: Bearer bl_live_..."{ "data": { "id": "msg_a1b2c3d4", "chat_id": "chat_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "protocol": "string", "direction": "inbound", "type": "string", "text": "Hello from Blooio!", "status": "active", "provider_message_id": "msg_a1b2c3d4", "reply_to_message_id": "msg_a1b2c3d4", "error": {}, "created_at": 0, "updated_at": 0 }}