AI & AutomationGuide

Notion API Key and Integrations: Step by Step

Notion integrations are now called connections. Here's how to create a personal access token or an internal connection token, give it page access, fix "Could not find object", and keep the key safe.

Cover: an illustrated Notion Developer portal listing personal access tokens with a 'New token' button and a blurred ntn_XXXXXXXX token card marked 'Shown once', next to the headline 'Your Notion API key, step by step'.

Last updated: 11 October 2026 · By Zoya K

Notion renamed most of the screens that old tutorials describe. "Integrations" are now "connections", the "Internal Integration Secret" is now an internal connection API token, and there is a newer, faster option called a personal access token. This guide uses the names you'll see in Notion today.

What is a Notion API key?

A Notion API key is a secret token that lets a script or another app read and change your Notion workspace through Notion's REST API. Notion now offers two kinds for everyday use: a personal access token, which acts as you, and an internal connection API token, which acts as a separate bot.

Notion says a connection is "sometimes called an integration", and the API can "read, create, and update nearly everything in a workspace".

If a video tells you to click "+ New integration" and the button isn't there, this table maps old names to new ones.

Old name (in older tutorials)Current name (October 2026)
IntegrationConnection
Internal integrationInternal connection
Internal Integration SecretInternal connection API token (Configuration tab)
Public integrationPublic connection (OAuth)
Develop or manage integrations / "My integrations"Developer portal, plus Settings → Connections
(did not exist)Personal access token (PAT)

Two definitions to keep in mind for the rest of the guide. A personal access token is a token that lets one Notion user call the API as themselves, in one workspace. An internal connection is a workspace-scoped bot with its own token that only sees pages shared with it.

Which token do I need? PAT vs internal connection vs public connection

Pick a personal access token for scripts and tools that should act as you. Pick an internal connection for a team automation that shouldn't depend on one person's account. Pick a public connection, which uses OAuth, only if you are building an app that other Notion users will install in their own workspaces.

All three run on the same REST API. They differ in whose permissions the token carries.

Personal access tokenInternal connectionPublic connection
Acts asYou (the token creator)Its own bot userWhoever authorizes it
How you authenticateStatic bearer tokenStatic API tokenOAuth 2.0 sign-in
Sees which pagesEverything you can seeOnly pages shared with itPages the user picks
Good forYour own scripts, a tool that works on your behalfTeam automations that survive staff changesApps for other people's workspaces

Example: a freelancer whose script logs invoices into her own database needs a PAT. A team whose n8n workflow updates a shared tracker should use an internal connection, so it keeps working when its builder leaves.

Decision tree with three questions: if it should act as you with your access, use a personal access token; if it is a team automation inside one workspace, use an internal connection and share pages with it; if you are building an app other Notion users will install, use a public connection with OAuth.

How to create a personal access token (fastest way)

Open Personal access tokens in Notion's Developer portal, select New token, give it a name, choose the Notion API capability and an expiration, then select Create token. Copy the token right away and store it somewhere safe. Notion shows it once, and you can't view it again later.

The steps, following Notion's quick start:

  1. Open Personal access tokens in the Developer portal. Inside Notion, the help center route is: turn on Developer Mode in Settings, then open personal access tokens from the developer section of the sidebar.
  2. Select New token.
  3. Name it after its job, such as "n8n invoices".
  4. Choose the Notion API capability.
  5. Pick an expiration: 7 days, 30 days, 90 days, 180 days or 1 year. If you don't choose, the token expires after 1 year.
  6. Select the workspace if asked, then Create token.
  7. Copy the token and save it in a password manager or secret store. You won't see it again.

A PAT carries your own permissions, so there is nothing to share: if you can open a page, so can the token.

Illustrated Developer portal with a 'Personal access tokens' list showing 'n8n invoices · Notion API · expires in 90 days' and a blurred one-time token, next to the New token form with Name, Capability (Notion API checked, Workers unchecked) and an Expiration menu of 7, 30, 90, 180 days or 1 year.

Who can create a personal access token on each plan?

This answers "why don't I see the button?" (source):

PlanWho can create PATs by defaultCan an admin change it?
FreeWorkspace owners onlyNo
PlusAll workspace membersNo
BusinessWorkspace owners onlyYes
EnterpriseWorkspace owners and selected groupsYes

