API Data Provider - Online Help

GetOAuthAccessToken

Obtains the OAuth access token for Notion API.

Input

Name Type Description
AuthMode String The OAuth flow.

The allowed values are APP, WEB.

The default value is WEB.

CallbackURL String The redirect URL.
Verifier String The authorization code.
State String State parameter.

The default value is test.

Result Set Columns

Name Type Description
OAuthAccessToken String The access token.
OAuthRefreshToken String The refresh token.
ExpiresIn String Token lifetime in seconds.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539.0