Generation endpoint supporting synchronous response

Log in to see full request history
Body Params
string
required
length ≥ 1

User question for bot

string
required

chat_id for given chat

string

Sources to refer

string

starter question id

boolean
Defaults to false
boolean
Defaults to false
Defaults to api
string

integration user unique identifier

string

Can be passed to store some additional user data in inbox

array of objects

Previous chat history for reference

Chat History
string
Defaults to text

An enumeration.

string

chat_user_id for given chat , this links with old user data

object

extra metadata for given chat(integration specific)

boolean

if true, will return full history of chat till now

string

message id of any chat message to be used to resolve handoff

object

metadata for handoff

number

The timeout duration, measured in seconds, represents the maximum period that the endpoint will maintain the connection open to generate a response before terminating the request

Headers
string
required
Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json