Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    User API documentationAPI interactionMatching
      Profilesarrow
    • Import profileUpdate profileImport multiple profilesUpdate multiple profilesAdd multiple profilesAdd profile to databaseQuick profile importImport profile to RabbitMQGet profile dataUploading profiles to a fileSuspend all database profilesUnsuspend all profiles in a databaseDelete profileSubscription fields functional updateDatabase fields functional updateMerging multiple profilesUnsubscribe profile from resourceProfile splitting
        Subscriptionsarrow
      • Add or edit subscriptionGet all profile subscriptionsGet all subscriptions from multiple profilesGet profile subscriptionDelete profile subscriptionRestore deleted subscriptionSuspend all subscriptionsUnsuspend all suspended subscriptions
        Action historyarrow
      • Get profile action historyGet multiple profiles action history
        Profile relationsarrow
      • Attach relationDetach relationModify relation propertiesOverwrite relation propertiesGet profile relations infoGet profile relations info
      Get data for multiple profiles
      Databasesarrow
    • Get database statisticsUpdate statistics on databaseGet database listGet database informationGet database fieldsDatabase wipe
      Resourcesarrow
    • Get resource statisticsUpdate statistics on resourceGet resources listGet resource informationGet resource subscription fields
      Segmentsarrow
    • Get statistics on resourceUpdate statistics on segmentAdd or remove profileGet profile data in a static segmentCreate segmentUpdate segmentGet segment informationGet segments listDelete segment
      Suppression listsarrow
    • Create suppression listUpdate suppression listGet suppression list infoGet the list of suppression listsDelete suppression listUpload suppression list data to file
        Suppression list actionsarrow
      • Check if email is suppressedAdd email to suppression listAdd multiple emails to suppression listRemove email from suppression listRemove all emails from suppression listCheck if domain is suppressedAdd domain to suppression listAdd multiple domains to suppression listRemove domain from suppression listRemove all domains from suppression listCheck if phone number is suppressedAdd phone number to suppression listAdd multiple phones to suppression listRemove phone number from suppression listRemove all phone numbers from suppression list
      Templates and fragmentsarrow
    • Get templates listGet template infoDelete templateAdd templateUpdate templateChannel object
      Campaignsarrow
    • Get campaign informationGet campaign listActivate campaignComplete campaignDeactivate campaignGet campaign status
      Mailingsarrow
    • Activate mailingDeactivate mailingGet mailing listGet mailing informationGet mailing logClone mailingDelete mailingGet mailing status
        Broadcast mailingsarrow
      • Get broadcasts listGet broadcast informationCreate broadcast mailingUpdate broadcast mailingLaunch a broadcast mailing
        Regular mailingsarrow
      • Get regular mailings listGet regular mailing informationCreate regular mailingUpdate regular mailingLaunch a regular mailing
        Trigger mailingsarrow
      • Get trigger mailings listGet trigger mailing informationCreate trigger mailingUpdate trigger mailingTrigger launch (API call)Profile import + trigger mailing launchTask for bulk trigger launchTask for bulk profiles import + trigger launchBulk trigger launchBulk profiles import + trigger mailing launchClone a trigger mailingData array
      Automation scenariosarrow
    • Engage profile in scenarioImport and engage profile in scenarioBatch import and engage profiles in a scenarioTask for batch import and engaging profiles in the scenarioGet scenarios listActivate scenarioDeactivate scenario
      Loyalty Programsarrow
    • Get profile tier in a loyalty programExport points transactionsExpiring points for a periodGet profile account transactionsGet trigger promotions listAccrue points to a memberRedeem member pointsCommit temporary transactionPreliminary Order CalculationOrder ConfirmationRoll back temporary transactionCancel points transactionGet points account balanceRegister member in a loyalty programRemove member from loyalty program
      Promo codesarrow
    • Import promo codesGet promo code informationActivate promo codeUpdate promo codeAttach promo codeDetach promo codeGet all promo codes
      Goalsarrow
    • Goals and goal values registration
      Application push notificationsarrow
    • Processing and adding a subscriptionAdd app push events
      Marketarrow
      • Market objectsarrow
      • Order data objectProduct data objectSKU data objectCategories arrayCustom fields array
        Ordersarrow
      • Import order and item statusesGet orders listDelete orderGet order statusUpdate order line status
        Products and SKUarrow
      • Import products, SKUs and categoriesImport SKUs and categoriesGet products listGet SKUs listDelete productsDelete SKU
      Analytic reportsarrow
    • Get summary reportGet soft bounces reportGet undeliveries report
      SendersDevarrow
    • Get senders list
        Virtual senders (Smart accounts only)arrow
      • Get virtual senders listGet virtual sender informationClone virtual senderCreate virtual senderUpdate virtual senderDelete virtual sender
      External datatables queriesarrow
      • Segmentation queriesarrow
      • Add segmentation queryUpdate segmentation queryGet segmentation query informationGet segmentation queries listDelete segmentation query
        Template queriesarrow
      • Add template queryUpdate template queryGet template query informationGet template queries listDelete template query
      Objectsarrow
    • AKMTA objectContent objectEmail rule objectFile objectProfile data objectSMS rule objectSender objectSender typesStart schedule objectSubscription objectTrigger types
      Miscellaneousarrow
    • Upload fileGet message web versionPush providersDeduplication of requestsHow to send API request with RabbitMQList of gender identificationsObtain valid values for fields: browsers, devices, tz, oses, languages
    Importing the API collection in PostmanList of API endpoints
      SDKarrow
      • mSDKarrow
        • Androidarrow
        • Quick StartSDK FunctionalitySDK ConfigurationPublic SDK API
            Provider configuration androidarrow
          • Firebase Cloud MessagingHuawei Mobile ServicesRuStore
          iOSarrow
        • Quick StartSDK FunctionalitySDK ConfigurationPublic SDK API
            Provider configurationarrow
          • Apple Push Notification ServiceFirebase Cloud MessagingHuawei Mobile Services
          React Native (Android/iOS)arrow
        • Quick StartSDK ConfigurationSDK FunctionalityPublic SDK APIProvider setup
        Managing JWT and Role Token
  • Profiles
  • Action history
  • Get profile action history

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​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"list_id": 20,
"xxh": "0eb51aefd919f90a"
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<list_id>20</list_id>
<xxh>0eb51aefd919f90a</xxh>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"xxh": "9202595093f237d4",
"profile_id": "66f66973096b3b454bbbccec",
"email": "example@example.com",
"list_id": 66,
"action": "send",
"count": 1,
"datetime": "2024-09-27T15:52:57.004Z",
"message_id": 5,
"campaign_id": 137,
"event_id": "66f6aaa9da00a9db1c0b2683",
"smid": "uBAhiRBRQhARg7y489hr5F2b2aXMJaztFS7vM7DE1NGJhZWM5",
"campaign_name": "New astral mailing",
"message_name": "testing",
"subscription": {
"resource_id": 5,
"resource_name": "res1",
"channel": "email",
"email": "sub1@yandex.ru",
"priority": 0,
"status": "subscribed",
"custom_fields": {
"_device_type": "other"
},
"cats": []
},
"channel": "email",
"subscriptions": [
{
"resource_id": 5,
"resource_name": "res1",
"channel": "email",
"email": "sub1@yandex.ru",
"priority": 0,
"status": "subscribed",
"custom_fields": {
"_device_type": "other"
},
"cats": []
},
{
"resource_id": 5,
"resource_name": "res1",
"channel": "email",
"email": "sub2@yandex.ru",
"priority": 0,
"status": "subscribed",
"custom_fields": {
"_device_type": "mob"
},
"cats": []
}
]
}
],
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data>
<item>
<xxh>9202595093f237d4</xxh>
<profile_id>66f66973096b3b454bbbccec</profile_id>
<email>example@example.ru</email>
<list_id>66</list_id>
<action>send</action>
<count>1</count>
<datetime>2024-09-27T15:52:57.004Z</datetime>
<message_id>5</message_id>
<campaign_id>137</campaign_id>
<event_id>66f6aaa9da00a9db1c0b2683</event_id>
<smid>uBAhiRBRQhARg7y489hr5F2b2aXMJaztFS7vM7DE1NGJhZWM5</smid>
<campaign_name>New astral mailing</campaign_name>
<message_name>testing</message_name>
<subscription>
<resource_id>5</resource_id>
<resource_name>res1</resource_name>
<channel>email</channel>
<email>sub1@yandex.ru</email>
<priority>0</priority>
<status>subscribed</status>
<custom_fields>
<_device_type>other</_device_type>
</custom_fields>
<cats/>
</subscription>
<channel>email</channel>
<subscriptions>
<subscription>
<resource_id>5</resource_id>
<resource_name>res1</resource_name>
<channel>email</channel>
<email>sub1@yandex.ru</email>
<priority>0</priority>
<status>subscribed</status>
<custom_fields>
<_device_type>other</_device_type>
</custom_fields>
<cats/>
</subscription>
<subscription>
<resource_id>5</resource_id>
<resource_name>res1</resource_name>
<channel>email</channel>
<email>sub2@yandex.ru</email>
<priority>0</priority>
<status>subscribed</status>
<custom_fields>
<_device_type>mob</_device_type>
</custom_fields>
<cats/>
</subscription>
</subscriptions>
</item>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
datastringAn array of received data regarding events in the profile history
data.xxhstringProfile xxhash ID
data.profile_idstringProfile ID
data.emailstringProfile email
data.list_id (db_id)intDatabase ID
data.actionstringProfile action (More details)
data.countintNumber of actions taken in this second
data.datetimestringDate and time of the action in RFC 3339 (ISO 8601) format
data.message_idintMessage template ID

Returns 0 if the action does not involve using a template.
data.campaign_idintMailing ID

Returns 0 if the action does not involve using a mailing.
data.event_idstringEvent ID
data.smidstringUnique identifier of the send within the mailing

Returns an empty string if the action does not involve sending a message.
data.campaign_namestringName of the mailing

Returns an empty string if the action does not involve using a mailing.
data.message_namestringName of the message template

Returns an empty string if the action does not involve using a template.
data.subscriptionstringObject containing information about the subscription under which the sending was performed
data.channelstringCommunication channel in which the event was recorded.

Returns an empty string if the channel is not involved.
data.subscriptionsarray of objectsAll subscriptions of the profile. For CSV format, it will be represented as a JSON string.
errorintError code
error_textstringError message

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 mailing 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.)

*The Meta organization, which owns Instagram, Facebook and WhatsApp products, has been declared as extremist and banned in Russia.

Last updated on Aug 16, 2024
Previous
Action history
Next
Get multiple profiles action history
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
    • Profile history events (action)
© 2015 - 2026 Altcraft, LLC. All rights reserved.