latestOpenAPI 3.0.02026-08-137192110.1 KB
75294f591cc2
Reverse ETL Syncs
Create Reverse ETL Sync
Create a Reverse ETL Sync that reads from a source Transform and writes to a destination connection. The sync is activated immediately so it runs on its schedule (or as part of its Orchestration Workflow). The settings are validated against the settings schema (see the "Get Reverse ETL Settings Schema for a connection" endpoint).
post/reverse_etl_syncs
Request body
Example request
{
"destination_connection_id": "X4ughggABSd3UY",
"source_id": "OoORhGXUVjsqFG",
"object_type_id": "Q29udGFjdHx8Y29udGFjdA",
"operation": {
"mode": "insert",
"mappings": [
{
"source_property_id": "email",
"destination_property_id": "email",
"primary_key": true
}
]
},
"sync_interval": "0 0 * * *",
"orchestration_workflow_id": "3LIw2FdxoByya9",
"settings": {
"listId": "12345",
"sheetId": "abc123"
}
}Response
Example response
{
"id": "OoORhGXUVjsqFG",
"enabled": true,
"source_type": "Transform",
"source_id": "mdl_123",
"transform_id": "mdl_123",
"destination_connection_id": "conn_456",
"destination_integration_id": "hubspot",
"object_type_id": "Q29udGFjdHx8Y29udGFjdA",
"sync_interval": "0 0 * * *",
"orchestration_workflow_id": "3LIw2FdxoByya9",
"operation": {
"mode": "upsert",
"mappings": [
{
"source_property_id": "email",
"destination_property_id": "email",
"primary_key": true
}
]
},
"created_at": "2020-01-01T00:00:00.000Z",
"updated_at": "2020-01-01T00:00:00.000Z",
"settings": {
"listId": "12345",
"sheetId": "abc123"
}
}