Get oauth session status
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Session ID from init response
"abc123def456"
Response
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"