cURL
curl --request POST \ --url https://cloud.onyx.app/api/chat/create-chat-session \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "persona_id": 0, "description": "<string>", "project_id": 123 } '
{ "chat_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Authorization header with Bearer token
Successful Response
Was this page helpful?