---
title: "POST /api/v1/cert-manager/syncs/windows-server"
method: POST
path: "/api/v1/cert-manager/syncs/windows-server"
tags: ["PKI Syncs"]
---

# POST /api/v1/cert-manager/syncs/windows-server

`POST /api/v1/cert-manager/syncs/windows-server`

Create a Windows Server PKI Sync for the specified project.

## Request body

- object
  - `name` string, required
  - `description` string
  - `isAutoSyncEnabled` boolean
  - `destinationConfig` object, required
    - `destinationPath` string, required
  - `syncOptions` object, required
    - `canRemoveCertificates` boolean
    - `includeRootCa` boolean
    - `includePrivateKey` boolean
    - `exportFormat` 'pem' | 'pkcs12'
    - `pemCertificateExtension` 'pem' | 'crt'
    - `combineCertificateChain` boolean
    - `fileAccessRules` object[]
      - `identity` string, required
      - `access` 'read' | 'modify' | 'full-control', required
    - `healthCheckCommand` string, nullable
    - `postSyncCommand` string, nullable
    - `certificateNameSchema` string, required
  - `credentials` object
    - `exportPassword` string
  - `subscriberId` string, nullable
  - `connectionId` string, required
  - `applicationId` string, uuid
  - `certificateIds` string[]

## Response `200`

Default Response

- object
  - `id` string, uuid, required
  - `name` string, required
  - `description` string, nullable
  - `destination` 'windows-server', required
  - `isAutoSyncEnabled` boolean, required
  - `destinationConfig` object, required
    - `destinationPath` string, required
  - `syncOptions` object, required
    - `canRemoveCertificates` boolean
    - `includeRootCa` boolean
    - `includePrivateKey` boolean
    - `exportFormat` 'pem' | 'pkcs12'
    - `pemCertificateExtension` 'pem' | 'crt'
    - `combineCertificateChain` boolean
    - `fileAccessRules` object[]
      - `identity` string, required
      - `access` 'read' | 'modify' | 'full-control', required
    - `healthCheckCommand` string, nullable
    - `postSyncCommand` string, nullable
    - `certificateNameSchema` string, required
  - `subscriberId` string, uuid, nullable
  - `connectionId` string, uuid, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `syncStatus` string, nullable
  - `lastSyncedAt` string, date-time, nullable
  - `lastHealthCheckRanAt` string, date-time, nullable
  - `lastHealthCheckStatus` 'pending' | 'running' | 'succeeded' | 'failed', nullable
  - `lastHealthCheckMessage` string, nullable

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

## Changes

- **2026-08-27** `e15904efcbcd` — 5 info
  - added the new optional request property `syncOptions/healthCheckCommand`
  - added the optional property `lastHealthCheckMessage` to the response with the `200` status
  - added the optional property `lastHealthCheckRanAt` to the response with the `200` status
  - added the optional property `lastHealthCheckStatus` to the response with the `200` status
  - …1 more
- **2026-08-22** `c057052770f0` — 1 breaking, 1 info
  - the `syncOptions/postSyncCommand` response property's maxLength was increased from `2048` to `8192` for the response status `200`
  - the `syncOptions/postSyncCommand` request property's maxLength was increased from `2048` to `8192`
- **2026-08-05** `f10a4f8c1d41` — 1 warning, 2 info
  - the `description` request property's maxLength was set to `255`
  - added the new optional request property `syncOptions/postSyncCommand`
  - added the optional property `syncOptions/postSyncCommand` to the response with the `200` status
- **2026-07-21** `5dbb77aad0f5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/cert-manager/syncs/windows-server/post.md)

---

[API](https://skmtc.dev/infisical/apis/infisical-api.md) · [All operations](https://skmtc.dev/infisical/apis/infisical-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infisical/infisical-api/revisions/c339fd54e42e/schema)
