Get Details of an Intelligent Trigger Rule
Description
You can use this API to get the details of a particular intelligent trigger rule.
OAuth Scope:
SalesIQ.triggerrules.READ
URL:
Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screenname}/triggerrules/{id}
Example
Copiedhttps://salesiq.zoho.com/api/v2/zylkerinc/triggerrules/44000000000201
Sample Response
Copied{
"url": "/api/v2/zylkerinc/triggerrules/44000000000201",
"object": "trigger_rule",
"data": {
"id": "44000000000201",
"title": "Chat invite",
"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": "Patricia",
"value": "Hi there"
},
"delay": "120"
},
"app": {
"name": "restapi",
"id": "34139000000002043"
},
"stats":{
"triggered_count": "10",
"replied_count": "4",
"failed_count": "3",
"seen_count": "7",
"last_triggered_time": "1550639281810"
}
}
}