---
title: "Sync configurations"
method: GET
path: "/configurations/sync"
tags: ["Sync"]
---

# Sync configurations

`GET /configurations/sync`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/configurations/sync`
- Auth: one of:
  - API key in header `sessionKey`
  - API key in header `clientCode`
  - API key in header `hmac-auth`
  - API key in header `jwt`
- TypeScript: <https://skmtc.dev/erply/apis/cafa-api/docs/configurations/sync/get.ts> (a function with typed inputs; its response is checked against the schema)

Request the configurations with the intention to sync some or all of the configurations created or modified since the lastModified timestamp.
At most, 5000 configurations will be returned from this endpoint in one request.
Continue making requests with the same lastModified to get the remaining configurations. The API remembers itself where you left off.

## Query parameters

- `lastModified` integer, required
- `lastIdRetrieved` integer
- `take` integer
- `withTotalCount` boolean

## Headers

- `timestamp` string

## Response `200`

OK

- Configuration[]
  - `added` integer
  - `addedby_id` integer
  - `application` string
  - `changed` integer
  - `changedby_id` integer
  - `id` string
  - `level` string: Level is optional
  - `level_id` string: LevelID is optional
  - `name` string
  - `type` string: Type is optional
  - `value` unknown

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/erply/apis/cafa-api.md) - [All operations](https://skmtc.dev/erply/apis/cafa-api/llms.txt) - [OpenAPI document](https://skmtc.dev/erply/apis/cafa-api/revisions/dc9468557835?raw)
