Talk to Chatbot
GET {{baseUrl}}/food/converse?text=donut recipes&contextId=342938
This endpoint can be used to have a conversation about food with the spoonacular chatbot. Use the Get Conversation Suggests
endpoint to show your user what he or she can say.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
text | string | (Required) The request / question / answer from the user to the chatbot. | |
contextId | number | An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. |
RESPONSES
status: OK
{"answerText":"Baby, if you were a fruit you'd be a fineapple.","media":[]}