Skip to main content How it Works
MedAssist operates through a session-based approach:
Session Creation : Use your API key to create a new session
WebSocket Connection : Connect to the session via WebSocket for real-time communication
Multi-format Communication : Send text messages, audio, or files through the WebSocket connection
Supported Content Types
Text Messages : Direct text-based medical queries
Audio Messages : Voice recordings for medical consultations
File Uploads : Medical documents, images, or reports
Authentication
All API requests require an x-agent-id header containing your API key. WebSocket connections use session tokens for authentication.
Getting Started
Create a session using the Create Session API
Connect to the WebSocket endpoint using the session ID
Authenticate with the session token
Start sending messages in your preferred format
For detailed implementation, see the individual API documentation pages.