API call example:
{
"function":"mailkit.report.message.links",
"id":"client_id",
"md5":"client_md5",
"parameters":{
"ID_send":"ID_send"
}
}
Values
client_id * = client ID can be found in your Mailkit account's menu Profile/Integration.
client_md5 * = MD5 code can be found in your Mailkit account's menu Profile/Integration.
ID_send * = Campaign delivery ID
* required value
Succesfull call response:
[
{
"TITLE": "Lorem ipsum",
"TITLE_SHORT": "Lorem ipsum lips",
"ANCHOR": "drinks 2.jpg",
"URL": "http://www.sampleurl.site/",
"ID_URL": 123456,
"AB_VERSION": "",
"CLICK": 2,
"VISIT": 1,
"CONVERSION": 1
}
]
Values
URL = link target URL address
ID_URL = ID of url address
TITLE = link title
TITLE_SHORT = shortened link title
CLICK = click count
VISIT = visit count (unique clicks)
CONVERSION = conversion count
AB_VERSION = version of the campaign in A/B test
ANCHOR = location of the link (image name, text of the link)
This sample only contains a shortened response. Complete response would contain data for all individual links in the campaign that have been clicked at.
Unsuccessful call response:
{
"error_status": 1,
"error": "Invalid ID_send"
}
Values
Missing ID_send – missing campaign delivery ID
Invalid ID_send – invalid campaign delivery ID