---
title: "Create"
method: POST
path: "/v3/configs/config/syncs"
---

# Create

`POST /v3/configs/config/syncs`

Create a new secrets sync.

## Query parameters

- `project` string, required
- `config` string, required

## Request body

- object
  - `integration` string, required — The integration slug which the sync will use
  - `data` object, required — Configuration data for the sync
  - `import_option` 'none' | 'prefer_doppler' | 'prefer_integration' — An option indicating if and how Doppler should attempt to import secrets from the sync destination
  - `await_initial_sync` boolean — Causes sync creation to wait for the initial sync to complete before returning.

## Response `200`

200

- object
  - `sync` object
    - `slug` string
    - `integration` string
    - `project` string
    - `config` string
    - `enabled` boolean
    - `lastSyncedAt` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/doppler/apis/core.md) · [All operations](https://skmtc.net/doppler/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doppler/core/versions/8f244bc5b038/schema)
