PATCH /api/v1/public/sheet-syncs/:id/
Change a sync’s settings, or pause and resume it. Only the fields you send change. The new settings apply from the next run. Auth:X-API-Key
Path Parameters
id(integer, required): Sync ID
Request Body
Any of the settings of POST /public/sheet-syncs/:spreadsheet_id, spreadsheet_name, sheet_name, sheet_id, header_row, key_field, key_column, mappings, status_values, create_leads, append_rows, enabled. The lead list or campaign of a sync can’t be changed.
mappings and status_values replace the saved ones as a whole.
Pause:
last_error):
Response
Error Responses
Example
Notes
- Unlike creating a sync, an update doesn’t read the Sheet. Check a new
key_column,header_rowor tab with POST /public/sheet-syncs/preview/ (sync_id+ the new values) first; a wrong one makes the next run fail withlast_error. - A sync paused because its spreadsheet or tab was gone resumes with
{"enabled": true}once the spreadsheet is reachable again.
