---
title: "Trigger Sync"
method: POST
path: "/syncs/{syncId}/trigger"
---

# Trigger Sync

`POST /syncs/{syncId}/trigger`

Trigger a new run for the given sync.

If a run is already in progress, this queues a sync run that will get
executed immediately after the current run completes.

## Path parameters

- `syncId` string, required

## Request body

- TriggerRunInput — The input of a trigger action to run syncs
  - `clearAndFill` boolean — Whether to clear the audience and then sync the full query to the destination
  - `resetCDC` boolean — Whether to sync all the rows in the query without executing changes on the destination.
  - `fullResync` boolean — Whether to resync all the rows in the query (i.e. ignoring previously synced rows).

## Response `200`

Ok

- TriggerRunOutput — The output of a trigger action to run syncs
  - `id` string, required — The id of the triggered sync run. This can be passed to `/sync/runs` to get the run's status.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `422` — Validation Failed

---

[API](https://skmtc.net/hightouch/apis/hightouch-api.md) · [All operations](https://skmtc.net/hightouch/apis/hightouch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hightouch/hightouch-api/revisions/24a8012aa8c8/schema)
