Skip to main content
Every sharepoint.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Content Types

contentTypes.addFieldLink Add a field link to a list content type Risk: write
Input Output

create

contentTypes.create Create a new SharePoint content type Risk: write
Input
Output

createListField

contentTypes.createListField Create a new field (column) on a SharePoint list Risk: write
Input Output

get

contentTypes.get Get a SharePoint content type by ID Risk: read
Input Output

getAll

contentTypes.getAll Get all content types defined on the site Risk: read
Input: empty object Output

getById

contentTypes.getById Get a content type from a list by its ID Risk: read
Input Output

getForList

contentTypes.getForList Get content types available for a specific list Risk: read
Input Output

update

contentTypes.update Update an existing SharePoint content type Risk: write
Input Output

Drive

drive.createSharingLink Create a sharing link for a drive item via Graph API Risk: write
Input Output

deleteVersion

drive.deleteVersion Delete a specific version of a drive item [DESTRUCTIVE] Risk: destructive
Input Output

getAnalytics

drive.getAnalytics Get analytics for a SharePoint drive item via Graph API Risk: read
Input Output

listRecentItems

drive.listRecentItems List recently accessed drive items via Graph API Risk: read
Input Output

restoreVersion

drive.restoreVersion Restore a previous version of a drive item via Graph API Risk: write
Input Output

updateItem

drive.updateItem Update a drive item (rename, move) via Graph API Risk: write
Input
Output

Files

checkIn

files.checkIn Check in a SharePoint file to publish changes Risk: write
Input Output

checkOut

files.checkOut Check out a SharePoint file for exclusive editing Risk: write
Input Output

download

files.download Download a file by its server-relative URL Risk: read
Input Output

get

files.get Get metadata of a SharePoint file by server-relative URL Risk: read
Input Output

listInFolder

files.listInFolder List all files in a SharePoint folder Risk: read
Input Output

recycle

files.recycle Move a SharePoint file to the recycle bin Risk: write
Input Output

undoCheckout

files.undoCheckout Undo a checked-out SharePoint file Risk: write
Input Output

upload

files.upload Upload a file to a SharePoint document library folder Risk: write
Input Output

Folders

create

folders.create Create a new SharePoint folder Risk: write
Input Output

delete

folders.delete Delete a SharePoint folder and all its contents [DESTRUCTIVE] Risk: destructive
Input Output

get

folders.get Get a SharePoint folder by server-relative URL Risk: read
Input Output

getAll

folders.getAll Get all SharePoint folders in a list or location Risk: read
Input Output

listSubfolders

folders.listSubfolders List subfolders inside a SharePoint folder Risk: read
Input Output

rename

folders.rename Rename a SharePoint folder Risk: write
Input Output

Items

addAttachment

items.addAttachment Add a file attachment to a SharePoint list item Risk: write
Input Output

create

items.create Create a new SharePoint list item Risk: write
Input
Output

createByGuid

items.createByGuid Create a new item in a SharePoint list by GUID Risk: write
Input
Output

createInFolder

items.createInFolder Create a new list item inside a specific folder Risk: write
Input
Output

delete

items.delete Permanently delete a SharePoint list item [DESTRUCTIVE] Risk: destructive
Input Output

get

items.get Get a SharePoint list item by ID Risk: read
Input Output

getAttachmentContent

items.getAttachmentContent Download the content of a list item attachment Risk: read
Input Output

getEtag

items.getEtag Get the ETag for a SharePoint list item Risk: read
Input Output

getVersion

items.getVersion Get a specific version of a SharePoint list item Risk: read
Input Output

list

items.list List items in a SharePoint list Risk: read
Input Output

listAttachments

items.listAttachments List all attachments for a SharePoint list item Risk: read
Input Output

listByGuid

items.listByGuid List items in a SharePoint list by GUID Risk: read
Input Output

recycle

items.recycle Move a SharePoint list item to the recycle bin Risk: write
Input Output

update

items.update Update an existing SharePoint list item Risk: write
Input
Output

Lists

create

lists.create Create a new SharePoint list Risk: write
Input Output

delete

lists.delete Delete a SharePoint list by GUID [DESTRUCTIVE] Risk: destructive
Input Output

deleteByTitle

lists.deleteByTitle Delete a SharePoint list by title [DESTRUCTIVE] Risk: destructive
Input Output

