Skip to main content

Get the List of Blocked IPs

Description

You can use this API to get the list of blocked IP addresses.

Requested Payload:

  • limit - The number of blocked IP addresses you would like to fetch.
  • index - You can use this param to fetch the next set of IP addresses.

OAuth Scope:

SalesIQ.blockedips.READ

URL:

Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screenname}/blockedips

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker/blockedips

Sample Response

Copied{
  "object": "list",
  "url": "/api/v2/blockedips",
  "total": 2,
  "data": [
    {
      "status": "blocked",
      "blocked_by": "33000000000005",
      "app": {
        "name": "Danny",
        "id": "33000000000047"
      },
      "comments": [
        {
          "operator_id": "33000000000005",
          "time": "1550734872423",
          "text": "testing"
        },
        {
          "operator_id": "33000000000005",
          "time": "1550734886958",
          "text": "testing1"
        }
      ],
      "modified_time": "1550752164888",
      "ip": "1.1.22.2",
      "no_of_comments": "4",
      "id": "33000000003001"
    },
    {
      "status": "blocked",
      "blocked_by": "33000000000005",
      "app": {
        "name": "Hank",
        "id": "33000000000047"
      },
      "comments": [
        {
          "operator_id": "33000000000005",
          "time": "1550752842953",
          "text": "test"
        }
      ],
      "modified_time": "1550752840301",
      "ip": "1.1.1.1",
      "no_of_comments": "1",
      "id": "33000000004001"
    }
  ]
}