Get the List of all the Lead Scoring Rules

Description

You can use this API to get the list of all the lead scoring rules.

OAuth Scope: 

SalesIQ.leadscorerules.READ

URL:

Copiedhttps:/{[zohosalesiq_server_uri](https://www.zoho.com/salesiq/help/developer-section/rest-api-v2.html)}/api/v2/{screenname}/leadscorerules

Example:

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

Sample Response:

Copied{
  "url": "/api/v2/zylker/leadscorerules",
  "object": "leadscore_rules",
  "data": {
    "rule_list": [
      {
        "status": "enabled",
        "points": "56",
        "creator": {
          "id": "43000000000005"
        },
        "AND_criteria": [
          {
            "OR_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "apple_safari"
                ],
                "field_name": "browser"
              }
            ]
          }
        ],
        "id": "43000000010001"
      },
      {
        "status": "enabled",
        "points": "45",
        "creator": {
          "id": "43000000000005"
        },
        "AND_criteria": [
          {
            "OR_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "apple_safari"
                ],
                "field_name": "browser"
              }
            ]
          }
        ],
        "id": "43000000020001"
      }
    ]
  }
}