Trigger an immediate synchronization for a connector
Parameters
Connector ID (UUID)
Request body application/json · TriggerSyncRequest
Sync options
Responses
Accepted
TriggerSyncResponse · 1 field
Conflict - the connector is paused (connector.paused). Nothing was queued. Resume the connector, then run the sync. Code operation.already_running: a sync of the connector already runs or waits for its next attempt. Nothing was queued. details.existing_job_id and resources (relation running_operation) name that job, details.started_at is when it was started, details.next_attempt_at when a job that waits between attempts tries again, and resolution.code operation.view_running opens it. The same request is accepted again after that job ends. A dry run is not refused and does not block a sync.
Unprocessable Entity - connector.type_unavailable when Principal can't sync this connector type yet (coming_soon in GET /connectors/types). Nothing was queued.
Common errors: 400 401 403 404 413 429 503 504. They mean the same for every operation, see Errors.