sync_completed
webhook event and records created / updated after the initial sync will send record_created
or record_updated
webhook events. Learn more about the Sync Lifecycle.Authorizations
Paragon User Token. Add to the Authorization header of your requests.
Body
The integration to use for the sync
"googledrive"
The type of Synced Object to sync from the integration. You can find the list of supported values in Synced Objects.
"files"
The configuration for this sync. For example, the folder ID to sync from Google Drive. Learn more about the configuration options supported for each integration in the Integrations Reference.
A unique name for this sync configuration. Set this field to a unique value when creating multiple syncs for the same integration and pipeline.
Response
Sync successfully enabled
Unique identifier for the sync
"a11347bd-d510-5489-9068-e5fded55a28c"
ID of the Connected User who enabled the Sync
"your-user-id"
The integration to use for the sync
"googledrive"
The type of Synced Object being used in this Sync
"files"
ID of the Paragon Project that this Sync is associated with
"1ea8024c-23a7-4885-b925-c50d0faf9318"
Current state of Sync activity. Possible values:
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.
- Check
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.
INITIALIZING
, ACTIVE
, IDLE
, DISABLED
, ERRORED