Chats
Get a chat
Get details for a specific conversation.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Path Parameters
chatId*string
Chat identifier. Can be: (1) phone number in E.164 format (e.g., +15551234567), (2) email address, (3) group ID (grp_xxxx), or (4) comma-separated list of phone numbers/emails for multi-recipient group chats (e.g., +15551234567,+15559876543). All values should be URL-encoded.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://backend.blooio.com/v2/api/chats/%2B15551234567"{
"id": "string",
"type": "phone",
"contact": {
"contact_id": "string",
"name": "string",
"identifier": "string"
},
"message_count": 0,
"inbound_count": 0,
"outbound_count": 0,
"first_message_time": 0,
"last_message_time": 0,
"last_inbound_time": 0,
"last_outbound_time": 0,
"last_message": {
"message_id": "string",
"text": "string",
"direction": "inbound",
"time_sent": 0
}
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}{
"error": "string",
"status": 0
}