🔥
Ember AI
  • What is Ember AI
  • Sign Up
  • Guides
    • Quickstart
  • API
    • Character
    • Conversation
      • Append
      • Generate
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. Conversation

Generate

Generate Conversational Response

POST https://getember.ai/api/conversation/generate

This endpoint will generate the next response in the provided conversation, and update its state

Headers

Name
Type
Description

Authorization

string

A Bearer token with your provided API key.

Request Body

Name
Type
Description

id

string

The ObjectID of the desired conversation to generate a response from.

{
    "response": "Yeah, well, that only works until we hit a million users.",
    "nextSpeaker": "61578d94765bf80c0f1d9026"
}
{
    "error": "Missing id from body."
}
{}
{
    "error": "Internal Server Error."
}

PreviousAppend

Last updated 3 years ago

Was this helpful?