POST
/
v1
/
conversation
curl --request POST \
  --url https://api.droxy.ai/v1/conversation \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "conversationId": "<string>",
  "chatbotId": "<string>",
  "messages": [
    {}
  ],
  "override": true
}'
{
  "id": "<string>",
  "user": "<string>",
  "chatbot": "<string>",
  "createdAt": 123,
  "messages": [
    {
      "text": "<string>",
      "fromUser": true
    }
  ],
  "source": {
    "type": 123,
    "discordChannelId": "<string>",
    "whatsAppInfo": {
      "replyingPhoneNumberId": "<string>",
      "replyingPhoneNumber": "<string>",
      "senderPhoneNumber": "<string>",
      "senderName": "<string>"
    },
    "facebookInfo": {
      "pageId": "<string>",
      "senderId": "<string>",
      "senderName": "<string>"
    },
    "instagramInfo": {
      "instagramAccountId": "<string>",
      "senderId": "<string>",
      "senderUsername": "<string>"
    }
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json
Created

The response is of type object.