Skip to main content
GET
/
api
/
syncs
/
{syncId}
Get Sync Status
curl --request GET \
  --url https://sync.useparagon.com/api/syncs/{syncId} \
  --header 'Authorization: Bearer <token>'
{
  "status": "INITIALIZING",
  "summary": {
    "totalRecords": 123,
    "syncedRecordsCount": 123,
    "lastSyncedAt": "2023-11-07T05:31:56Z",
    "latestCursor": "<string>"
  }
}
Once you have a Sync enabled for a particular Connected User, you can start to poll its status. You will receive fields for:
  • status — This tells you the current state of Sync activity.
    • INITIALIZING: The Sync has just been created and is pending its first run.
    • ACTIVE: The Sync is actively fetching new data.
    • IDLE: The Sync has completed and is watching for updates to synced data.
      • Check summary.lastSyncedAt to see if the sync has successfully completed.
    • DISABLED: The Sync has been paused temporarily by the Disable a Sync endpoint.
    • ERRORED: The Sync has been suspended due to an error. Check Webhook Events for additional error details.
  • summary — Metrics on the sync progress and last seen record timestamps.

Authorizations

Authorization
string
header
required

Path Parameters

syncId
string
required

Response

status
enum<string>
Available options:
INITIALIZING,
ACTIVE,
IDLE,
DISABLED,
ERRORED
summary
object