GET https://webapi.mymarketing.co.il/api/automations/{id}/triggerInfo
Get a specific automation's trigger information
Request Information
URI Parameters
Name
Description
Type
Additional information
id
Automation id. Can be found using the endpoint "Get account's automations" or in the UI (go to Automations->Automations Lists->click on the automation's reports -> you'll find the id int the URL)
integer
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
trigger_object_id
Trigger object
integer
trigger_data_date_event_type
Date column name of contact fields
string
trigger_data_date_event_interval_value
Interval value for interval types
integer
trigger_data_date_event_interval_max_value
Max interval value for interval types
integer
trigger_data_date_event_interval_type
Set the value for hours / days / weeks
trigger_data_onsite_event_type
string
trigger_data_onsite_visit_url
string
trigger_data_onsite_action_name
string
segmentation_id
Segmentation id
integer
is_trigger_landing_page
Is Landing page
boolean
is_trigger_signup_forms
boolean
trigger_data_campaign_type
string
trigger_data_campaign_id
string
trigger_data_message_match
string
trigger_data_push_custom_event_type
string
Response Formats
application/json, text/json
Sample:
{ "trigger_type_id": "AbandonedCartRecovery", "trigger_object_id": 1, "trigger_data_date_event_type": "sample string 1", "trigger_data_date_event_timing": "BeforeDate", "trigger_data_date_event_interval_value": 1, "trigger_data_date_event_interval_max_value": 1, "trigger_data_date_event_interval_type": "hour", "trigger_data_onsite_event_type": "sample string 2", "trigger_data_onsite_visit_url": "sample string 3", "trigger_data_onsite_action_name": "sample string 4", "trigger_data_onsite_visiting_device": "Browser", "segmentation_id": 1, "is_trigger_landing_page": true, "is_trigger_signup_forms": true, "trigger_data_campaign_type": "sample string 5", "trigger_data_campaign_id": "sample string 6", "trigger_data_response_type": "partial", "trigger_data_message_match": "sample string 7", "trigger_data_push_notification_type": "pushreceived", "trigger_data_inapp_message_type": "inappviewed", "trigger_data_push_custom_event_type": "sample string 8" }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.