To create Email policy
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/emailpolicy
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response
Account Name
Account Type. Default: IMAP
Account Path Prefix
Account User Name
Mail Address
Allow Move. Default: true
Prevent Move. Default: false
Disable Mail Recents Syncing. Default: false
Incoming Server Hostname
Incoming Server Port. Default: 143
Incoming Server Username
Incoming Server Auth. Allowed values: none, password, md5, ntlm, httpmd5. Default: password
Incoming Password (sensitive - write-only)
Incoming Password Id
Incoming Server Use Ssl. Default: false
Outgoing Server Hostname
Outgoing Server Port. Default: 587
Outgoing Server Username
Outgoing Server Auth. Allowed values: none, password, md5, ntlm, httpmd5. Default: password
Outgoing Password (sensitive - write-only)
Outgoing Password Id
Outgoing Pwd As Income Pwd. Default: false
Use Only Mail App. Default: false
Outgoing Server Use Ssl. Default: false
Use Mime Encrypt. Default: false
Signing identity certificate ID obtained from the Certificates API.
Encryption identity certificate ID obtained from the Certificates API.
curl --request POST \
--url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/emailpolicy \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"prevent_move":false,"account_type":"IMAP","disable_mail_recents_syncing":false,"incoming_server_username":"user@zylker.com","outgoing_server_username":"user@zylker.com","allow_move":true,"incoming_server_hostname":"https://zylker.com","outgoing_server_hostname":"smtp.zylker.com","account_user_name":"Zylker User","account_path_prefix":"value","account_name":"Zylker User","incoming_server_auth":"password","mail_address":"user@zylker.com","outgoing_server_auth":"password","incoming_server_port":143}'Add Email payload to the profile
{
"prevent_move": false,
"account_type": "IMAP",
"disable_mail_recents_syncing": false,
"incoming_server_username": "user@zylker.com",
"outgoing_server_username": "user@zylker.com",
"allow_move": true,
"incoming_server_hostname": "https://zylker.com",
"outgoing_server_hostname": "smtp.zylker.com",
"account_user_name": "Zylker User",
"account_path_prefix": "value",
"account_name": "Zylker User",
"incoming_server_auth": "password",
"mail_address": "user@zylker.com",
"outgoing_server_auth": "password",
"incoming_server_port": 143
}
Unique identifier for the created payload item
Account Name
Account Type. Default: IMAP
Account Path Prefix
Account User Name
Mail Address
Allow Move. Default: true
Prevent Move. Default: false
Disable Mail Recents Syncing. Default: false
Incoming Server Hostname
Incoming Server Port. Default: 143
Incoming Server Username
Incoming Server Auth. Allowed values: none, password, md5, ntlm, httpmd5. Default: password
Incoming Password (sensitive - write-only)
Incoming Password Id
Incoming Server Use Ssl. Default: false
Outgoing Server Hostname
Outgoing Server Port. Default: 587
Outgoing Server Username
Outgoing Server Auth. Allowed values: none, password, md5, ntlm, httpmd5. Default: password
Outgoing Password (sensitive - write-only)
Outgoing Password Id
Outgoing Pwd As Income Pwd. Default: false
Use Only Mail App. Default: false
Outgoing Server Use Ssl. Default: false
Use Mime Encrypt. Default: false
Signing identity certificate ID obtained from the Certificates API.
Encryption identity certificate ID obtained from the Certificates API.
Email payload successfully added
{
"prevent_move": false,
"payload_id": 9007199254741000,
"account_type": "IMAP",
"disable_mail_recents_syncing": false,
"incoming_server_username": "user@zylker.com",
"outgoing_server_username": "user@zylker.com",
"allow_move": true,
"incoming_server_hostname": "https://zylker.com",
"outgoing_server_hostname": "smtp.zylker.com",
"account_user_name": "Zylker User",
"account_path_prefix": "value",
"account_name": "Zylker User",
"incoming_server_auth": "password",
"mail_address": "user@zylker.com",
"outgoing_server_auth": "password",
"incoming_server_port": 143
}
![]()
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.