Triggers Detail
Trigger all details get using this api and trigger id send in body.
Parameter
Value
Path
https://app.acquire.io /api/account/triggers/edit
Method
POST
Authorization
Bearer [YOUR_API_AUTH_TOKEN]
Content-type
application/x-www-form-urlencoded
Body
Parameter
Value
id
14339
Response JSON
{
"success": true,
"error": null,
"data": {
"id": 15624,
"account_id": 15,
"name": "Dialog Flow Bot Test",
"status": "disable",
"title_enable": "yes",
"keep_enable": "yes",
"order": 0,
"date_start": null,
"date_end": null,
"matching_rules": "all",
"type": "web",
"opened": 0,
"clicked": 0,
"replied": 0,
"_old_id": null,
"account_trigger_flter": [
{
"id": 23141,
"when": "match",
"trigger_id": 15624,
"account_id": 15,
"output": "apply_chatbot",
"output_data": "93",
"status": "active"
}
],
"account_trigger_rule": [
{
"id": 27348,
"trigger_id": 15624,
"account_id": 15,
"input": "page_url",
"input_data": "s/[YOUR_ACCOUNT_ID]?page=features",
"condition": "match",
"status": "active",
"extra_fields": ""
}
]
}
}
Sample Code
Last updated