---
title: "Syncs medication data from server to device."
method: GET
path: "/medications/sync"
tags: ["Medication"]
---

# Syncs medication data from server to device.

`GET /medications/sync`

## Query parameters

- `process_token` string, byte
- `limit` integer

## Headers

- `HTTP_X_FACILITY_ID` unknown

## Response `200`

returns medications

- object
  - `medications` Medication[], nullable, required
    - `id` string, uuid, required
    - `name` string, required — This string should not be empty.
    - `category` 'hypertension_ccb' | 'hypertension_arb' | 'hypertension_diuretic' | 'hypertension_ace' | 'hypertension_other' | 'diabetes' | 'other' | 'null', nullable
    - `frequency` 'one_per_day' | 'two_per_day' | 'three_per_day' | 'four_per_day' | 'null', nullable
    - `composition` string, nullable
    - `dosage` string, nullable
    - `rxnorm_code` string, nullable
    - `protocol` 'yes' | 'no', nullable
    - `common` 'yes' | 'no', nullable
    - `created_at` string, date-time, required — Timestamp with millisecond precision.
    - `updated_at` string, date-time, required — Timestamp with millisecond precision.
    - `deleted_at` string, date-time, nullable — Timestamp with millisecond precision.
  - `process_token` string, byte, required — Token containing all the information needed to process batch requests from the user

---

[API](https://skmtc.dev/simpledotorg/apis/untitled-api.md) · [All operations](https://skmtc.dev/simpledotorg/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simpledotorg/untitled-api/revisions/31ffa1d07978/schema)