Guests and restricted members can't create PATs. On Business and Enterprise, ask a workspace owner to enable them in Settings → Connections.

Don't see the option?

Check that you are a member, not a guest, that Developer Mode is on, and that your plan lets your role create tokens. Notion's help center says "only Workspace owners" can create integrations; that rule covers internal connections, not PATs.

How to create an internal connection (for team automations)

A workspace owner creates the connection in the Developer portal under Internal connections, then copies its API token from the Configuration tab. After that, the connection needs access to specific pages. A new connection sees nothing by default, so every request fails until you share pages with it.

Steps from Notion's internal connections guide:

  1. Open the Developer portal and select Internal connections under Build. You must be a workspace owner.
  2. Select Create a new connection, enter a name and choose the workspace.
  3. On the Configuration tab, keep only the capabilities the automation needs.
  4. Copy the API token from the same tab.
Illustrated internal connection 'Team tracker sync' on the Configuration tab with Read, Update and Insert content checked, Read user information unchecked and a blurred API token with a Copy button, plus a Notion page's ••• menu → Connections → '+ Add connection' with Team tracker sync selected.

Give the connection access to pages

You have two ways to do it:

  • From the Developer portal: open the connection's Content access tab and select the pages or databases it should reach.
  • From Notion: open the page, click the ••• menu, choose Connections, then add your connection.

Fixing "Could not find object"

It usually means the token can't see the page. With an internal connection, the page isn't shared yet: "a newly created connection has no page access by default". Share it and retry.

With a PAT, either your account can't open that page or it sits in another workspace. A PAT works in one workspace only.

Test the token with one request

This call returns the user the token acts as. The token is a fake placeholder; never paste a real token into chat or public code.

Code
curl https://api.notion.com/v1/users/me \
  -H "Authorization: Bearer ntn_XXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
  -H "Notion-Version: 2026-03-11"

Both token types use this header. The Notion-Version value is from the quick start.

Where to paste the key: Zapier, n8n, Make and other tools

Most no-code tools ask for a Notion token in a credential or connection screen, or offer a Notion sign-in instead. A PAT or an internal connection token both work as a bearer token. Choose by whose permissions the automation should carry. In n8n, you save a Notion credential once and reuse it across nodes.

ToolWhere the key goesWhich token to use
n8nNotion credential, "API integration token" methodInternal connection for shared workflows; share pages with it
Zapier, MakeThe Notion connection screen when you add a Notion stepFollow the tool's prompt; use a separate connection per tool
Your own scriptAn environment variable, read at runtimePAT if it runs as you; internal connection if the team owns it

n8n's credential docs offer an API integration token (internal) or OAuth2 (public). They still say "Internal Integration Secret", which is today's internal connection API token.

When the Notion node lacks an operation, n8n suggests the HTTP Request node "to call the service's API". Workflow examples: Notion automations with n8n and Zapier.

Is the Notion API free?

Yes. Notion doesn't charge a separate fee for API access. Free-plan workspace owners can create a personal access token, and on Plus every member can by default. Paid plans change who may create tokens and add features such as webhook actions in automations. They don't gate the API itself.

So "how much is the Notion API?" Nothing extra; you pay for the plan. For plan prices and AI costs, see Notion pricing and AI costs.

Webhooks come in two forms: connection webhooks that notify an app about workspace changes, and the "Send webhook" action in buttons and database automations, available on paid plans. That action sends database page properties, not page content.

Do I need an API key for Claude or ChatGPT?

Usually not. AI tools that support MCP connect to Notion through Notion MCP, a remote server hosted by Notion, and you sign in with OAuth instead of copying a token. Keep API keys for scripts and automations that run on their own, without you approving each session.

Notion's MCP docs describe the flow: "After you authorize a connection with OAuth, the MCP client can use Notion MCP tools." It's also safer: no secret ends up pasted into a chat.

Setup: Notion MCP setup. AI inside Notion, like Custom Agents, needs no key.

How to keep your Notion API key safe

Treat a Notion token like a password. Keep it in an environment variable or secret manager, use one token per tool, give each token only the capabilities it needs, and revoke it the moment it might be exposed. Workspace admins can review and revoke every personal access token from Settings → Connections.

