List Conversation Messages

List conversation messages

get
/v1/conversation/{conversationId}/message/list

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

conversationIdstring* Required

The ID of the conversation to list messages for

cursorstring

The cursor to use for pagination

orderstring

The order of the paginated items

takeinteger

The number of items to retrieve

curl -X GET "https://api.chatbotkit.com/v1/conversation/{conversationId}/message/list" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"items":[
{
"id":"string",
"type":"string",
"text":"string",
"createdAt":"number",
"updatedAt":"number"
}
]
}
The messages were listed successfully