Create a conversation

Create a new conversation by making an HTTP POST request

POST https://api.userdesk.io/v1/chatbot/:chabot_id/conversation

Create a new conversation for a specific chatbot.

The fields marked with * are mandatory

Headers

Request Body

{
  "success": true,
  "conversationId": "7bb301ad-e691-4341-8afb-b4407c4ffdf2",
  "response": "Hello, how can I help you?"
}

If the request is successful, the response includes the conversationId and the first message from the Chatbot, if configured.

{
  "success": true,
  "conversationId": "7bb301ad-e691-4341-8afb-b4407c4ffdf2",
  "response": "Hello, how can I help you?"
}

Last updated