Chat
post
Sends a chat message and receives a response.
Authorizations
Body
messagestringOptional
The message to send to the chatbot
chatbot_IdstringOptional
The ID of the chatbot to interact with
conversation_IdstringOptional
The ID of the conversation
device_typestringOptional
The type of device used for the interaction
device_idstringOptional
The ID of the device used for the interaction
ip_addressstringOptional
The IP address of the user
countrystringOptional
The country of the user
Responses
200
Successful response
application/json
Responseobject
Response object (structure not specified in the provided code)
401
Access token is missing or invalid
application/json
500
Internal server error
application/json
post
POST /v1/integrations/chat HTTP/1.1
Host: api.igenchat.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"message": "text",
"chatbot_Id": "text",
"conversation_Id": "text",
"device_type": "text",
"device_id": "text",
"ip_address": "text",
"country": "text"
}
{}
Last updated