Add MailReplyAddress

POST {{baseUrl}}/api/v1/mailReplyAddress

This API adds a MailReplyAddress to your help desk.

OAuth Scope

  • Desk.settings.CREATE

Attributes

Attribute NameData TypeDescription
departmentId (required)<long>
ID of the department in which the MailReplyAddress must be configured
address (required)<string>
max chars : 100
Email ID to add
displayName (required)<string>
max chars : 100
Display name for the MailReplyAddress
isSmtpEnabled (required)<boolean>
Key that enables or disables SMTP authentication for the MailReplyAddress
smtpDetails<JSONObject>
Details related to the SMTP authentication for the MailReplyAddress
serviceProviderType<string>
max chars : 50
MailService Provider name

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;address&quot;:&quot;support@zylker.com&quot;,&quot;smtpDetails&quot;:{&quot;port&quot;:&quot;465&quot;,&quot;host&quot;:&quot;smtp.zoho.com&quot;,&quot;userName&quot;:&quot;support@zylker.com&quot;,&quot;connectionType&quot;:&quot;SSL&quot;},&quot;isVerified&quot;:false,&quot;displayName&quot;:&quot;My address&quot;,&quot;departmentId&quot;:&quot;4000000007043&quot;,&quot;id&quot;:&quot;4000000028003&quot;,&quot;isActive&quot;:true,&quot;url&quot;:&quot;https://login.microsoftonline.com/common/oauth2/v2.0/authorize?prompt=select_account\u0026access_type=offline\u0026scope=https://outlook.office.com/IMAP.AccessAsUser.All+https://outlook.office.com/POP.AccessAsUser.All+https://outlook.office.com/SMTP.Send+https://outlook.office.com/User.Read+https://outlook.office.com/Mail.ReadWrite.Shared+offline_access\u0026response_type=code\u0026redirect_uri=https://mail.zoho.com/api/accounts/Outlook/v2/redirect\u0026state=dA700Cyn67320K8B8Ld0yRt9P3wc20Lli677\u0026client_id=c12b-b8d1-860624b\u0026login_hint=infotech@zylker.com&quot;,&quot;serviceProviderType&quot;:&quot;ZohoSMTP|CustomSMTP&quot;}