Skip to main content

Base URL

All API requests should be made to:

Authentication

The Solum Health API supports two authentication methods:

API Key

Use an API key in the X-API-Key header.
API keys are scoped to a single company. You can create and manage API keys from the Solum dashboard.

Multi-Tenancy

All data is scoped to a company. Your authentication credentials determine which company’s data you can access. Every request is automatically filtered to your company’s resources.

Error Responses

The API returns errors in a consistent format:

Common HTTP Status Codes

Soft Deletes

Most resources use soft deletes. When you call DELETE on a resource, it is marked as inactive rather than permanently removed. List endpoints return only active resources by default.

Optimistic Locking

Versioned resources such as Patients and Patient Policies include a version field. When updating one of these resources, include its current version in the request body. If it no longer matches because another update occurred, the API returns a 409 Conflict.

Pagination

Every list endpoint pages the same way, with cursors. A request takes: Send at most one of starting_after and ending_before. With neither, the list answers its first page. Lists don’t take a page number or an offset: a request that sends page, page_size or offset is refused with 400.
The response carries the items in data and the page’s place in pagination:
To read a whole list, request the first page and keep passing next_cursor as starting_after until has_more is false:
A cursor is a position in one list, in the order that request asked for. Pass back the cursors a list gives you as they are: don’t build one, and don’t use a cursor with different filters or a different sort. A value that isn’t a cursor from that list is refused with 400. An item created or deleted while you page never makes another item repeat or go missing.