Use the base URL for your API requests depending on your region:
https://api.rudderstack.com/v2
https://api.eu.rudderstack.com/v2
Start sync
You can start a new sync for a Reverse ETL connection using the below endpoint:
POST
/retl-connections/{connectionId}/start
Your service access token must have the relevant permissions to authenticate the API and run this endpoint.
Path parameters
connectionId
Required
String
Connection ID for which RudderStack starts a new sync
Request body
syncType
Required
String
Specify the scope of sync. It can be one of the following:
incremental: RudderStack syncs only the newly added data in the warehouse since the last sync.
full: RudderStack syncs all the data irrespective of whether it was synced to the destination previously.
Example request
POST/v2/retl-connections/<connection_id>/startHTTP/1.1Host:api.rudderstack.comContent-Type:application/jsonAccept:application/jsonAuthorization:Bearer <token>{"syncType":"incremental"// Other acceptable values: full
}
RudderStack also returns a unique ID for the newly created sync.
404
Reverse ETL connection was not found for the specified connection ID.
409
A Reverse ETL sync is already running for the specified connection ID.
Get sync details
Use the following endpoints to get details of all syncs or an individual sync for a particular Reverse ETL connection. You can also filter the results by sync status, start time, and limit the number of results per page.
All syncs
GET
/retl-connections/{connectionId}/syncs
Your service access token must have the relevant permissions to authenticate the API and run this endpoint.
Path parameters
connectionId
Required
String
Connection ID for which RudderStack fetches the syncs details.
Query parameters
status
Optional
String
Filter syncs by status. It accepts one of the following values - running, succeeded, and failed.
started_after
Optional
String (datetime)
Filter syncs started after the specified time (in UTC).
started_before
Optional
String (datetime)
Filter syncs started before the specified time (in UTC).
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.