Widget Chat with User Profile
POST
/widget/chat/{chatbotId}/user/{externalUserId}
Chat using an external user ID (creates profile on first use)
Authorizations
ApiKeyAuth
API key for authentication. Get your API key from the dashboard.
TypeAPI Key (header: X-Api-Key)
Parameters
Path Parameters
chatbotId*
Typestring
RequiredexternalUserId*
Typestring
RequiredRequest Body
application/json
JSON
{
"message": "string",
"conversationId": "string",
"birthData": {
"date": "string",
"time": "string",
"latitude": 0,
"longitude": 0,
"placeName": "string",
"timezone": "string"
}
}
Responses
SSE stream with chat response
text/event-stream
JSON
[
]