curl --request GET \
--url https://api.botpress.cloud/v1/chat/conversations \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{
"conversations": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"channel": "<string>",
"integration": "<string>",
"tags": {},
"currentTaskId": "<string>",
"currentWorkflowId": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Retrieves a list of Conversation you’ve previously created. The conversations are returned in sorted order, with the most recent appearing first. The list can be filtered using Tags.
curl --request GET \
--url https://api.botpress.cloud/v1/chat/conversations \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{
"conversations": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"channel": "<string>",
"integration": "<string>",
"tags": {},
"currentTaskId": "<string>",
"currentWorkflowId": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
Sort results by this field
createdAt, updatedAt Sort results in this direction
asc, desc Filter by participant ids
Filter by integration name
Filter by integration channel name
Returns a list of Conversation objects
Show child attributes
Id of the Conversation
28 - 36Creation date of the Conversation in ISO 8601 format
Updating date of the Conversation in ISO 8601 format
Name of the channel where the Conversation is happening
Name of the integration that created the Conversation
Set of Tags that you can attach to a Conversation. The set of Tags available on a Conversation is restricted by the list of Tags defined previously by the Bot. Individual keys can be unset by posting an empty value to them.
Show child attributes
Was this page helpful?