Syncs
Update a sync
This endpoint updates a sync.
PATCH
Request parameters
You cannot update the
credential, provider, or stream_id of an existing sync.string
required
The ID of the sync.
string
Name of the sync.
array
IDs of the collections to sync.
object
Rate limit of the sync. Learn more about the rate limit object. The rate limit object is not required if you’re using Sequin OAuth for certain providers. If you don’t specify a rate limit, Sequin will use a reasonable default according to your provider.
string
Status of the sync. Possible values are
active and disabled.number
By default, Sequin syncs all data from the API regardless of age. When you set
max_age_days, Sequin will only sync and retain records that have been created or updated in the last max_age_days days.Defaults to null, which means no age limit.string
One of
continuous or 4h. If continuous, Sequin will run a continuous sync to sync data as fast as possible from the API. If 4h, Sequin will sync data every 4 hours.object
Metadata for the sync. This is a JSON object that you can use to store any additional information you want to associate with the sync.
Response fields
string
ID of the sync.
string
Provider of the sync (e.g.
github, stripe, etc). See the list of possible values.string
ID of the stream the sync writes to.
string
ID of your organization.
string
Name of the sync, which you provide on create or update.
string
Whether the sync is
active or disabled.object
Health of the sync. Learn more about the health object.
array
IDs of the collections that are synced by this sync.
object
Rate limit of the sync. Learn more about the rate limit object.
object
Credential for the sync. This will usually consist of an access token and a refresh token Sequin uses to make requests. This object is polymorphic, see the list of possible shapes.
number
By default, Sequin syncs all data from the API regardless of age. When you set
max_age_days, Sequin will only sync and retain records that have been created or updated in the last max_age_days days.Defaults to null, which means no age limit.string
One of
continuous or 4h. If continuous, Sequin will run a continuous sync to sync data as fast as possible from the API. If 4h, Sequin will sync data every 4 hours.string
Timestamp of when the initial backfill was completed, in ISO 8601 format. Is
null if the initial backfill has not yet completed.object
Metadata for the sync. This is a JSON object that you can use to store any additional information you want to associate with the sync.
string
Timestamp of when the sync was created, in ISO 8601 format.
string
Timestamp of when the sync was last updated, in ISO 8601 format.

