Subscription Status Data

This data set contains all subscriptions and their current status associated with lists of the company's account.

How much data is retained?

This data set contains the current status of all subscribers and former subscribers, including whether they are opted in or opted out currently.

What data can be pulled?

Column NameTypeNullableDefaultDescription
ACQUISITION_ACTIVITY_NAMEVARCHAR(4000)TRUENULLThe acquisition campaign that a subscriber used to opt-in to the list
ACQUISITION_ACTIVITY_IDVARCHAR(255)TRUENULLVibes UID for the acquisition campaign that the subscriber used to opt-in to the list
CARRIER_CODENUMBER(38,0)TRUENULLThe carrier code indicating specific carrier of the subscriber's mobile phone number. See Appendix - Carrier Codes for all valid carriers.
CARRIER_NAMEVARCHAR(50)TRUENULLThe name of the carrier that is associated with the subscriber's mobile phone number
COMPANY_KEYVARCHAR(50)TRUENULLVibes ID used to identify a company that is associated with the list that the subscriber opted into
CURRENT_SUBSCRIPTION_STATUSVARCHAR(20)TRUENULLIndicates the current status of a subscription
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)TRUENULLA subscriber specific identifier that is set by an external system outside Vibes. Must be associated via an API call.
LAST_STATUS_CHANGE_ATTIMESTAMP_TZ(9)TRUENULLThe last time the status of the subscription changed. This field will be blank for people who opt in, and will be filled out after an opt-out.

The time zone is central time for North America customers and UTC for European Customers
OPT_IN_AT_TTZTIMESTAMP_TZ(9)TRUENULLThe date timestamp of when the subscriber opted into a list. This timestamp will be in the time zone of the company.
OPT_OUT_AT_TTZTIMESTAMP_TZ(9)TRUENULLThe date timestamp of when the subscriber opted out of a list. This timestamp will be in the time zone of the company.
OPT_OUT_REASONVARCHAR(8000)TRUENULLThe type of opt-out that occurred. For opt-in subscription events, this column will remain null - see Subscription API Callback Events for the list of Opt Out reasons
PERSON_KEYVARCHAR(40)TRUENULLVibes UID for the subscriber
PHONE_NUMBERVARCHAR(255)TRUENULLThe mobile phone number of the subscriber
PHONE_NUMBER_E164_FORMATVARCHAR(255)TRUENULLThe mobile phone number of the subscriber that also includes country code
SUBSCRIPTION_LIST_NAMEVARCHAR(255)TRUENULLName given to the list that the subscriber opted into
SUBSCRIPTION_LIST_IDNUMBER(38,0)TRUENULLVibes UID that signifies what list the subscriber opted into
PERSON_IDINTTRUENULLLEGACY: For use with legacy Public APIs
PERSON_UIDVARCHAR(40)TRUENULLLEGACY: For use with legacy data sharing integrations
COMPANY_UIDNUMBER(38,0)TRUENULLLEGACY: For use with legacy data sharing integrations
SUBSCRIPTION_LIST_UIDNUMBER(38,0)TRUENULLLEGACY: For use with legacy data sharing integrations
ACQUISITION_ACTIVITY_UIDVARCHAR(255)TRUENULLLEGACY: For use with legacy data sharing integrations

Sample Query

-- A query that will pull all opted-in subscriptions

SELECT
PERSON_KEY
,EXTERNAL_PERSON_ID
,PHONE_NUMBER
,CARRIER_CODE
,SUBSCRIPTION_LIST_NAME
,ACQUISITION_ACTIVITY_NAME
FROM SUBSCRIPTION_STATUS
WHERE opt_out_reason IS NULL

-- A query that will pull all opt-out subscriptions

SELECT
PERSON_KEY
,EXTERNAL_PERSON_ID
,PHONE_NUMBER
,CARRIER_CODE
,OPT_OUT_REASON
,SUBSCRIPTION_LIST_NAME
FROM SUBSCRIPTION_STATUS
WHERE opt_out_reason IS NOT NULL