Headers
Authentication Key
Body
application/json
Conversation data
Identifier of the Conversation
Response
Returns a Conversation
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"
}
}Get or create a new Conversation
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"
}
}Authentication Key
Conversation data
Identifier of the Conversation
Returns a Conversation
Show child attributes
Was this page helpful?