Hide response attribute Show response attribute object
-
Additional properties are allowed.
Server Sent Events stream of JSON data of each token as it becomes available, as shown in the documented example. On the stream.on("end") event, no new data is sent.
Bad request
Unauthorized
User exceeded the message limit for their current plan
curl \
-X POST https://chat-api.aurora-interactive.online:8443/api/v11/message \
-H "Content-Type: application/json" \
-H "x-access-token: wcdE8dGPZEshG6B8E5uGpgALr5LzwPX5AqZFKAZsfcvzuHVf" \
-d '{"characterId":42,"chatId":42,"message":"string"}'
# Headers
x-access-token: wcdE8dGPZEshG6B8E5uGpgALr5LzwPX5AqZFKAZsfcvzuHVf
# Payload
{
"characterId": 42,
"chatId": 42,
"message": "string"
}
{
"success": false,
"error": "One or more API parameters are malformed. Please check your request and try again"
}
{
"success": false,
"error": "Invalid username, password, or access token"
}
{
"success": false,
"error": "You have exceeded your Message/TTS quota. To send more messages, please upgrade your plan or wait until your subscription renews."
}
{
"statusCode": 42,
"error": "string",
"message": "string"
}