Get the List of all the Intelligent Trigger Rules

Description

You can use this API to get the list of all the intelligent trigger rules.

OAuth Scope: 

SalesIQ.triggerrules.READ

URL:

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

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylkerinc/triggerrules

Sample Response

Copied{
  "url": "/api/v2/zylkerinc/triggerrules",
  "object": "trigger_rule",
  "data": {
    "rule_list": [
      {
        "id": "44000000000201",
        "title": "first trigger",
          "app": {
            "name": "restapi",
            "id": "34139000000002043"
        },
        "stats":{
        "triggered_count": "9",
        "replied_count": "4",
        "failed_count": "3",
        "seen_count": "7",
        "last_triggered_time": "1550639281510"
        }
        "creator": {
          "id": "44000000000104"
        },
        "enabled": true,
        "created_time": "1550639281810",
        "modified_time": "1550639282210",
        "position": "2",
        "and_criteria": [
          {
            "or_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "Japan"
                ],
                "field_name": "country"
              }
            ]
          }
        ],
        "event": {
          "type": "lands_on_website"
        },
        "action": {
          "type": "send_chat_invite",
          "params": {
            "sender_name": "jegan",
            "value": "hi da"
          },
          "delay": "120"
        },
       
      },
      {
        "id": "44000000000203",
        "app": {
            "name": "restapi",
            "id": "34139000000002043"
        },
        "stats":{
        "triggered_count": "9",
        "replied_count": "4",
        "failed_count": "3",
        "seen_count": "7",
        "last_triggered_time": "1550639281510"
        }
        "title": "second trigger",
        "creator": {
          "id": "44000000000104"
        },
        "enabled": true,
        "created_time": "1550639281810",
        "modified_time": "1550639282210",
        "position": "1",
        "and_criteria": [
          {
            "or_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "Japan"
                ],
                "field_name": "country"
              }
            ]
          }
        ],
        "event": {
          "type": "lands_on_website"
        },
        "action": {
          "type": "send_chat_invite",
          "params": {
            "sender_name": "jegan",
            "value": "hi da"
          },
          "delay": "120"
        }
      }
    ]
  }
}