File storage
SharePoint in your product and your AI agents, through one API
The SharePoint toolkit covers sites, lists and document libraries, list columns and list items in a Microsoft 365 organization. Your customer connects SharePoint once with OAuth, and your product or AI agent calls each operation through Connect, which stores and renews the credentials and logs every execution.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/sharepoint_create_item/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"site_id": "<site_id>",
"list_id": "<list_id>",
"fields": {}
}
}How it works
From a connected customer to the first SharePoint call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their SharePoint account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with SharePoint.
Write records to a SharePoint list
Read a list's columns, then create an item with the required fields so data from your product lands where the customer's team already works.
Browse a customer's sites
Search sites by keyword, list their lists and libraries and read items with their column values.
Agent cleans up list items
An AI agent finds items by their fields, reads them with Get item and deletes the ones the user confirms.
Tools
8 SharePoint tools
- Search sitesGETSearches the SharePoint sites of the organization by keyword and returns id, displayName, name, webUrl and description. Use the id as site_id. Only the first page comes back.
- Get siteGETReturns one site with id, displayName, name, description, webUrl and createdDateTime.
- List listsGETLists the lists and document libraries of a site, with id, name, displayName, webUrl and list.template, which is genericList for a list and documentLibrary for a library. Hidden system lists are left out. Only the first page comes back.
- List columnsGETLists the columns of a list with name, displayName, required, readOnly and the facet of its type, such as text, number, dateTime, boolean or choice with the allowed choices. The name, not the displayName, is the key of a column in fields.
- List itemsGETLists the items of a list with id, webUrl, createdBy and lastModifiedDateTime, plus the column values in fields when expand is fields. In a document library each item is a file or folder. Only the first page comes back.
- Get itemGETReturns one item of a list with id, webUrl, createdBy and lastModifiedDateTime, plus the column values in fields when expand is fields.
- Create itemPOSTCreates an item in a list and returns it with its id and the values saved. Every required column of List columns must be in fields.
- Delete itemDELETEDeletes an item from a list.
OAuth with your product's app
You register your product's OAuth app once, with POST /api/merchants/credentials/sharepoint, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.
Questions about the SharePoint toolkit
Do I need to build against the SharePoint API?
No. Connect ships 8 SharePoint tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their SharePoint account?
With the mode the toolkit accepts: OAuth with your product's app. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
