Connect Office 365 account via OAuth
Email Accounts
Connect Office 365 account via OAuth
Requires the
channels:write scope (or a broader one that includes it).
Use this endpoint to start connecting an Office 365 or Outlook mailbox. It responds with a 302 redirect to Microsoft’s consent screen, so follow the redirect in a browser rather than calling it from a backend client. The email account is created in Reply once the user finishes granting access — no create call is needed. If a connection attempt is already in progress for your account, the request is rejected.
GET
Connect Office 365 account via OAuth
Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Get your API key from the Reply dashboard: Settings → API Key.
Response
Redirect to Microsoft OAuth consent page