Skip to main content
GET
/
api
/
auth
/
notion
/
callback
Notion OAuth callback
curl --request GET \
  --url https://archyon.app/api/auth/notion/callback

Documentation Index

Fetch the complete documentation index at: https://docs.archyon.app/llms.txt

Use this file to discover all available pages before exploring further.

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.