---
search:
  tags:
    - Sync
    - GET
seo:
  description: >-
    Admin only. Returns pending conflicts, newest first, with the client and
    server… Reference for the GET /api/v1/sync/conflicts endpoint in the
    PharmaFlow API.
sidebar:
  label: List pending sync conflicts
  badge: GET
title: List pending sync conflicts
type: openapi-operation
---
Admin only. Returns pending conflicts, newest first, with the client and server rows. A conflict is a base_rev race a push refused rather than clobber, so it needs a strategy.

`GET /api/v1/sync/conflicts`

**Responses**

- `200` — The pending conflicts
- `401` — Not authenticated
- `403` — Caller is not an admin

Response example, 200:

```json
{
  "items": [
    {
      "id": "string",
      "entity_type": "string",
      "entity_id": "string",
      "branch_id": "string",
      "org_id": "string",
      "client_mutation_id": "string",
      "server_version": {
        "property1": null,
        "property2": null
      },
      "client_version": {
        "property1": null,
        "property2": null
      },
      "payload": {
        "property1": null,
        "property2": null
      },
      "status": "string",
      "created_at": "string",
      "resolved_at": "string",
      "resolved_by": "string"
    }
  ]
}
```
