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 theX-API-Key header.
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 callDELETE 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 aversion 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.
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:
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.
