Syncs
Get association change capture status
Whether each HubSpot association table of a sync captures its changes from HubSpot rollup properties, and the rollup properties still to create in HubSpot. Reads HubSpot live, so it can take a few seconds.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
base_id*stringThe sync.
uuidregion*RegionsThe region of the sync
"besg""usnv"OK
application/json- response
GET /bases/<base_id>/association-cdc-status
base_id*Base Idapp_id*App IdThe HubSpot app of the sync
tables*array<>curl -X GET 'https://api.stacksync.com/v1/workspaces/0/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/association-cdc-status?region=besg'{ "base_id": "<base_id>", "app_id": "<app_id>", "tables": [ { "table_mapping_id": "<table_mapping_id>", "table_name": "<table_name>", "status": "enabled", "rollup_host_friendly_name": "<rollup_host_friendly_name>", "expected_property_labels": [ "<expected_property_labels>" ], "missing_property_labels": [ "<missing_property_labels>" ] } ]}GETGet sync diagnostics
The work queued, in flight, locked and waiting for a rescrape per app and table of a sync, and how much of it is stuck.
POSTCreate a sync
Create a sync between two apps from the tables and columns you pair with mapping ids. Stacksync reads both apps, checks every table and column, creates the tables marked `create_new_table` and stores the sync switched off: switch it on with the switch route. Send `validate_only: true` to run every check and get the sync as it would be stored without creating it.