Exchange authorization code for user info
OAuth
Exchange authorization code for user info
Exchanges an OAuth 2.0 authorization code for an OIDC id_token and user context. Authenticate with your app’s API key in the Authorization header. No X-Organization-Id header required. Errors follow OAuth 2.0 spec format (RFC 6749).
POST
Exchange authorization code for user info
Authorizations
Marketplace API key
Headers
Target clinic organization ID
Body
application/json
Must be 'authorization_code'
Example:
"authorization_code"
The authorization code received from the callback
Example:
"d4d9cccb37643c5913fe649d1880889a..."
Must match the redirect_uri used in the authorize request
Example:
"https://myapp.com/auth/callback"
