v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB

Create Session

Creates a new MedAssist session that provides a session ID and session token for WebSocket communication.

post/med-assist/session

Request body

object required

Response

Session created successfully

session_idstring uuid

Unique session identifier

session_tokenstring

JWT token for WebSocket authentication

Example response

{
  "session_id": "a349a41e-5d49-488a-b300-66ccbfdf16b3",
  "session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}