curl --request POST \
--url http://localhost:3000/api/conversations/{id}/messages/stream \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "Hello, how can I get a refund?"
}
'curl --request POST \
--url http://localhost:3000/api/conversations/{id}/messages/stream \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "Hello, how can I get a refund?"
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Conversation ID
Message content
1 - 10000"Hello, how can I get a refund?"
Server-sent events stream