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": [ {} ], "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "idempotency_key": "<string>", "metadata": {} } '
{ "id": "<string>", "conversation_id": "<string>", "seq": 123, "role": "<string>", "parts": [ {} ], "status": "<string>", "created_at": "<string>", "parent_id": "<string>", "created_by": "<string>", "model": "<string>", "token_usage": null, "finish_reason": "<string>", "cost_credits": "<string>", "edited_at": "<string>", "idempotency_key": "<string>", "metadata": null, "updated_at": "<string>" }
Sends a new user message in a conversation. Only role=user is accepted via REST.
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Conversation ID
user
1 - 200
Show child attributes
255
Created message