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

Paragon User Token. Add to the Authorization header of your requests.

Path Parameters

syncId
string
required

ID of the sync

Query Parameters

pageSize
integer

Number of records to return per page

cursor
string

Cursor for pagination

Response

200
application/json

Synced records

The response is of type object.