POST
/
backend
/
api
/
chat
/
send

Body

content
string

The message content

headers
array or null

Headers to be passed to your backend when the copilot calls it, can be used to authenticate your users or pass relevant data to your backend.

X-Bot-Token
string

Your copilot uniuqe token, can be obtained from the dashboard or from get copilot endpoint

Response

type
string

The copilot response type, currently it only support text

response
object

copilot information