Connect the email assistant with an email code
Connects the caller's email to the email assistant, reports whether it is connected, or disconnects it, by action: status answers whether it is connected; start checks the captcha token and emails the caller a six-digit code, answering a session; finish takes that session and the code and, when they match the caller's account, keeps a sign-in for the email assistant on the server; disconnect ends it. The sign-in it keeps is encrypted on the server and never sent back. Any signed-in person with an email on their account may call it, for their own email only. Errors: 400 ERROR_EMAIL_REQUIRED for an account without an email; 403 ERROR_UNAUTHORIZED for a captcha that fails or a code of another account; 400 ERROR_INVALID_CODE for a code that expired.
Authorization
Request body JSON required
One of the following:
- object
- object
- object
- object