OAuthStatusResponse
Response containing OAuth connection status for Microsoft365/Google providers
Properties
| Name | Type | Description |
|---|---|---|
| isConnected | boolean | Whether OAuth is connected |
Whether OAuth is connected | ||
| sendAsEmail | string | Email address being sent as (null if not connected) |
Email address being sent as (null if not connected) | ||
| connectedBy | string | Email of the user who authorized (null if not connected) |
Email of the user who authorized (null if not connected) | ||
| connectedAt | string | When OAuth was connected (null if not connected) |
When OAuth was connected (null if not connected) | ||
| authorisationUrl | string | Authorisation URL to redirect user to for OAuth flow (only present when initiating OAuth) |
Authorisation URL to redirect user to for OAuth flow (only present when initiating OAuth) | ||
JSON Example
{
"isConnected": false,
"sendAsEmail": "string",
"connectedBy": "string",
"connectedAt": "2024-01-01T00:00:00Z",
"authorisationUrl": "string"
}