Create a mail login link
POST/mail/accounts/:account_id/login-link
Creates a one-time Adapt Mail login link valid for 5 minutes. Omit mailbox_id or pass null to open the whole account; specify mailbox_id to open only that mailbox of the selected account. locale selects the interface language and defaults to en. Open the complete login_url including #token. Do not store or cache the link; create a new link after use or expiry. Passwords and existing browser logins are unchanged. Ownership and access are checked again at sign-in; changing the account password invalidates the link.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 500
- 503
Successful response
Response Headers
Do not cache this response.
Missing or invalid key, mismatched ID, or inactive integration
Access denied.
Resource not found in this integration.
Invalid request fields or unsupported parameters
Unexpected server error
Mail service or usage data temporarily unavailable.