Discover Email settings with credentials
POST/v1/autoconfig
Try to discover IMAP and SMTP settings for an email account, optionally authenticating against an autodiscovery server that refuses to answer anonymously
Hosted Exchange answers autodiscovery only for an authenticated request, which is why this endpoint exists alongside GET /v1/autoconfig. The password is sent to the autodiscovery host named by the address domain's own DNS records, and only after that host has asked for it with a Basic challenge over HTTPS.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
Returns the discovered IMAP and SMTP settings for the address, or empty values when nothing could be resolved.
Invalid input - the path parameters, query arguments, or request payload did not pass validation. Also returned when the email server refused the request, in which case the response carries a code and the server response instead of a field list
Authentication failed - the access token is missing, invalid, or was not accepted
Access denied - the access token does not grant permission for this operation (token scope, account, or IP address restriction)
Rate limit exceeded - too many requests were made with this access token
Internal server error - an unexpected error occurred while processing the request