POST
/
backend
/
api
/
chat
/
send
    curl --location --request POST 'http://example.com/backend/api/chat/send' \
        --header 'Accept: application/json' \
        --header 'X-Bot-Token: bot-token-goes-here' \
{
    "type": "text",
    "response": [
        "text" "The copilot response!"
    ]
}

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