Exchange code, rotate refresh, or issue registered-agent token
Public personal clients send client_id. Confidential clients authenticate using Basic or body credentials. Code exchange requires exact redirect and S256 verifier; refresh cannot widen scope. Code and refresh reuse revoke authority. Changed Rules/disclosure returns consent_required, except for a connector grant approved under the hold notice, which refreshes and holds every operation other than cases:read until the person re-accepts in their account.
/api/oauth/tokenexchangeAccountOAuthToken
Authentication and authority
No bearer credential is required.
Parameters
This operation has no path, query, or header parameters.
Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.
Idempotency and retries
For throttling, honor Retry-After when present. Back off on retryable server failures.
The request is accepted only when its credential, authority, case state, and resource preconditions are satisfied.