cURL
curl --request POST \ --url https://api.honcho.dev/v3/workspaces/{workspace_id}/sessions/{session_id}/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "messages": [ { "content": "<string>", "peer_id": "<string>", "metadata": {}, "configuration": { "reasoning": { "enabled": true, "custom_instructions": "<string>" } }, "created_at": "2023-11-07T05:31:56Z" } ] } '
[ { "id": "<string>", "content": "<string>", "peer_id": "<string>", "session_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "workspace_id": "<string>", "token_count": 123, "metadata": {} } ]
Add new message(s) to a session.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Schema for batch message creation with a max of 100 messages
1 - 100
Show child attributes
Successful Response