Passa al contenuto principale

Email-oauth API

Auto-generated from the OpenAPI spec. Run node docs-site/scripts/fetch-openapi.js to 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

NameInRequiredTypeDescription
providerpathYesstring

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

NameInRequiredTypeDescription
providerpathYesstring

Responses

  • 200 — Successful Response
  • 422 — Validation Error