v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Create

Create a new secrets sync.

post/v3/configs/config/syncs

Query parameters

projectstring required

The project slug

configstring required

The config slug

Request body

integrationstring required

The integration slug which the sync will use

dataobject 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_syncboolean

Causes sync creation to wait for the initial sync to complete before returning.

Response

200

Example response

{
  "sync": {
    "slug": "00000000-0000-0000-0000-000000000000",
    "integration": "00000000-0000-0000-0000-000000000000",
    "project": "backend",
    "config": "prd",
    "enabled": true,
    "lastSyncedAt": "2023-08-01T00:00:00.000Z"
  }
}