ANABOX smart
API Guide

Getting Started

Understand the Memo API environment, request format, and recommended integration workflow.

The Memo API is a REST API for the data and workflows used by ANABOX smart. Production requests use this base URL:

https://api.memo.wirewire.de/v1

Paths in the generated reference are relative to that URL. For example, GET /organizations/ becomes:

https://api.memo.wirewire.de/v1/organizations/

Before you begin

You need:

  1. A Memo account with access to the organization you want to integrate.
  2. An API key created in Memo account settings, or a valid Memo JWT bearer token.
  3. The IDs of the organization and patient records you intend to use.

Use API keys for server-to-server integrations. Keep browser-only calls behind your own backend because keys must not be embedded in frontend code and browser origins are subject to the API's CORS allowlist.

Start with read operations before writing data:

  1. Call GET /accounts/current to verify the credential.
  2. Call GET /organizations/ to find the accessible organization.
  3. Call GET /users/?organization=... to find patients and other users.
  4. Read medications, calendar entries, or devices using the relevant organization or patient ID.
  5. Add write operations only after the read path and authorization scope are correct.

This order catches most credential, tenancy, and ID problems without changing production data.

API areas

AreaWhat it represents
AccountsThe authenticated Memo identity and account metadata
OrganizationsThe tenant boundary for users and clinical data
UsersPeople in an organization; a patient is represented by a user record
MedicationsOrganization-owned medication records
CalendarsMedication schedule entries and finalized time windows
DevicesRegistered devices, connectivity, alarms, case state, and events
PDFServer-side PDF generation from an allowed URL

Schema and environments

The API Reference is generated from the Memo OpenAPI document. This documentation repository includes a schema snapshot so production builds are repeatable. Maintainers can point the site at another environment during development:

OPENAPI_JSON_URL=http://localhost:5002/openapi.json yarn dev

The production schema is also available at api.memo.wirewire.de/openapi.json.