cURL
curl --request POST \ --url https://api.veryfront.com/conversations/{id}/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role": "user", "parts": [ { "type": "text", "text": "<string>" } ], "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "idempotency_key": "<string>", "metadata": {} } '
{ "id": "<string>", "conversation_id": "<string>", "seq": 123, "role": "user", "parts": [ { "type": "text", "text": "<string>" } ], "status": "pending", "created_at": "<string>", "parent_id": "<string>", "created_by": "<string>", "model": "<string>", "token_usage": {}, "finish_reason": "<string>", "cost_credits": "<string>", "edited_at": "<string>", "idempotency_key": "<string>", "metadata": {}, "updated_at": "<string>" }
Sends a user message in a conversation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
user
1 - 200
Show child attributes
255
Created message
assistant
tool
pending
streaming
completed
failed
cancelled