getByGuid

lists.getByGuid Get a SharePoint list by GUID Risk: read
Input Output

getByTitle

lists.getByTitle Get a SharePoint list by title Risk: read
Input Output

getChanges

lists.getChanges Get change log entries for a SharePoint list Risk: read
Input Output

listAll

lists.listAll List all SharePoint lists in the site Risk: read
Input: empty object Output

listColumns

lists.listColumns List all columns (fields) in a SharePoint list Risk: read
Input Output

renderDataAsStream

lists.renderDataAsStream Render list data as a pageable stream Risk: read
Input Output

update

lists.update Update an existing SharePoint list Risk: write
Input Output

Permissions

addRoleToItem

permissions.addRoleToItem Grant a role assignment to a user on a list item Risk: write
Input Output

addRoleToList

permissions.addRoleToList Grant a role assignment to a user on a SharePoint list Risk: write
Input Output

breakInheritanceOnItem

permissions.breakInheritanceOnItem Break permission inheritance on a list item Risk: write
Input Output

breakInheritanceOnList

permissions.breakInheritanceOnList Break permission inheritance on a SharePoint list Risk: write
Input Output

getRoleDefinitions

permissions.getRoleDefinitions Get all role definitions (permission levels) in the site Risk: read
Input: empty object Output

Recycle Bin

deletePermanent

recycleBin.deletePermanent Permanently delete an item from the recycle bin [DESTRUCTIVE] Risk: destructive
Input Output

list

recycleBin.list List items in the SharePoint recycle bin Risk: read
Input Output

restore

recycleBin.restore Restore an item from the SharePoint recycle bin Risk: write
Input Output

query

search.query Execute a full-text search query against SharePoint Risk: read
Input
Output

suggest

search.suggest Get query suggestions from SharePoint search Risk: read
Input Output

Social

follow

social.follow Follow a SharePoint actor (person, document, site, tag) Risk: write
Input Output

getFollowed

social.getFollowed Get entities followed by the current user Risk: read
Input Output

getFollowers

social.getFollowers Get followers of the current user Risk: read
Input: empty object Output

isFollowed

social.isFollowed Check if the current user is following an actor Risk: read
Input Output

Users

create

users.create Add an Azure AD user to the SharePoint site Risk: write
Input Output

ensure

users.ensure Ensure a user exists in SharePoint (create if not present) Risk: write
Input Output

find

users.find Find SharePoint users by name or email Risk: read
Input Output

getCurrent

users.getCurrent Get the currently authenticated SharePoint user Risk: read
Input: empty object Output

getEffectivePermissions

users.getEffectivePermissions Get the effective permissions of a user on the web Risk: read
Input Output

getGroupUsers

users.getGroupUsers Get users belonging to a SharePoint site group by name Risk: read
Input Output

getGroupUsersById

users.getGroupUsersById Get users belonging to a SharePoint site group by ID Risk: read
Input Output

listGroups

users.listGroups List all site groups Risk: read
Input: empty object Output

listSite

users.listSite List all users in the SharePoint site Risk: read
Input: empty object Output

remove

users.remove Remove a user from the SharePoint site [DESTRUCTIVE] Risk: destructive
Input Output

Web

createSubsite

web.createSubsite Create a new SharePoint subsite Risk: write
Input Output

getContextInfo

web.getContextInfo Get SharePoint context info including form digest token Risk: read
Input: empty object Output

getDriveItemByPath

web.getDriveItemByPath Get a drive item by its path using Microsoft Graph Risk: read
Input Output

getInfo

web.getInfo Get information about the current SharePoint web/site Risk: read
Input: empty object Output

getSiteCollectionInfo

web.getSiteCollectionInfo Get information about the SharePoint site collection Risk: read
Input: empty object Output

getSitePage

web.getSitePage Get the content of a SharePoint modern site page Risk: read
Input Output

logEvent

web.logEvent Log a custom event to the SharePoint ULS log Risk: write
Input Output

updateSite

web.updateSite Update SharePoint site title or description Risk: write
Input Output

Webhook Subscriptions

get

webhookSubscriptions.get Get a specific SharePoint webhook subscription Risk: read
Input Output

getAll

webhookSubscriptions.getAll Get all webhook subscriptions for a SharePoint list Risk: read
Input Output