POST
/api/v1/notion/connect/finishFinish connecting Notion
Called by the callback page with Notion's code and the state (signed, yours, 15 minutes, used once). Stores the token encrypted, one connection per Notion workspace, and resumes syncs that paused on a broken connection.
API token required20 per minute per IP
Guide: Import from Notion
Code samples and Try itRequest body
#application/json, required
codestringRequired1–500 characters.
statestringRequired10–1,000 characters.
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.