curl --location 'https://api.opencopilot.so/backend/chat/init' \ --header 'X-Bot-Token: BOT_TOKEN' \ --header 'X-Session-Id: SESSION_ID' \
{ "type": "text", "response": [ "text" "The copilot response!" ] }
This endpoint will initiate a chat with your copilot, it will the copilot name, metdata, and other info.
get
text
Show properties