List Syncs
Changed onLists model syncs in the caller's organization.
Results are ordered by updated_at descending, with id used as a tiebreaker. If more results are available, the response includes pagination.next_page_token. Pass that token back unchanged to continue from the last item you received.
The token is opaque. Do not construct or edit it yourself.
The limit is capped at 50. Values above that cap are reduced to 50, and non-positive values fall back to the same default.
This endpoint returns syncs visible to the current caller's organization scope. To inspect a specific sync in more detail, follow up with GET /api/syncs/{id}.
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Query parameters
Filter to only active or only paused syncs.
Filter by sync target mode (e.g. create, updateOrCreate, enrich).
Filter to syncs that write to the specified target connection.
Pagination cursor returned in the previous response. Omit on the first request.
Maximum number of syncs to return. Default and maximum is 50.
Headers
Response
OK
Example response
{
"data": [
{
"active": true,
"created_by": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "John Doe",
"type": "user"
},
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"mode": "create",
"model_ids": [
"12345678-1234-1234-1234-123456789012",
"98765432-1234-1234-1234-123456789012"
],
"name": "Users Sync",
"organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"schedule": {
"connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"day_of_month": "1",
"day_of_week": "1",
"hour": "12",
"minute": "30",
"month": "1",
"run_after": {
"bulk_sync_ids": [
"248df4b7-aa70-47b8-a036-33ac447e668d"
],
"sync_ids": [
"248df4b7-aa70-47b8-a036-33ac447e668d"
]
}
},
"target_connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"target_object": "Users",
"updated_by": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "John Doe",
"type": "user"
}
}
],
"pagination": {
"next_page_token": "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K=="
}
}Changes
- breaking
removed the enum value
appendfrom thequeryrequest parametermode - breaking
removed the enum value
createfrom thequeryrequest parametermode - breaking
removed the enum value
removefrom thequeryrequest parametermode - breaking
removed the enum value
replacefrom thequeryrequest parametermode - breaking
removed the enum value
snapshotfrom thequeryrequest parametermode - breaking
removed the enum value
updatefrom thequeryrequest parametermode - breaking
removed the enum value
updateOrCreatefrom thequeryrequest parametermode - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
/from the response with the status - info
for the
queryrequest parametermode, the type was generalized fromstringto no type - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status
- breaking