Add MailReplyAddress
POST {{baseUrl}}/api/v1/mailReplyAddress
This API adds a MailReplyAddress to your help desk.
OAuth Scope
Desk.settings.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
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
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"address":"support@zylker.com","smtpDetails":{"port":"465","host":"smtp.zoho.com","userName":"support@zylker.com","connectionType":"SSL"},"isVerified":false,"displayName":"My address","departmentId":"4000000007043","id":"4000000028003","isActive":true,"url":"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","serviceProviderType":"ZohoSMTP|CustomSMTP"}