Skip to navigation

Start Bulk Sync Execution

Starts a new execution of a bulk sync.

This endpoint returns the execution record immediately after the run is queued or started. Use the execution ID with the bulk-sync execution endpoints if you need to monitor progress in detail.

Execution modes

  • Set test=true to validate the sync without writing to the destination.
  • Use resync_mode for destructive or full-refresh style reruns.
  • test and resync_mode are mutually exclusive.

The legacy resync boolean is no longer accepted on this v5 endpoint. Send resync_mode instead.

If another execution is already running, the endpoint returns 409 Conflict.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

idstringRequiredformat: "uuid"
Unique identifier of the bulk sync

Headers

X-Polytomic-VersionstringOptional

Request

This endpoint expects an object.
fetch_modeenumOptional

Selective fetch mode. Controls whether the execution runs a full fetch, only incremental fields, or only non-incremental fields.

Allowed values:
resync_modeenumOptional

Controls how the destination is handled during a resync. Valid values: refetch (retain destination data), resync (truncate destination data), rebuild (drop and recreate destination tables).

Allowed values:
schemaslist of strings or nullOptional
Optional list of schema IDs to include in this execution. If empty, all enabled schemas are included.
testbooleanOptional

When true, runs a test execution that validates the configuration and syncs up to 5 records per schema. Mutually exclusive with resync_mode.

Response

OK
dataobjectOptional
The bulk sync execution

Errors

400
Bad Request Error
409
Conflict Error