Get Messages
Retrieve all messages for a specific conversation.
This endpoint retrieves all messages for a specific conversation. You can use the conversation_id
parameter to specify the conversation for which you want to retrieve messages. To get the conversation_id
, use the get conversations endpoint.
The endpoint is paginated, and you can specify the offset
and limit
parameters to control the amount of data returned.
Path Parameters
The ID of the conversation for which to retrieve messages.
Query Parameters
The number of items to skip before starting to collect the result set.
The maximum number of items to return.
Headers
Bearer token for authentication.
Response Fields
Indicates whether an action was called to handle the message.
Additional parameters that the client can send to the bot.
The sender of the message. Can be ‘copilot’ or ‘user’.
Indicates whether the knowledge base was called to handle the message.
The message text.
This endpoint is protected by the same JWT that the user uses to call other APIs. The response will include data for the specified chatbot, along with other metadata information.
This endpoint points to the (v2) version of the API. The (v2) version of the API is the latest version and is recommended for all new development. Please update your code to use the (v2) version of the API.
Was this page helpful?