---
title: "Syncs Teleconsultations from device to server."
method: POST
path: "/teleconsultations/sync"
tags: ["Teleconsultations"]
---

# Syncs Teleconsultations from device to server.

`POST /teleconsultations/sync`

## Headers

- `HTTP_X_USER_ID` unknown
- `HTTP_X_FACILITY_ID` unknown

## Request body

- object
  - `teleconsultations` Teleconsultation[], nullable, required
    - `id` string, uuid
    - `patient_id` string, uuid
    - `medical_officer_id` string, uuid
    - `request` object, nullable
      - `requester_id` string, uuid
      - `facility_id` string, uuid
      - `requested_at` string, date-time — Timestamp with millisecond precision.
      - `requester_completion_status` 'yes' | 'no' | 'waiting' | 'null', nullable
    - `record` object, nullable
      - `recorded_at` string, date-time — Timestamp with millisecond precision.
      - `teleconsultation_type` 'audio' | 'video' | 'message'
      - `patient_took_medicines` 'yes' | 'no'
      - `patient_consented` 'yes' | 'no'
      - `medical_officer_number` string, nullable
    - `created_at` string, date-time — Timestamp with millisecond precision.
    - `updated_at` string, date-time — Timestamp with millisecond precision.
    - `deleted_at` string, date-time, nullable — Timestamp with millisecond precision.

## Response `200`

teleconsultations created

## Other responses

- `403` — user is not allowed to sync

---

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