A checklist based on Notion's API key guidance:

  • Never put tokens in messages, support tickets or committed code.
  • Store them in environment variables or an encrypted secret manager.
  • Grant only the capabilities each tool needs.
  • Pick the shortest PAT expiration that fits the job, and revoke tokens you no longer use.

What to do if a token is exposed

  1. Disable it. Go to Settings → Connections, find the connection or personal access token, then refresh the internal connection's token or revoke the PAT.
  2. Update your apps. Replace the token everywhere, test, and delete old values.
  3. Review activity. Check recent changes and unfamiliar connections; contact Notion support if someone got in.
Three-step 'Token exposed?' card: disable the token in Settings → Connections by refreshing the connection token or revoking the PAT, update apps by replacing the token everywhere, then review recent activity and unknown connections.

How do I keep track of all my Notion tokens?

Once three or four tools hold a Notion token, it gets hard to remember which one powers what. Keep a register with one entry per token: name, owner, token type and capability, expiry date, where it's used, and how to revoke it. Never store the secret itself in that register.

The fields that matter:

  • Name as it appears in Settings → Connections.
  • Owner: who created it (a PAT leaves with its owner).
  • Type and capability: PAT or internal connection, plus read, update or insert.
  • Expiry date, with a reminder a week before.
  • Used in: tool and workflow, such as "n8n · invoice import".
  • How to revoke: the exact path.

Making workflows AI-agent ready applies the same idea to every API key.

Illustrated Notion database 'Token register' with columns Name, Owner, Type, Capability, Expires, Used in and How to revoke, three sample tokens and no secret values, with the note 'Secrets live in your password manager, not here'.
AI & AutomationTemplate
AI Automation Hub

Its API registry, health checks and runbooks give you a ready place to track every Notion token and connection, without storing the secrets.

Get the template $12 one-time
Works on the free Notion plan · 14-day refunds

FAQ

Is the Notion API free?

Yes. There is no separate API fee. Free-plan workspace owners and, by default, all Plus members can create a personal access token.

How much is the Notion API?

Nothing on top of your Notion plan. The plan only changes who can create tokens and which automation features, such as webhook actions, are available.

What is the Notion API used for?

Scripts and apps use it to read, create and update pages, databases, users and comments, for syncs, reports, backups and imports.

Does Notion have API integration?

Yes. Integrations are now called connections; ready-made ones are in the connections directory.

Where is "My integrations" now?

Tokens and connections now live in the Developer portal and Settings → Connections.

Why do I get "Could not find object"?

Usually the page isn't shared with your internal connection. Add it via ••• → Connections. With a PAT, check your own access.

Do Notion API tokens expire?

Personal access tokens do: you choose 7, 30, 90 or 180 days or 1 year, and the default is 1 year. Internal connection tokens can be refreshed from Settings → Connections if exposed.

Can I see my Notion token again after creating it?

No, it's shown once. If you lose it, revoke it and create a new one.

Does Notion have webhooks?

Yes, two kinds. Connection webhooks notify apps about workspace changes, and the "Send webhook" action in buttons and database automations is available on paid plans.

Do I need a Notion API key to connect Claude or ChatGPT?

Usually not. AI tools that support MCP connect through Notion MCP with an OAuth sign-in, so there is no token to copy.

#ai-automation
Share
ZK
Written by
Zoya K.

Marketing director by day, Notion tinkerer by night. Builds every AIkits template in her own workspace first and writes up what survives a few months of real use.

More field notes
Field notes

Keep reading

All notes
AI & Automation

Notion MCP: Connect Claude, ChatGPT and Cursor to Notion

Notion MCP is Notion's hosted server that lets Claude, ChatGPT and Cursor read and edit your workspace after an OAuth sign-in. Setup for each client, a plan-by-plan table of what works, and a safety checklist.

AI & Automation

Notion Automations: Buttons, Database Automations, n8n and Zapier

Buttons, database automations, webhook actions and Custom Agents: what works on which Notion plan, the official limits in one checklist, five recipes, and when to hand off to n8n, Make or Zapier.

AI & Automation

Notion Custom Agents: What They Can Do, Examples and Setup

Notion Agent works when you ask; Custom Agents run on schedules and Notion or Slack events. What each does, what a run costs, where they stop, and how to build your first one.