API Documentation

Use the Cleos API to work with patients, appointments, queue visits, invoices, inventory, and procurement from your own integrations. Requests run against the same Next.js app that powers the Cleos web clinic UI.

Getting started

Sign in to Cleos to obtain a JWT, then call routes under /api with Authorization: Bearer or the auth-token cookie. Start with Authentication and the Quickstart, then browse the resource sections for the domains you need.

Guides

Authentication

Learn how to authenticate your API requests.

Read more

Pagination

Understand how to work with paginated responses.

Read more

Errors

Read about the different types of errors returned by the API.

Read more

Webhooks

Learn how to programmatically configure webhooks for your app.

Read more

Resources

Patients

List, create, and update patients; check-in, clinical notes, and prescriptions.

Queue

Manage the clinic queue: admit, call, complete visits, and room assignment.

Appointments

Calendar appointments and provider time blocks for scheduling.

Invoices

Create and list invoices, line items, and payments.

Inventory

Stock items, adjustments, and branch inventory levels.

Suppliers

Supplier directory, products, and restock workflows.

Reports

Sales, clinical, and inventory report endpoints with filters.

Users

Organization users, invitations, and custom roles.

Was this page helpful?