Skip to main content
GET
/
api
/
syncs
/
{syncId}
/
records
Pull Synced Records
curl --request GET \
  --url https://sync.useparagon.com/api/syncs/{syncId}/records \
  --header 'Authorization: Bearer <token>'
{
  "data": "[/* See schema in Synced Objects */]",
  "paging": {
    "totalRecords": 123,
    "totalActiveRecords": 123,
    "remainingRecords": 123,
    "cursor": "<string>",
    "lastSeen": 123
  }
}
Each page that you consume in pulling syncing records will return a stable cursor representing the last record of the page in paging.cursor. When you receive data as an empty array or paging.remainingRecords = 0, your application is caught up to the latest data synced to Paragon. You can persist the last available paging.cursor value to sync available pages when you receive recordCreated webhooks in the future.

Authorizations

Authorization
string
header
required

Path Parameters

syncId
string
required

Query Parameters

pageSize
integer
cursor
string

Response

data
object[]
Example:
paging
object