Skip to content

Chat with Chatbot

POST
/api/chat/{chatbotId}

Send a message to a chatbot and receive a streaming response via SSE

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

TypeAPI Key (header: X-Api-Key)

Parameters

Path Parameters

chatbotId*
Typestring
Required

Request Body

application/json
JSON
{
"message": "string",
"conversationId": "string"
}

Responses

SSE stream with chat response

text/event-stream
JSON
[
]

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation