TeleClinic Partner API

The TeleClinic Partner API allows you to embed the services of TeleClinic into your application. Please reach out to us for getting access.

You can find the documentation of each version here:

Versioning policy

Our API is following this versioning schema: MAJOR.MINOR

We may also occasionally fix errors without bumping the version. Those updates will not change the OpenAPI spec.

What is a breaking change?

In general, if the API changes in a way that doesn't allow previously released clients to continue working, it's a breaking change.

Examples of incompatible changes, require a new major version:

Examples of compatible changes:

(Non-)extensible Enums

Our API is utilizing enums – for example, the treatment state is an enum. The OpenAPI spec does not allow us to differentiate whether the enum is extensible or not. See Issue #1552 of the OpenAPI-Specification.

Depending on the endpoint, we do consider some of our enums to be extensible and others not. As long as the spec doesn't allow us to define it in there, we are using the following table to document what we consider as extensible (and we will add new values in MINOR versions), and what is non-extensible (and requires a MAJOR version)

If an enum is extensible, your client must be able to handle unexpected values! For example, you can prepare your client to assume a default value. We are proposing a way of handling extensible enums in the following table, but you're free to handle those situation as you see fit.

This only applies to enums in responses. Enums in requests are always extensible, since they do not affect old clients (e.g. the "gender" parameter used as a filter).

Enum Extensible Suggested Handling
FileType Yes Use default "other". Use the mime_type field of the File model to determine what type of document (PDF, ...) is presented to you to offer an appropriate download to the user.
TreatmentState No -