POST
/
conversations
/
get-or-create
curl --request POST \
  --url https://chat.botpress.cloud/{webhookUrl}/conversations/get-or-create \
  --header 'Content-Type: application/json' \
  --header 'x-user-key: <x-user-key>' \
  --data '{
  "id": "<string>"
}'
{
  "conversation": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Headers

x-user-key
string
required

Authentication Key

Body

application/json
Conversation data
id
string
required

Identifier of the Conversation

Response

201
application/json
Returns a [Conversation](#schema_conversation)
conversation
object
required