コンテンツにスキップ
Vessios Docs
日本語
Esc
navigateopen⌘Jpreview

Admin Notion Save Token

Notion インテグレーショントークンを Secret Manager に保存する(admin ロール必須)。

トークン値はログに出さない。tenant_id は JWT claims から取得。 保存後は /admin/connectors/notion/sync で同期を開始できる。

POST/admin/connectors/notion/token
Header parameters
authorizationstring | any
X-Api-Keystring | any
Request body
requiredapplication/json
tokenstringrequired
Notion Internal Integration Token
min length 1
Responses
200Successful Response
any
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
Request
curl -X POST "/admin/connectors/notion/token" \
  -H "Content-Type: application/json" \
  -d '{
  "token": "string"
}'
Response
"string"