In this guide, we will walk through the process of obtaining a streaming response from the ChatFly API.
https://backend.chatfly.co/api/chat/get-streaming-response-with-chat-history
{ "bot_id": "xxxx-xxxx-xxxx-xxxx", "message": "string", "chat_history": [] }
sender_type
content
curl -N -X POST "https://backend.chatfly.co/api/chat/get-streaming-response-with-chat-history" \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "bot_id": "xxxx-xxxx-xxxx-xxxx", "message": "string", "chat_history": [ {"sender_type": "user", "content":"What is ChatFly?"}, {"sender_type": "agent", "content":"ChatFly is an AI chatbot builder"} ] }'
string
Was this page helpful?