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>" } ], "parentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "idempotencyKey": "<string>", "metadata": {} } '
{ "id": "<string>", "conversationId": "<string>", "seq": 123, "role": "<string>", "parts": [ {} ], "status": "<string>", "createdAt": "<string>", "parentId": "<string>", "createdBy": "<string>", "model": "<string>", "tokenUsage": null, "finishReason": "<string>", "costCredits": "<string>", "editedAt": "<string>", "idempotencyKey": "<string>", "metadata": null, "updatedAt": "<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