---
title: "Sync patient attribute data from server to device"
method: GET
path: "/patient_attributes/sync"
tags: ["Patient Attribute"]
---

# Sync patient attribute data from server to device

`GET /patient_attributes/sync`

## Request

- Base URL: `/api/v4` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v4/patient_attributes/sync`
- Auth: HTTP bearer and API key in header `X-USER-ID` and API key in header `X-FACILITY-ID`

## Query parameters

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

## Headers

- `HTTP_X_USER_ID` unknown
- `HTTP_X_FACILITY_ID` unknown

## Response `200`

patient attribute received

- object
  - `patient_attributes` PatientAttribute[], nullable, required
    - `id` string, uuid, required
    - `user_id` string, uuid
    - `patient_id` string, uuid, required
    - `height` number, required
    - `weight` number, required
    - `deleted_at` string, date-time, nullable: Timestamp with millisecond precision.
    - `created_at` string, date-time, required: Timestamp with millisecond precision.
    - `updated_at` string, date-time, required: Timestamp with millisecond precision.
  - `process_token` string, byte, required: Token containing all the information needed to process batch requests from the user

## Other responses

- `403`: user is not allowed to sync

## Changes

- **2024-12-09** (v4) `7d8fa3cfc2de`: 1 info
  - endpoint added
- **2020-04-20** (v4) `44261500935e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/simpledotorg/apis/simple-api/changes/patient_attributes/sync/get.md)

---

[API](https://skmtc.dev/simpledotorg/apis/simple-api.md) - [All operations](https://skmtc.dev/simpledotorg/apis/simple-api/llms.txt) - [OpenAPI document](https://skmtc.dev/simpledotorg/apis/simple-api/revisions/31ffa1d07978?raw)
