Skip to main content

Get profile action history

Description

Retrieves a single profile action history.

Request URL

Method: POST

https://example.com/api/v1.1/subscribers/history_get

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
list_idInt20YesDatabase ID
xxhstring"0eb51aefd919f90a"No, of you use matching for searchxx hash profile ID
matchingstring"email"
"email_profile"
"email_sub"
"phone"
"phone_sub"
"profile_id"
"push_sub"
"custom"
"custom_sub"
"email_phone"
"email_phone_sub"
No, of you use xxh for searchProfile matching mode
By default — email

For each type of matching, certain fields must be passed in the request body. Learn more about these fields here.
date_fromstring"2016-11-25"NoTime period start
YYYY-MM-DD
date_tostring"2016-11-29"NoTime period end
YYYY-MM-DD

Request example

{
"list_id": 20,
"token": "abcdefghijklmnqrstuvwxyz",
"xxh": "0eb51aefd919f90a"
}

Response example

{
"data": [
{
"action": "click",
"count": 1,
"datetime": "2017-04-05T07:48:44Z",
"email": "email@mail.roo",
"list_id": 20,
"message_id": 184,
"xxh": "0eb51aefd919f90a"
},
{
"action": "open",
"count": 1,
"datetime": "2017-04-05T07:48:44Z",
"email": "email@mail.roo",
"list_id": 20,
"message_id": 184,
"xxh": "a81879594020ac07"
},
{
"action": "send",
"count": 1,
"datetime": "2017-04-05T07:48:41Z",
"email": "email@mail.roo",
"list_id": 20,
"message_id": 184,
"xxh": "0eb51aefd919f90a"
}
],
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
actionstringProfile action
countintNumber of actions
datetimestringDate and time of the action
emailstringSubscription email address
db_id (list_id)intProfiles database ID
message_idintMessage template ID
xxhstringprofile xxhash id
campaign_idintCampaign ID

Profile history events (action)

Email channel events
sendEmail sent
delivEmail delivered
undelivEmail not delivered
openEmail opened
readEmail read. The message was opened by the user for 8 seconds or more
clickEmail clicked. Registered when the user clicks a link in the email. Each link click is registered as a separate click event, so if a profile clicks on two different links in the same email, two click events will be recorded.
confirmClick on the subscription confirmation link in the email (confirm-link)
subscribe_emailSubscribed to the Email channel of the resource
unsubscribe_emailUnsubscribed from the Email channel of the resource
replyReceived a reply to the Email
complainReceived a Complain status
hbounceReceived a Hard Bounce status
SMS channel events
send_smsSMS message sent to the gateway for subscriber delivery
deliv_smsSMS message delivered
undeliv_smsSMS message not delivered
click_smsNon-unique click on the link in the SMS message
subscribe_smsSubscribed to the SMS channel of the resource
unsubscribe_smsUnsubscribed from the SMS channel of the resource
Push channel events
send_pushPush sent
deliv_pushPush delivered
open_pushNon-unique opening of the push message
click_pushClick on the Push message
undeliv_pushPush message not delivered
subscribe_pushSubscribed to the Push channel of the resource
unsubscribe_pushUnsubscribed from the Push channel of the resource
Telegram Bot Channel Events
telegram_bot_sendTelegram bot event: Telegram bot sent
telegram_bot_delivTelegram bot event: Telegram bot delivered
telegram_bot_undelivTelegram bot event: Telegram bot not delivered
telegram_bot_clickTelegram bot event: Telegram bot click
telegram_bot_subscribeTelegram bot event: Telegram bot subscription
WhatsApp channel events
whatsapp_sendMessage sent for delivery to the WhatsApp chat
whatsapp_delivMessage delivered to the WhatsApp chat
whatsapp_undelivMessage not delivered to the WhatsApp chat
whatsapp_clickNon-unique click on the link in the WhatsApp chat message
whatsapp_readMessage read by the user
whatsapp_subscribeWhatsApp channel event: WhatsApp subscription
Viber channel events
viber_sendMessage sent for delivery to the Viber chat
viber_delivMessage delivered to the recipient
viber_undelivMessage not delivered, rejected by Viber or Devino.Online
viber_clickClick on the link in the message. If the recipient clicks on the same link several times, each click event is recorded.
viber_readMessage read by the user
viber_subscribeViber channel event: Viber subscription
Events for all channels
offenceMessage not sent due to sending policy restrictions
suppressMessage not sent by the campaign because the profile is on the stop list
Subscriber Profile Import Events
import_manualProfile created manually
import_apiProfile created by API import
import_fileProfile created by import from a file
import_formProfile created by import from a form
import_pushProfile created as a result of push import
import_popupProfile created by import via popup
Unsubscribe Events
unsub_apiSubscriber unsubscribed from emails via API
unsub_manualUnsubscribed manually (global profile status changed to "Unsubscribed")
Pixel events
pixel_openGoal achieved
Promo codes events
promocode_attachPromo code attached
promocode_detachPromo code detached
promocode_activatePromo code activated
Segment events
segs_addEntered a static segment
segs_removeExited a static segment
Profile Relationship Events
rel_attachProfile receives a connection with another profile
rel_detachProfile loses a connection with another profile
rel_strengthenWeight of the connection between profiles increases
Form Events
form_loadForm loaded
form_page_showForm page loaded
form_postForm filled and submitted
form_abandon Form abandoned. The profile loads the form page and does not close it for an hour, without submitting the form.
form_bounceError in filling out the form (attempted re-filling, technical issues, etc.)