Poll this endpoint to check the OAuth session result. Works for both Google and Microsoft OAuth sessions. Returns pending while waiting, success with account details when complete, or error if something went wrong. Sessions expire after 10 minutes.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session ID from init response
"abc123def456"
Default Response
Current status of the OAuth session
pending, success, error, expired "success"
Email of the connected account (on success)
"user@example.com"
Name of the account owner (on success)
"John Doe"
Error code (on error)
"access_denied"
Human-readable error description (on error)
"User denied access to the application"