Start Microsoft Sign-inBeta
Get the Microsoft sign-in URL for connecting a Microsoft 365 or Outlook.com mailbox.
https://api.foxreach.io/ api/ v1/ email-accounts/ microsoft-oauth/ startRequires an API key with the write scope. Returns 503 until Microsoft sign-in is switched on.
Microsoft 365 and Outlook.com mailboxes cannot connect with a password or an app password, because Microsoft removed password login for IMAP. Open the returned URL in a browser and sign in; any 2FA prompt appears on Microsoft's own page. FoxReach then tests SMTP and IMAP, and connects the mailbox to the workspace of the API key only if both accept it. There is no API route for the callback, so the new account appears in List Email Accounts once someone has finished in the browser.
The link carries a signed state token that is valid for 10 minutes. Request a new URL if it expires.
loginHintstringqueryBeta. The mailbox address to pre-fill on Microsoft's sign-in page.
Response#
dataobjectResult.
Show data
urlstring