---
title: "Resolve Conflicts"
method: POST
path: "/api/folders/{library_id}/syncs/{sync_id}/conflicts/resolve"
tags: ["library-syncs"]
---

# Resolve Conflicts

`POST /api/folders/{library_id}/syncs/{sync_id}/conflicts/resolve`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/folders/{library_id}/syncs/{sync_id}/conflicts/resolve`
- Auth: none declared

Keep theirs copies GitHub's file into thinqOS now; keep thinqOS sends
thinqOS's version in the next pull request. A run follows either way.

## Path parameters

- `library_id` string, uuid, required
- `sync_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- ThinqosApiLibrarySyncsResolveIn
  - `document_ids` string[], required
  - `choice` 'theirs' | 'ours', required

## Response `202`

Successful Response

- AcceptedOut
  - `started` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5fdd1072e877?raw)
