v1

latestOpenAPI 3.0.02026-07-13162290.3 KB
Add Library

Add Notion pages

Submit selected Notion pages for documentation processing. Requires a connected Notion account and a team project.

post/v2/add/notion

Request body

workspaceIdstring required

The Notion workspace ID

workspaceNamestring required

The Notion workspace name

pageIdsstring[] required

List of Notion page IDs to index.

titlestring required

Title for the library

descriptionstring required

Description of the library

projectIdstring

The team project ID to associate these Notion pages with

Response

Library submitted successfully for processing

libraryNamestring required

The library identifier assigned — the URL path of the library on context7.com. /owner/repo for GitHub repositories, or /<source>/<id> for other sources (e.g., /vercel/next.js, /websites/uploadcare_com). See Library ID format.

messagestring required

Human-readable success message