Authorization: Bearer ********************
{
"session_type": "person",
"message": [
{
"type": "Plain",
"text": "Hello"
}
]
}
curl --location --request POST '/api/v1/pipelines//chat/send' \
--header 'Content-Type: application/json' \
--data-raw '{
"session_type": "person",
"message": [
{
"type": "Plain",
"text": "Hello"
}
]
}'
{
"code": 0,
"data": {
"content": "Hi there! How can I assist you today?",
"id": 2,
"message_chain": [
{
"text": "Hi there! How can I assist you today?",
"type": "Plain"
}
],
"timestamp": "2025-06-07T22:03:07.560319",
"type": "bot"
},
"msg": "ok"
}