API Reference

Build custom integrations with the Onalyst REST API.

Quick Start

Base URL: https://api.onalyst.org/v1

All requests require an API key in the Authorization header:

curl -X GET "https://api.onalyst.org/v1/patients" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Endpoints

Authentication

MethodEndpointDescription
POST/auth/loginAuthenticate user and get tokens
POST/auth/registerCreate a new user account
POST/auth/refreshRefresh access token
POST/auth/logoutInvalidate current session

Patients

MethodEndpointDescription
GET/patientsList all patients
POST/patientsCreate a new patient
GET/patients/:idGet patient details
PUT/patients/:idUpdate patient information

Recordings

MethodEndpointDescription
POST/recordingsUpload a new recording
GET/recordings/:idGet recording details
POST/recordings/:id/transcribeStart transcription
GET/recordings/:id/transcriptGet transcript

Notes

MethodEndpointDescription
POST/notes/generateGenerate note from transcript
GET/notes/:idGet note details
PUT/notes/:idUpdate note content
POST/notes/:id/approveApprove and finalize note

Official SDKs

Coming soon: Official client libraries for popular languages.

JavaScript (Coming Soon)Python (Coming Soon)Ruby (Coming Soon)Go (Coming Soon)

Ready to integrate?

Get your API key and start building today.