Notion
Connect to Notion to read and write pages, data sources, and blocks.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "NOTION_COMPLETE_FILE_UPLOAD", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("NOTION_COMPLETE_FILE_UPLOAD", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute NOTION_COMPLETE_FILE_UPLOAD --data '{ }'Tool 目录
可用 Tools
48 个可调用操作
Complete a multi-part file uploadNOTION_COMPLETE_FILE_UPLOADComplete a multi-part file upload需要连接
Complete a multi-part file upload
认证
需要 Connected AccountTags
Create a commentNOTION_CREATE_A_COMMENTCreate a comment需要连接
Create a comment
认证
需要 Connected AccountTags
Create a data sourceNOTION_CREATE_A_DATABASECreate a data source需要连接
Create a data source
认证
需要 Connected AccountTags
Exchange an authorization code for an access and refresh tokenNOTION_CREATE_A_TOKENExchange an authorization code for an access and refresh token需要连接
Exchange an authorization code for an access and refresh token
认证
需要 Connected AccountTags
Create a databaseNOTION_CREATE_DATABASECreate a database需要连接
Create a database
认证
需要 Connected AccountTags
Create a file uploadNOTION_CREATE_FILECreate a file upload需要连接
Create a file upload
认证
需要 Connected AccountTags
Create a viewNOTION_CREATE_VIEWCreate a view需要连接
Create a view
认证
需要 Connected AccountTags
Create a view queryNOTION_CREATE_VIEW_QUERYCreate a view query需要连接
Create a view query
认证
需要 Connected AccountTags
Delete a blockNOTION_DELETE_A_BLOCKDelete a block需要连接
Delete a block
认证
需要 Connected AccountTags
Delete a commentNOTION_DELETE_A_COMMENTDelete a comment需要连接
Delete a comment
认证
需要 Connected AccountTags
Delete a viewNOTION_DELETE_VIEWDelete a view需要连接
Delete a view
认证
需要 Connected AccountTags
Delete a view queryNOTION_DELETE_VIEW_QUERYDelete a view query需要连接
Delete a view query
认证
需要 Connected AccountTags
Retrieve block childrenNOTION_GET_BLOCK_CHILDRENRetrieve block children需要连接
Retrieve block children
认证
需要 Connected AccountTags
Retrieve your token's bot userNOTION_GET_SELFRetrieve your token's bot user需要连接
Retrieve your token's bot user
认证
需要 Connected AccountTags
Retrieve a userNOTION_GET_USERRetrieve a user需要连接
Retrieve a user
认证
需要 Connected AccountTags
List all usersNOTION_GET_USERSList all users需要连接
List all users
认证
需要 Connected AccountTags
Get view query resultsNOTION_GET_VIEW_QUERY_RESULTSGet view query results需要连接
Get view query results
认证
需要 Connected AccountTags
Introspect a tokenNOTION_INTROSPECT_TOKENIntrospect a token需要连接
Introspect a token
认证
需要 Connected AccountTags
List commentsNOTION_LIST_COMMENTSList comments需要连接
List comments
认证
需要 Connected AccountTags
List custom emojisNOTION_LIST_CUSTOM_EMOJISList custom emojis需要连接
List custom emojis
认证
需要 Connected AccountTags
List templates in a data sourceNOTION_LIST_DATA_SOURCE_TEMPLATESList templates in a data source需要连接
List templates in a data source
认证
需要 Connected AccountTags
List file uploadsNOTION_LIST_FILE_UPLOADSList file uploads需要连接
List file uploads
认证
需要 Connected AccountTags
List viewsNOTION_LIST_VIEWSList views需要连接
List views
认证
需要 Connected AccountTags
Move a pageNOTION_MOVE_PAGEMove a page需要连接
Move a page
认证
需要 Connected AccountTags
Append block childrenNOTION_PATCH_BLOCK_CHILDRENAppend block children需要连接
Append block children
认证
需要 Connected AccountTags
Update pageNOTION_PATCH_PAGEUpdate page需要连接
Update page
认证
需要 Connected AccountTags
Query a data sourceNOTION_POST_DATABASE_QUERYQuery a data source需要连接
Query a data source
认证
需要 Connected AccountTags
Create a pageNOTION_POST_PAGECreate a page需要连接
Create a page
认证
需要 Connected AccountTags
Search by titleNOTION_POST_SEARCHSearch by title需要连接
Search by title
认证
需要 Connected AccountTags
Query meeting notesNOTION_QUERY_MEETING_NOTESQuery meeting notes需要连接
Query meeting notes
认证
需要 Connected AccountTags
Retrieve a blockNOTION_RETRIEVE_A_BLOCKRetrieve a block需要连接
Retrieve a block
认证
需要 Connected AccountTags
Retrieve a data sourceNOTION_RETRIEVE_A_DATA_SOURCERetrieve a data source需要连接
Retrieve a data source
认证
需要 Connected AccountTags
Retrieve a pageNOTION_RETRIEVE_A_PAGERetrieve a page需要连接
Retrieve a page
认证
需要 Connected AccountTags
Retrieve a page property itemNOTION_RETRIEVE_A_PAGE_PROPERTYRetrieve a page property item需要连接
Retrieve a page property item
认证
需要 Connected AccountTags
Retrieve a viewNOTION_RETRIEVE_A_VIEWRetrieve a view需要连接
Retrieve a view
认证
需要 Connected AccountTags
Retrieve an async taskNOTION_RETRIEVE_ASYNC_TASKRetrieve an async task需要连接
Retrieve an async task
认证
需要 Connected AccountTags
Retrieve a commentNOTION_RETRIEVE_COMMENTRetrieve a comment需要连接
Retrieve a comment
认证
需要 Connected AccountTags
Retrieve a databaseNOTION_RETRIEVE_DATABASERetrieve a database需要连接
Retrieve a database
认证
需要 Connected AccountTags
Retrieve a file uploadNOTION_RETRIEVE_FILE_UPLOADRetrieve a file upload需要连接
Retrieve a file upload
认证
需要 Connected AccountTags
Retrieve a page as markdownNOTION_RETRIEVE_PAGE_MARKDOWNRetrieve a page as markdown需要连接
Retrieve a page as markdown
认证
需要 Connected AccountTags
Revoke a tokenNOTION_REVOKE_TOKENRevoke a token需要连接
Revoke a token
认证
需要 Connected AccountTags
Update a blockNOTION_UPDATE_A_BLOCKUpdate a block需要连接
Update a block
认证
需要 Connected AccountTags
Update a commentNOTION_UPDATE_A_COMMENTUpdate a comment需要连接
Update a comment
认证
需要 Connected AccountTags
Update a data sourceNOTION_UPDATE_A_DATA_SOURCEUpdate a data source需要连接
Update a data source
认证
需要 Connected AccountTags
Update a viewNOTION_UPDATE_A_VIEWUpdate a view需要连接
Update a view
认证
需要 Connected AccountTags
Update a databaseNOTION_UPDATE_DATABASEUpdate a database需要连接
Update a database
认证
需要 Connected AccountTags
Update a page's content as markdownNOTION_UPDATE_PAGE_MARKDOWNUpdate a page's content as markdown需要连接
Update a page's content as markdown
认证
需要 Connected AccountTags
Upload a fileNOTION_UPLOAD_FILEUpload a file需要连接
Upload a file
认证
需要 Connected AccountTags