---
title: "Sync CVD risk data from server to device"
method: GET
path: "/cvd_risks/sync"
tags: ["CVD Risk"]
---

# Sync CVD risk data from server to device

`GET /cvd_risks/sync`

## 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
  - `cvd_risks` CvdRisk[], nullable, required
    - `id` string, uuid, required
    - `patient_id` string, uuid, required
    - `risk_score` string, required — This string should not be empty.
    - `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-17** (v4) `44261500935e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/simpledotorg/apis/untitled-api/changes/cvd_risks/sync/get.md)

---

[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)
