---
title: "Upsert a synced row by syncId"
method: POST
path: "/sync/{entityType}"
tags: ["Sync"]
---

# Upsert a synced row by syncId

`POST /sync/{entityType}`

Creates or updates a row by its syncId. Used by the desktop app's remote sync engine to push local-only or newer rows to the other side of a sync pair.

## Path parameters

- `entityType` string, required

## Response `200`

Row upserted.

## Other responses

- `400` — Unknown entity type or missing syncId.
- `500` — Failed to upsert row.

---

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