Skip to main content

Start a SharePoint sync.

POST/api/v1/sharepoint-sites/{sharepoint_site_id}/syncconnectors:write

Starts a synchronisation of the site in the background. The site needs an uploaded certificate, and it is refused while another sync of the site is queued or running. Follow the run with GET /sharepoint-sync-runs/{sharepoint_sync_run_id}.

Scopeconnectors:write (sensitive)
AsynchronousNo
MCP toolsync_sharepoint_site
Portal permissionstrigger_connector_sync

Parameters​

NameInTypeRequiredDescription
sharepoint_site_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Responses​

StatusDescriptionBody
200Success.application/json SharePointSyncStart or object
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, idempotency_in_progressapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

SharePointSyncStart​

FieldTypeRequiredDescription
sharepoint_site_idstringRequired
sharepoint_sync_run_idstringRequired
task_idstringRequired