Skip to main content
POST
Exchanges an OAuth authorization code for an access token. This endpoint does not require JWT authentication since it is used during the OAuth callback flow.

Supported Providers

string
required
OAuth provider: github | google_drive | gmail | slack | notion
string
required
OAuth authorization code
string
required
OAuth callback URL (must match the one used in the authorization request)
string
Access token
string
Refresh token (provided by some providers)
number
Expiration timestamp (Unix timestamp, provided by some providers)
string
Token type, typically Bearer