v1
latestOpenAPI 3.0.32026-08-06138294578.6 KBBulk Sync
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.
post/api/bulk/syncs/{id}/executions
Path parameters
idstring uuid required
Unique identifier of the bulk sync.
Example:248df4b7-aa70-47b8-a036-33ac447e668d
Unique identifier of the bulk sync.
Headers
X-Polytomic-Versionstring
Request body
Response
OK
Example response
{
"data": {
"completed_at": "2023-04-25T12:00:00Z",
"created_at": "2023-04-25T12:00:00Z",
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"record_count": 1000,
"schemas": [
{
"completed_at": "2023-04-25T12:00:00Z",
"created_at": "2023-04-25T12:00:00Z",
"output_name": "contact",
"record_count": 1000,
"schema": "contact",
"started_at": "2023-04-25T12:00:00Z",
"updated_at": "2023-04-25T12:00:00Z"
}
],
"started_at": "2023-04-25T12:00:00Z",
"type": "scheduled",
"updated_at": "2023-04-25T12:00:00Z"
}
}