The Notion integration allows you to query and index Notion pages and databases. It supports both and .
Authentication
The Notion integration can be set up as a personal connection or as a shared connection.
Personal connection (OAuth)
Each user connects their own Notion account through an OAuth flow, available in Hyperspell as a personal connection without any additional setup.During the OAuth flow, users select which pages in their Notion workspace they want to give access to.
Shared connection
An app admin can instead register a single shared connection using a Notion Access Token. Its data is synced once and made available to everyone in your app — no per-user OAuth required.To create the Access Token:
Click New connection, enter a name, select Access token as the authentication method, then click Create connection:
Open the Content access tab and click Add pages & databases to select which pages the connection can access. We recommend selecting your team workspace — all subpages are added automatically:
Back in the Configuration tab, copy the Access Token.
Then register the shared connection with the following field:
string
required
Your Notion Access Token.
Search Options
The Notion integration does not support any custom search options.
Resources
The Notion integration returns Document resources:
Show Document Schema
string
required
The unique identifier of the page or database
string
required
The provider that fetched the document, which is notion if this integration is used to query or index it.
string
The title of the page
text
A summary of the document that can be fed directly into LLMs. When retrieved from the /query endpoint, this may summarize only the sections of the document returned as highlights (i.e., parts relevant to your query). Otherwise, it will summarize the entire document.
elements[]
A structured representation of the page’s content. This field is only returned if the resource is returned from the /documents/get endpoint. If the website is returned from the /query endpoint, this field will be empty and the highlights field will contain the relevant sections of the website.
highlight[]
A list of highlights from the page relevant to the query. This field is only returned if the resource is returned from the /query endpoint.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hyperspell","colors":{"primary":"#eF7E75","light":"#eF7E75","dark":"#FF7E75"},"logo":{"light":"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/logo/light.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=daa1192bf1d8015701d50d2c12b5e843","dark":"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/logo/dark.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=f902d22b6c72a38457450091a65af5b1","href":"https://hyperspell.com"},"favicon":"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/favicon.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=e3868fcf92af7815460b8dc73c41e908","appearance":{"default":"light"},"background":{"decoration":"gradient","color":{"light":"#f9f9f9","dark":"#151313"}},"navbar":{"links":[{"href":"mailto:hello@hyperspell.com","label":"Support"},{"href":"https://hyperspell.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://app.hyperspell.com"}},"footer":{"socials":{"x":"https://x.com/hyperspell","github":"https://github.com/hyperspell","linkedin":"https://linkedin.com/company/hyperspell"}},"fonts":{"heading":{"family":"Exposure","weight":400,"source":"fonts/exposure.woff2","format":"woff2"},"body":{"family":"Geist"}},"integrations":{"plausible":{"domain":"docs.hyperspell.com"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hyperspell","hasAudioNarration":false,"actualSubdomain":"hyperspell","customDomains":["docs.hyperspell.com"],"gitSource":{"type":"github","owner":"hyperspell","repo":"hyperspell","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b07789199879eb4b5371e4f","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":69},{"language":"default","tag":"Integrations","count":68},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Memories","count":18},{"language":"default","tag":"Connecting Agents","count":9},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"Emotional State","count":4},{"language":"default","tag":"Evaluation","count":4},{"language":"default","tag":"Folder Policies","count":4},{"language":"default","tag":"Live","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"integrations/all/notion","slug":"/integrations/all/notion","pageMetadata":{"title":"Notion","description":"Query Notion pages and databases","href":"/integrations/all/notion"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Query Notion pages and databases\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const IndexedSearch=()=>{const{Icon,Tooltip}=_provideComponents()||{};if(!Icon)_missingMdxReference(`Icon`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip:`Indexed search uses advanced semantic, hybrid, and graph search methods to find the most relevant results. It's very fast and accurate, but requires upfront indexing of data.`,children:_jsxs(`span`,{className:`mint-text-sky-600`,children:[_jsx(Icon,{icon:`database`,size:14,color:`#0084d1`,iconType:`solid`}),` Indexed Search`]})})};const LiveSearch=()=>{const{Icon,Tooltip}=_provideComponents()||{};if(!Icon)_missingMdxReference(`Icon`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip:`Live search uses AI to search your integrations native APIs in real-time. This is slower than indexed search and often not as accurate, but does not store any data on Hyperspell's servers and is always up to date.`,children:_jsxs(`span`,{className:`mint-text-emerald-600`,children:[_jsx(Icon,{icon:`bolt`,size:14,color:`#009966`,iconType:`solid`}),` Live Search`]})})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Frame,Heading,OptimizedImage,ParamField,ResponseField,_MdxComponentBoundary}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`The Notion integration allows you to query and index Notion pages and databases. It supports both `,_jsx(_MdxComponentBoundary,{name:`LiveSearch`,children:_jsx(LiveSearch,{})}),` and `,_jsx(_MdxComponentBoundary,{name:`IndexedSearch`,children:_jsx(IndexedSearch,{})}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`The Notion integration can be set up as a `,_jsx(_components.strong,{children:`personal connection`}),` or as a `,_jsx(_components.strong,{children:`shared connection`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`personal-connection-oauth`,children:`Personal connection (OAuth)`}),`\n`,_jsx(_components.p,{children:`Each user connects their own Notion account through an OAuth flow, available in Hyperspell as a personal connection without any additional setup.`}),`\n`,_jsx(_components.p,{children:`During the OAuth flow, users select which pages in their Notion workspace they want to give access to.`}),`\n`,_jsx(Heading,{level:`3`,id:`shared-connection`,children:`Shared connection`}),`\n`,_jsxs(_components.p,{children:[`An app admin can instead register a single `,_jsx(_components.strong,{children:`shared connection`}),` using a Notion `,_jsx(_components.strong,{children:`Access Token`}),`. Its data is synced once and made available to everyone in your app — no per-user OAuth required.`]}),`\n`,_jsx(_components.p,{children:`To create the Access Token:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.a,{href:`https://app.notion.com/developers/connections`,children:`https://app.notion.com/developers/connections`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`New connection`}),`, enter a name, select `,_jsx(_components.strong,{children:`Access token`}),` as the authentication method, then click `,_jsx(_components.strong,{children:`Create connection`}),`:`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=edcc0f2e82e7806ad5f03c4b46c2a643`,alt:`Creating a new Notion connection with the Access token authentication method selected`,\"data-og-width\":`1062`,width:`1062`,\"data-og-height\":`894`,height:`894`,\"data-path\":`images/notion-new-connection.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?w=280\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=a06cef7243b9633f72f779ff576dad0d 280w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?w=560\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=7cea83886190de32de7e7beeb70039bb 560w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?w=840\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=258baea1c50fa443850beedd88b10256 840w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?w=1100\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=af1bf138c4759af91bfff6d4fcf39e23 1100w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?w=1650\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=b53d98de33136909e0d75f7945349346 1650w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-new-connection.png?w=2500\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=320f9179e5d3bff933b801b843c64d3a 2500w`})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[`Open the `,_jsx(_components.strong,{children:`Content access`}),` tab and click `,_jsx(_components.strong,{children:`Add pages \u0026 databases`}),` to select which pages the connection can access. We recommend selecting your team workspace — all subpages are added automatically:`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=13f17b70bb364ca5dcf9a420fe351849`,alt:`Notion Content access tab showing the option to add pages and databases`,\"data-og-width\":`1416`,width:`1416`,\"data-og-height\":`532`,height:`532`,\"data-path\":`images/notion-content-access.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?w=280\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=fa5a7a5cb2c2c8f3fe5e1dacc97b54e6 280w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?w=560\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=d04bcdb2d276cfad08a52d5f5092e15d 560w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?w=840\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=064038bde4492d59437755dc00efc3bd 840w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?w=1100\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=b6e6fa7978da5593d5d229f3120766f9 1100w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?w=1650\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=df06092b199ca22b6a57d3a616ec5ce3 1650w, https://mintcdn.com/hyperspell/NvoQRFHWp690-8K-/images/notion-content-access.png?w=2500\u0026fit=max\u0026auto=format\u0026n=NvoQRFHWp690-8K-\u0026q=85\u0026s=ea48d6b7299ce4aa7f2b16b40b1a8e80 2500w`})}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsxs(_components.li,{children:[`Back in the `,_jsx(_components.strong,{children:`Configuration`}),` tab, copy the `,_jsx(_components.strong,{children:`Access Token`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Then register the shared connection with the following field:`}),`\n`,_jsx(ParamField,{body:`api_key`,type:`string`,required:true,id:`param-api-key`,children:_jsx(_components.p,{children:`Your Notion Access Token.`})}),`\n`,_jsx(Heading,{level:`2`,id:`search-options`,children:`Search Options`}),`\n`,_jsx(_components.p,{children:`The Notion integration does not support any custom search options.`}),`\n`,_jsx(Heading,{level:`2`,id:`resources`,children:`Resources`}),`\n`,_jsxs(_components.p,{children:[`The Notion integration returns `,_jsx(_components.code,{children:`Document`}),` resources:`]}),`\n`,_jsxs(Expandable,{title:`Document Schema`,children:[_jsx(ResponseField,{name:`resource_id`,type:`string`,required:true,id:`param-resource-id`,children:_jsx(_components.p,{children:`The unique identifier of the page or database`})}),_jsx(ResponseField,{name:`source`,type:`string`,required:true,id:`param-source`,children:_jsxs(_components.p,{children:[`The provider that fetched the document, which is `,_jsx(_components.code,{children:`notion`}),` if this integration is used to query or index it.`]})}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`The title of the page`})}),_jsx(ResponseField,{name:`summary`,type:`text`,required:false,id:`param-summary`,children:_jsxs(_components.p,{children:[`A summary of the document that can be fed directly into LLMs. When retrieved from the `,_jsx(_components.code,{children:`/query`}),` endpoint, this may summarize only the sections of the document returned as highlights (i.e., parts relevant to your query). Otherwise, it will summarize the entire document.`]})}),_jsx(ResponseField,{name:`data`,type:`elements[]`,required:false,id:`param-data`,children:_jsxs(_components.p,{children:[`A structured representation of the page’s content. This field is only returned if the resource is returned from the `,_jsx(_components.code,{children:`/documents/get`}),` endpoint. If the website is returned from the `,_jsx(_components.code,{children:`/query`}),` endpoint, this field will be empty and the `,_jsx(_components.code,{children:`highlights`}),` field will contain the relevant sections of the website.`]})}),_jsx(ResponseField,{name:`highlights`,type:`highlight[]`,required:false,id:`param-highlights`,children:_jsxs(_components.p,{children:[`A list of highlights from the page relevant to the query. This field is only returned if the resource is returned from the `,_jsx(_components.code,{children:`/query`}),` endpoint.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{IndexedSearch,LiveSearch,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Notion","description":"Query Notion pages and databases","href":"/integrations/all/notion"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":1,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[{"title":"Personal connection (OAuth)","slug":"personal-connection-oauth","depth":3,"children":[]},{"title":"Shared connection","slug":"shared-connection","depth":3,"children":[]}]},{"title":"Search Options","slug":"search-options","depth":2,"children":[]},{"title":"Resources","slug":"resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-text-emerald-600 {\n --tw-text-opacity: 1;\n color: rgb(5 150 105 / var(--tw-text-opacity, 1))\n}\n.mint-text-sky-600 {\n --tw-text-opacity: 1;\n color: rgb(2 132 199 / var(--tw-text-opacity, 1))\n}","subdomain":"hyperspell","siteName":"Hyperspell","title":"Notion - Hyperspell","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-02T01:20:51.986Z","originalFileLocation":"integrations/all/notion.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Query Notion pages and databases\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hyperspell\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Notion - Hyperspell\">\u003cmeta data-mint-head property=\"og:description\" content=\"Query Notion pages and databases\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hyperspell\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hyperspell.com/integrations/all/notion\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hyperspell.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Notion\u0026amp;description=Query+Notion+pages+and+databases\u0026amp;theme=d1877f2b57f72ecfb447ed52\u0026amp;signature=579458adee09f8b44f79efa9e963727aa88fd5f4975a6caea7354606c09c5f2e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Notion - Hyperspell\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Query Notion pages and databases\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hyperspell.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Notion\u0026amp;description=Query+Notion+pages+and+databases\u0026amp;theme=d1877f2b57f72ecfb447ed52\u0026amp;signature=579458adee09f8b44f79efa9e963727aa88fd5f4975a6caea7354606c09c5f2e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hyperspell/_L3SAE3y_mnPfj1R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hyperspell\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#eF7E75\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hyperspell.com/integrations/all/notion\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/all/notion.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hyperspell.com/#organization\",\"name\":\"Hyperspell\",\"url\":\"https://docs.hyperspell.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hyperspell/v3b7lBADAA2jgsr8/logo/light.svg?fit=max\u0026auto=format\u0026n=v3b7lBADAA2jgsr8\u0026q=85\u0026s=daa1192bf1d8015701d50d2c12b5e843\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hyperspell.com#website\",\"name\":\"Hyperspell\",\"url\":\"https://docs.hyperspell.com\",\"publisher\":{\"@id\":\"https://docs.hyperspell.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hyperspell.com/integrations/all/notion#webpage\",\"url\":\"https://docs.hyperspell.com/integrations/all/notion\",\"name\":\"Notion\",\"description\":\"Query Notion pages and databases\",\"dateModified\":\"2026-09-02T01:20:51.986Z\",\"isPartOf\":{\"@id\":\"https://docs.hyperspell.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hyperspell.com/integrations/all/notion#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hyperspell.com/integrations/all/notion#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.hyperspell.com/integrations/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Notion\",\"item\":\"https://docs.hyperspell.com/integrations/all/notion\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hyperspell.com/integrations/all/notion#article\",\"headline\":\"Notion\",\"name\":\"Notion\",\"description\":\"Query Notion pages and databases\",\"url\":\"https://docs.hyperspell.com/integrations/all/notion\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hyperspell.com/integrations/all/notion#webpage\"},\"dateModified\":\"2026-09-02T01:20:51.986Z\",\"publisher\":{\"@id\":\"https://docs.hyperspell.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hyperspell.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hyperspell\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hyperspell\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/all/notion.md","siteName":"Hyperspell","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book","pages":[{"title":"Documentation","href":"/core/introduction"}]},{"anchor":"Integrations","icon":"circle-nodes","groups":[{"group":"Integrations","pages":[{"title":"Available Integrations","href":"/integrations/overview"},{"title":"ClickUp","href":"/integrations/all/clickup"},{"title":"Superhuman Docs","href":"/integrations/all/coda"},{"title":"Confluence","href":"/integrations/all/confluence"},{"title":"Dropbox","href":"/integrations/all/dropbox"},{"title":"Fathom","href":"/integrations/all/fathom"},{"title":"Fellow","href":"/integrations/all/fellow"},{"title":"Fireflies","href":"/integrations/all/fireflies"},{"title":"GitHub","href":"/integrations/all/github"},{"title":"GitLab","href":"/integrations/all/gitlab"},{"title":"Gong","href":"/integrations/all/gong"},{"title":"Google Calendar","href":"/integrations/all/google_calendar"},{"title":"Google Drive","href":"/integrations/all/google_drive"},{"title":"Gmail","href":"/integrations/all/google_mail"},{"title":"Granola","href":"/integrations/all/granola"},{"title":"HubSpot","href":"/integrations/all/hubspot"},{"title":"Jira","href":"/integrations/all/jira"},{"title":"Lightfield","href":"/integrations/all/lightfield"},{"title":"Linear","description":"Search through Linear issues and projects","href":"/integrations/all/linear"},{"title":"Notion","href":"/integrations/all/notion"},{"title":"Microsoft Outlook","description":"Search through Microsoft Outlook email conversations","href":"/integrations/all/outlook"},{"title":"Pylon","href":"/integrations/all/pylon"},{"title":"Salesforce","href":"/integrations/all/salesforce"},{"title":"Slack","href":"/integrations/all/slack"},{"title":"Vault","href":"/integrations/all/vault"},{"title":"Web Crawler","href":"/integrations/all/web_crawler"}]}]},{"anchor":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Notion - Hyperspell","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D6LgX1ys.js","DynamicMarkdown-CZT_WAnN.js","zoom-image-lightbox-CIIGaZaE.js","lightbox-handle-r17bVUz3.js"]}