Skip to main content
GET
Notion OAuth callback

Query Parameters

code
string
state
string
error
string

Set by Notion if the user denied / errored before redirect.

Response

302

Always redirects to /?notion=<status>. Status values: connected, bad_state, missing_code, not_admin, misconfigured, token_exchange_failed, or the raw Notion error string.