Chats
List chats
List all unique conversations for the organization, sorted by most recent message.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Query Parameters
limit?integer
Maximum number of items to return (1-200)
Default
50Range
1 <= value <= 200offset?integer
Number of items to skip
Default
0Range
0 <= valueq?string
Search query (matches phone/email or contact name)
sort?string
Sort order
Default
"recent"Value in
"recent" | "oldest"Response Body
application/json
application/json
curl -X GET "https://backend.blooio.com/v2/api/chats"{
"chats": [
{
"id": "string",
"type": "phone",
"is_group": true,
"group_id": "string",
"group_name": "string",
"member_count": 0,
"contact": {
"contact_id": "string",
"name": "string",
"identifier": "string"
},
"message_count": 0,
"inbound_count": 0,
"outbound_count": 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
}
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}{
"error": "string",
"status": 0
}