Email-oauth API
Auto-generated from the OpenAPI spec. Run
node docs-site/scripts/fetch-openapi.jsto regenerate.
GET /api/v1/email/oauth/{provider}/authorize
Email Oauth Authorize
Start the {provider} email OAuth flow. Returns the URL the manager's browser should open.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
provider | path | Yes | string |
Responses
- 200 — Successful Response
- 422 — Validation Error
GET /api/v1/email/oauth/status
Email Oauth Status
Returns both providers' connection status in one call. Never returns any token.
Responses
- 200 — Successful Response
POST /api/v1/email/oauth/{provider}/disconnect
Email Oauth Disconnect
Best-effort revoke with the provider, then unconditionally clear the local connection state for that provider only — the other provider's connection (if any) is untouched.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
provider | path | Yes | string |
Responses
- 200 — Successful Response
- 422 — Validation Error