Skip to main content
GET
/
v1
/
bot
/
chat
/
readall
List All Chats
curl --request GET \
  --url https://api.boostgpt.co/v1/bot/chat/readall \
  --header 'Authorization: Bearer <token>'
{
  "chats": [
    {
      "chat_id": "<string>",
      "subject": "<string>",
      "channel": "<string>",
      "message_count": 123,
      "user": {},
      "latest": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 123,
    "per_page": 123,
    "total": 123,
    "total_pages": 123
  }
}

Authorizations

Authorization
string
header
required

Enter your API key

Query Parameters

project_id
string
required

Project ID

bot_id
string
required

Agent ID

page
integer
default:1

Page number

per_page
integer
default:10

Items per page

Response

200 - application/json

Chat list retrieved successfully

chats
object[]
pagination
object