cURL
curl --request POST \ --url https://api.example.com/conversations/{conversation_id}/messages
Add a message to a conversation
conversation_id
string
{ "role": "user", "content": "What were the top products?" }
role
user
assistant
content
{ "id": "msg_789", "role": "user", "content": "What were the top products?", "created_at": "2025-01-15T10:31:00Z" }