Event Structure
Each type of event that is sent by SalesHandy will have a different structure. Example events are as follows:

''hello''

EMAIL SENT
{
"id": "RGkeZ9DNjDmW5roL",
"subject": "Save 19 hours a week by using this amazing sales tool.",
"from_email": "test@saleshandy.com",
"to_recipients": "utsav@saleshandy.com",
"recipients": {
"to": [
{
"email": "utsav@saleshandy.com",
"full_name": "Utsav Patel"
}
],
"cc": [

],
"bcc": [

]
},
"sent_at": 1520487843,
"saleshandy_user": "test@saleshandy.com"
EMAIL OPEN
{

"id": "RGkeZ9DNjDmW5roL",

"title": "Followup - Thursday 8 March 2018",

"stage_number": 1,

"subject": "Schedule a demo with SalesHandy",

"from_email": "test@saleshandy.com",

"to": {

"email": "kishan@saleshandy.com",

"full_name": "Kishan Thakrar"

},

"cc": "",

"bcc": "",

"open_count": 2,

"first_opened_at": 1520487843,

"last_opened_at": 1520487843,

"saleshandy_user": "test@saleshandy.com"

}
EMAIL CLICKED
{

"id": "RGkeZ9DNjDmW5roL",

"subject": "Save 19 hours a week by using this amazing sales tool.",

"from_email": "test@saleshandy.com",

"to_recipients": "utsav@saleshandy.com",

"recipients": {

"to": [

{

"email": "utsav@saleshandy.com",

"full_name": "Utsav Patel"

}

],

"cc": [

],

"bcc": [

]

},

"open_count": 2,

"first_opened_at": 1520487843,

"last_opened_at": 1520487843,

"saleshandy_user": "test@saleshandy.com"

}
CAMPAIGN OPEN
{

"id": "RGkeZ9DNjDmW5roL",

"title": "Followup - Thursday 8 March 2018",

"stage_number": 1,

"subject": "Schedule a demo with SalesHandy",

"from_email": "test@saleshandy.com",

"to": {

"email": "kishan@saleshandy.com",

"full_name": "Kishan Thakrar"

},

"cc": "",

"bcc": "",

"open_count": 2,

"first_opened_at": 1520487843,

"last_opened_at": 1520487843,

"saleshandy_user": "test@saleshandy.com"

}
CAMPAIGN LINK CLICKED
{

"id": "RGkeZ9DNjDmW5roL",

"title": "Followup - Thursday 8 March 2018",

"stage_number": 1,

"subject": "Schedule a demo with SalesHandy",

"from_email": "test@saleshandy.com",

"to": {

"email": "kishan@saleshandy.com",

"full_name": "Kishan Thakrar"

},

"cc": "",

"bcc": "",

"click_url": "https:\/\/www.saleshandy.com",

"click_count": 6,

"first_clicked_at": 1520487843,

"last_clicked_at": 1520487843,

"saleshandy_user": "test@saleshandy.com"

}
Document View
{

"id": 5gZpodEprWwDY9XK

"name": Test custom link with ask visitor info ON

"document_id": 9GO6XdBGnayZQM0N

"document_name": SalesHandy.pdf

"type": Custom Document Space

"total_visits": 2

"last_visited_at": 1534337564

"first_visited_at": 1534336755

"total_time_spent": 61

"avg_time_spent": 61

"visited_by": {"email": riddhi@saleshandy.com, "full_name": Riddhi parekh}

"saleshandy_user": sapna@saleshandy.com

}
CONTACT CREATED
{

"id": "RGkeZ9DNjDmW5roL",

"email": "umang@saleshandy.com",

"first_name": "Umang",

"last_name": "Chotai",

"full_name": "Umang Chotai",

"created_at": 1520487843

}
CONTACT UNSUBSCRIBE
{

"id": "RGkeZ9DNjDmW5roL",

"email": "jeorge@thomas.com",

"first_name": "Umang",

"last_name": "Chotai",

"full_name": "Umang Chotai",

"created_at": 1520487843,

"unsubscribed_from": {

"campaign_id": "RGkeZ9DNjDmW5roL",

"title": "Followup - Monday 1 January 2018",

"stage_number": 1

},

"unsubscribed_by": null

}
Was this article helpful?
Cancel
Thank you!