POST
/
v1
/
chat
/
conversations
curl --request POST \
  --url https://api.botpress.cloud/v1/chat/conversations \
  --header 'Content-Type: application/json' \
  --data '{
  "channel": "<string>",
  "tags": {},
  "integrationName": "<string>"
}'
{
  "conversation": {
    "id": "<string>",
    "currentTaskId": "<string>",
    "currentWorkflowId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "channel": "<string>",
    "integration": "<string>",
    "tags": {}
  }
}

Body

application/json
Conversation data
channel
string
required

Channel name

Maximum length: 200
tags
object
required

Tags for the Conversation

integrationName
string
deprecated

[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.

Maximum length: 200

Response

201
application/json
Returns a [Conversation](#schema_conversation) object if creation succeeds. Returns [an error](#errors) otherwise
conversation
object
required

The Conversation object represents an exchange of messages between one or more users. A Conversation is always linked to an integration's channels. For example, a Slack channel represents a conversation.