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
}
}Fetch a paginated list of all chat conversations for an agent
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
}
}Enter your API key
Project ID
Agent ID
Page number
Items per page
Chat list retrieved successfully
Was this page helpful?