Last updated 3 years ago
POST https://getember.ai/api/conversation/generate
POST
https://getember.ai/api/conversation/generate
This endpoint will generate the next response in the provided conversation, and update its state
{ "response": "Yeah, well, that only works until we hit a million users.", "nextSpeaker": "61578d94765bf80c0f1d9026" }
{ "error": "Missing id from body." }
{}
{ "error": "Internal Server Error." }
Authorization
string
A Bearer token with your provided API key.
id
The ObjectID of the desired conversation to generate a response from.