Push Message Data

This data set contains push messages associated the company's account.

How much data is retained?

This data set will contain 7 days’ worth of data starting from the most recent data refresh. Data is refreshed once per day. For example, if you are looking at the data set on 7/18, it will contain data from 7/11 to present.

What data can be pulled?

Column NameTypeNullableDefaultDescription
ACTIVITY_NAMEVARCHAR(4000)TRUENULLThe campaign name that is correlated to the message
ACTIVITY_TYPEVARCHAR(16777216)TRUENULLRefers to the type of campaign the push message is associated with. See here for a list of activity types.
ACTIVITY_IDVARCHAR(255)TRUENULLVibes UID for the campaign that associated with the message
APP_IDVARCHAR(40)TRUENULLID of the mobile app
CLIENT_APP_DATAVARIANTTRUENULLContains metadata about the message and the app
COMPANY_KEYVARCHAR(50)TRUENULLVibes ID used to identify a company that is associated with the message
CONTENTVARCHAR(16777216)TRUENULLThe text of the message
DW_CREATED_ATTIMESTAMP_TZ(9)TRUENULLThe date timestamp that indicates when the row was created in Vibes data warehouse. The time zone is central time for North America customers and UTC for European Customers
EXTERNAL_PERSON_IDVARCHAR(16777216)TRUENULLAn individual specific identifier that is set by the company
MESSAGE_IDVARCHAR(16777216)TRUENULLUUID of the message
OSVARCHAR(10)TRUENULLOperating system of the push device (Android or iOS)
PERSON_KEYVARCHAR(40)TRUENULLVibes UID for the recipient
PUSH_TOKENVARCHAR(16777216)TRUENULLAndroid or iOS Push token
RECEIPT_AT_TTZTIMESTAMP_TZ(9)TRUENULLThe date timestamp when a message was generated on our platform. This timestamp will be in the time zone of the company.
RESPONSE_TEXTVARCHAR(16777216)TRUENULLThe response text: Success, Unregistered, or DeviceTokenNotForTopic
SUBJECTVARCHAR(16777216)TRUENULLThe subject of the push message
VIBES_DEVICE_IDVARCHAR(255)TRUENULLVibes unique identifier for each device
ACTIVITY_UIDVARCHAR(255)TRUENULLLEGACY: For use with legacy data sharing integrations
MESSAGE_UIDVARCHAR(16777216)TRUENULLLEGACY: For use with legacy data sharing integrations
PERSON_UIDVARCHAR(40)TRUENULLLEGACY: For use with legacy data sharing integrations
PERSON_IDINTTRUENULLLEGACY: For use with legacy Public APIs
COMPANY_UIDNUMBER(38,0)TRUENULLLEGACY: For use with legacy data sharing integrations
VIBES_DEVICE_UIDVARCHAR(255)TRUENULLLEGACY: For use with legacy data sharing integrations)

Sample Query

–- A query that will pull push messages from yesterday
SELECT
EXTERNAL_PERSON_ID
,ACTIVITY_ID
,ACTIVITY_NAME
,VIBES_DEVICE_ID
,OS
,PUSH_TOKEN
,APP_ID
,CONTENT
,RECEIPT_AT_TTZ
,RESPONSE_TEXT
FROM PUSH_MESSAGE
WHERE CAST(DW_CREATED_AT AS DATE) >= CAST(DATEADD(day,-1, CURRENT_DATE()) AS DATE)
AND CAST(DW_CREATED_AT AS DATE) < CAST(CURRENT_DATE() AS DATE)