Exchanges an authorization code for tokens, or refreshes an existing token.
Authorization Code grant (grant_type=authorization_code):
code, client_id, redirect_uri, and code_verifier (PKCE).access_token (1 hour TTL) and refresh_token (30 day TTL).Refresh Token grant (grant_type=refresh_token):
refresh_token and client_id.authorization_code, refresh_token Authorization code (for authorization_code grant)
Must match the URI used in /oauth/authorize
PKCE code verifier (for authorization_code grant)
Refresh token (for refresh_token grant)