Skip to main content

Doctors API (v1)

Overview​

The Doctors API provides endpoints for doctor authentication and test viewing. Doctors are global entities that can view tests assigned to them across multiple workspaces.

Endpoints​

  • Signup - Create a new doctor account
  • Login - Authenticate and get access token
  • Logout - End current session
  • Refresh Token - Refresh access token
  • Get Me - Get current doctor information
  • List Tests - List all tests assigned to the doctor
  • Get Test - Get test details by ID

Authentication​

All endpoints (except signup and login) require a Bearer token in the Authorization header:

Authorization: Bearer <token>

Scope​

Doctors are global entities, not tied to workspaces. They can view tests from any workspace where they are assigned via the doctorId field in the test.