Mail Policy API

The Mail Policy APIs help you create and apply organization policies to users or groups, create restrictions and assign these restrictions to policies.

While using any Mail Policy API, use the OAuth Scope ZohoMail.organization.policy.

Method NameURLMethod TypeOAuth ScopePurpose
Create Org Policy/api/organization/{zoid}/policyPOSTZohoMail.organization.policyTo create an organization policy.
Create Email Restriction/api/organization/{zoid}/policyPOSTTo create an email restriction.
Create Account Restriction/api/organization/{zoid}/policyPOSTTo create an account restriction.
Create Access Restriction/api/organization/{zoid}/policyPOSTTo create an access restriction.
Create Forward Restriction/api/organization/{zoid}/policyPOSTTo create a forward restriction.
Get All Policies/api/organization/{zoid}/policyGETTo retrieve all policies.
Get All Email Restrictions/api/organization/{zoid}/policy/mailRestrictionGETTo retrieve all email restrictions.
Get All Account Restrictions/api/organization/{zoid}/policy/accountRestrictionGETTo retrieve all account restrictions.
Get All Access Restrictions/api/organization/{zoid}/policy/accessRestrictionGETTo retrieve all access restrictions.
Get All Forward Restrictions/api/organization/{zoid}/policy/mailForwardPolicyGETTo retrieve all forward restrictions.
Get Policy Users/api/organization/{zoid}/policy/{policyId}/getUsersGETTo retrieve all policy users.
Get Policy Groups/api/organization/{zoid}/policy/{policyId}/getGroupsGETTo retrieve all policy groups.
Apply Policy to Users/Groups/api/organization/{zoid}/policy/{policyId}PUTTo apply policy to user/groups.
Assign Email Restriction to Policy/api/organization/{zoid}/policy/{policyId}PUTTo assign email restriction to a policy.
Assign Account Restriction to Policy/api/organization/{zoid}/policy/{policyId}PUTTo assign account restriction to a policy.
Assign Access Restriction to Policy/api/organization/{zoid}/policy/{policyId}PUTTo assign access restriction to a policy.
Assign Forward Restriction to Policy/api/organization/{zoid}/policy/{policyId}PUTTo assign forward restriction to a policy.