GET - Allowed IPs list

Purpose

This API is used to fetch the list of allowed IP ranges for your organization.

OAuth Scope

Use the scope ZohoMail.organization.accounts.ALL (or) ZohoMail.organization.accounts.READ to generate the Authtoken.

ALL - Full access to all allowed APIs

READ - Fetch the Allowed IPs range

Request URL

https://mail.zoho.com/api/organization/<zoid>/allowedIps

Path Parameters

Response Codes

Refer here for the response codes and their meaning.

Sample Request

Copiedhttps://mail.zoho.com/api/organization/12345678/allowedIps

Sample Response

Copied{
  "status":{
     "code":200,
     "description":"success"
  },
  "data":{
     "allowedIps":[
        {
           "ip":[
              {
                 "isipinRange":"true",
                 "user":[
                    {
                       "ipid":123456789,
                       "toip":"255.255.255.255",
                       "fromip":"0.0.0.0"
                    }
                 ]
              },
              {
                 "isipinRange":"true",
                 "admin":[
                    {
                       "ipid":987654321,
                       "toip":"255.255.255.255",
                       "fromip":"1.1.1.1"
                    }
                 ]
              }
           ]
        }
     ]
  }
}