Warehouse Sync
List Warehouse Syncs
List warehouse syncs with their latest run
GET
/
api
/
v1
/
warehouse-syncs
List Warehouse Syncs
curl --request GET \
--url https://api.sequenzy.com/api/v1/warehouse-syncs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/warehouse-syncs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/warehouse-syncs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/warehouse-syncs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/warehouse-syncs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sequenzy.com/api/v1/warehouse-syncs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/warehouse-syncs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"syncs": [
{
"id": "wsync_abc123",
"connectionId": "wconn_abc123",
"name": "Customers",
"kind": "subscribers",
"query": "select email, first_name, plan, updated_at from analytics.customers",
"mapping": {
"emailColumn": "EMAIL",
"firstNameColumn": "FIRST_NAME",
"attributes": [
{
"column": "PLAN",
"attribute": "plan"
}
]
},
"cursorColumn": "UPDATED_AT",
"cursorValue": "2026-09-30T11:58:02.000Z",
"listIds": [],
"optInMode": "confirmed",
"triggerAutomations": false,
"frequency": "hourly",
"isEnabled": true,
"fullResyncRequested": false,
"status": "idle",
"nextRunAt": "2026-09-30T13:00:00.000Z",
"lastRunAt": "2026-09-30T12:00:00.000Z",
"lastSuccessAt": "2026-09-30T12:00:41.000Z",
"lastError": null,
"lastErrorAt": null,
"consecutiveFailures": 0,
"latestRun": {
"id": "wrun_1",
"syncId": "wsync_abc123",
"status": "succeeded",
"isManual": false,
"isFullResync": false,
"rowsRead": 1204,
"rowsUnchanged": 1100,
"rowsSynced": 98,
"rowsSkipped": 6,
"rowsFailed": 0,
"errorSamples": [
{
"row": 17,
"reason": "Missing email"
}
],
"subscriberImportIds": [
"imp_1"
],
"imports": [
{
"id": "imp_1",
"status": "completed",
"totalRows": 98,
"processedCount": 98,
"addedCount": 12,
"updatedCount": 86,
"skippedCount": 0,
"failedCount": 0
}
],
"error": null,
"startedAt": "2026-09-30T12:00:00.000Z",
"finishedAt": "2026-09-30T12:00:41.000Z"
},
"createdAt": "2026-09-30T10:00:00.000Z",
"updatedAt": "2026-09-30T12:00:41.000Z"
}
]
}
Returns every sync with its schedule, status, cursor position and latest run, including the progress of the subscriber imports it queued. Requires
warehouse:read.
string
Only syncs of this connection.
curl "https://api.sequenzy.com/api/v1/warehouse-syncs" \
-H "Authorization: Bearer YOUR_API_KEY"
Response fields
object[]
Show sync
Show sync
string
subscribers or events.string
idle, queued, running, or failed (a retry is scheduled with
backoff).string | null
Rows with the cursor column at or after this value are read next.
boolean
A full resync runs next.
string | null
Why the last run failed, from the warehouse or your query. Problems on
Sequenzy’s side show a generic message.
{
"success": true,
"syncs": [
{
"id": "wsync_abc123",
"connectionId": "wconn_abc123",
"name": "Customers",
"kind": "subscribers",
"query": "select email, first_name, plan, updated_at from analytics.customers",
"mapping": {
"emailColumn": "EMAIL",
"firstNameColumn": "FIRST_NAME",
"attributes": [
{
"column": "PLAN",
"attribute": "plan"
}
]
},
"cursorColumn": "UPDATED_AT",
"cursorValue": "2026-09-30T11:58:02.000Z",
"listIds": [],
"optInMode": "confirmed",
"triggerAutomations": false,
"frequency": "hourly",
"isEnabled": true,
"fullResyncRequested": false,
"status": "idle",
"nextRunAt": "2026-09-30T13:00:00.000Z",
"lastRunAt": "2026-09-30T12:00:00.000Z",
"lastSuccessAt": "2026-09-30T12:00:41.000Z",
"lastError": null,
"lastErrorAt": null,
"consecutiveFailures": 0,
"latestRun": {
"id": "wrun_1",
"syncId": "wsync_abc123",
"status": "succeeded",
"isManual": false,
"isFullResync": false,
"rowsRead": 1204,
"rowsUnchanged": 1100,
"rowsSynced": 98,
"rowsSkipped": 6,
"rowsFailed": 0,
"errorSamples": [
{
"row": 17,
"reason": "Missing email"
}
],
"subscriberImportIds": [
"imp_1"
],
"imports": [
{
"id": "imp_1",
"status": "completed",
"totalRows": 98,
"processedCount": 98,
"addedCount": 12,
"updatedCount": 86,
"skippedCount": 0,
"failedCount": 0
}
],
"error": null,
"startedAt": "2026-09-30T12:00:00.000Z",
"finishedAt": "2026-09-30T12:00:41.000Z"
},
"createdAt": "2026-09-30T10:00:00.000Z",
"updatedAt": "2026-09-30T12:00:41.000Z"
}
]
}
⌘I
List Warehouse Syncs
curl --request GET \
--url https://api.sequenzy.com/api/v1/warehouse-syncs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/warehouse-syncs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/warehouse-syncs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/warehouse-syncs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/warehouse-syncs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sequenzy.com/api/v1/warehouse-syncs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/warehouse-syncs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"syncs": [
{
"id": "wsync_abc123",
"connectionId": "wconn_abc123",
"name": "Customers",
"kind": "subscribers",
"query": "select email, first_name, plan, updated_at from analytics.customers",
"mapping": {
"emailColumn": "EMAIL",
"firstNameColumn": "FIRST_NAME",
"attributes": [
{
"column": "PLAN",
"attribute": "plan"
}
]
},
"cursorColumn": "UPDATED_AT",
"cursorValue": "2026-09-30T11:58:02.000Z",
"listIds": [],
"optInMode": "confirmed",
"triggerAutomations": false,
"frequency": "hourly",
"isEnabled": true,
"fullResyncRequested": false,
"status": "idle",
"nextRunAt": "2026-09-30T13:00:00.000Z",
"lastRunAt": "2026-09-30T12:00:00.000Z",
"lastSuccessAt": "2026-09-30T12:00:41.000Z",
"lastError": null,
"lastErrorAt": null,
"consecutiveFailures": 0,
"latestRun": {
"id": "wrun_1",
"syncId": "wsync_abc123",
"status": "succeeded",
"isManual": false,
"isFullResync": false,
"rowsRead": 1204,
"rowsUnchanged": 1100,
"rowsSynced": 98,
"rowsSkipped": 6,
"rowsFailed": 0,
"errorSamples": [
{
"row": 17,
"reason": "Missing email"
}
],
"subscriberImportIds": [
"imp_1"
],
"imports": [
{
"id": "imp_1",
"status": "completed",
"totalRows": 98,
"processedCount": 98,
"addedCount": 12,
"updatedCount": 86,
"skippedCount": 0,
"failedCount": 0
}
],
"error": null,
"startedAt": "2026-09-30T12:00:00.000Z",
"finishedAt": "2026-09-30T12:00:41.000Z"
},
"createdAt": "2026-09-30T10:00:00.000Z",
"updatedAt": "2026-09-30T12:00:41.000Z"
}
]
}