Skip to main content

Get one SharePoint site.

GET/api/v1/sharepoint-sites/{sharepoint_site_id}connectors:read

The site's settings, whether it has credentials and a certificate, and its enabled library count.

Scopeconnectors:read (sensitive)
AsynchronousNo
MCP toolget_sharepoint_site
Portal permissionsview_sharepoint_sites

Parameters​

NameInTypeRequiredDescription
sharepoint_site_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json SharePointSite
304Not modified (If-None-Match matched the ETag).
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
421wrong_regionapplication/problem+json Problem
422validation_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​

SharePointSite​

FieldTypeRequiredDescription
audit_lookback_daysintegerRequired≥ -2147483648; ≤ 2147483647
created_atstring (date-time) or nullRequired
enable_full_syncbooleanRequired
entra_tenantstringRequired
expand_entra_groupsbooleanRequired
folder_idstring or nullRequiredThe Docwize folder the imported documents are filed under; null for none.
has_certificatebooleanRequired
has_credentialsbooleanRequiredWhether the application ID and certificate are stored.
import_actionsstring or nullRequired
include_analyticsbooleanRequired
include_auditbooleanRequired
is_activeboolean or nullRequired
last_synced_atstring (date-time) or nullRequired
library_countintegerRequiredLibraries with their own enabled configuration. ≥ -2147483648; ≤ 2147483647
number_prefixstring or nullRequired
root_folderstringRequired
schedule_dayinteger or nullRequired
schedule_hourinteger or nullRequired
schedule_typestring or nullRequireddaily, weekly, monthly, or null when the schedule is off.
sharepoint_site_idstringRequired
site_namestringRequired
site_urlstringRequired