API documentation
For Developers

API Documentation

Build custom integrations, automate workflows, and extend the Latrexa platform with our comprehensive REST API.

Getting Started

# Base URL
https://api.latrexa.com/v1
# Authentication
Authorization: Bearer <your_jwt_token>
# Example: Get Appointments
GET /api/appointments?date=2026-02-16

Our API uses JWT-based authentication. All endpoints return JSON responses and follow RESTful conventions. Rate limiting is applied at 100 requests per minute per API key.

Available Endpoints

GET /api/organizations

Retrieve organization details, settings, and configuration.

POST /api/appointments

Create, update, cancel, and list appointments. Filter by doctor, date, or status.

GET /api/patients

Search patients, view history, manage records. Supports pagination and filtering.

GET /api/doctors

List doctors, check availability, manage schedules and leaves.

GET /api/slots

Retrieve available time slots for a doctor on a specific date.

POST /api/laborders

Create lab orders, upload results, and manage test catalogs.

Quick Links

SDKs & Libraries
Coming Soon

JavaScript, Python, and C# SDKs are in development.


Need Help?

Our developer support team is ready to help with integration.

Contact API Support