curl --request POST \
--url http://localhost:3000/api/conversations/{id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "Hello, how can I get a refund?"
}
'{
"response": "<string>",
"usage": {}
}curl --request POST \
--url http://localhost:3000/api/conversations/{id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "Hello, how can I get a refund?"
}
'{
"response": "<string>",
"usage": {}
}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?"