Detect provider based on given email address
POST {{url}}/connect/detect-provider
Use this endpoint to detect which provider an email uses. If we are able to detect the provider, we'll return detected:true
. If we are not able to determine the provider, we'll return detected:false
.
If detected:false
, then it's either IMAP or Microsoft Exchange Server. You can also ignore is_imap
if detected:false
. Use the results to determine the provider to pass into the settings object for native authentication.
Request Body
{"client_id"=>"{{client_id}}", "client_secret"=>"{{client_secret}}", "email_address"=>"{{$randomEmail}}"}