Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Last Updated:

Lastupdatedate

Livesearch
placeholderSearch the Vibes Developer Wiki
typepage



Anchor
subscriptionlistaddedcallback
subscriptionlistaddedcallback
Subscription List Added Callback

This callback event is triggered when a new Subscription List has been created in the Mobile Database.
The subscription_list object refers to the new list that was added.

Callback Body

Code Block
{
   "event_id":"AB234SDFD234",    
   "callback_type":"subscription_list_added", 
   "event_type":"subscription_list_added", //deprecated
   "event_date":"2017-03-15T15:42:23Z",
   "delivery_attempt":"1",
   "subscription_list":{
      "id":"ABC12345",
      "name":"Wonderful Subscription List",
      "url":"/companies/:company_key/mobiledb/subscription_lists/ABC12345",
      "subscribers_url":"/companies/:company_key/mobiledb/subscription_lists/ABC12345/subscribers",
      "acquisition_campaigns_url":"/companies/:company_key/mobiledb/subscription_lists/ABC12345/acquisition_campaigns"
   }
}

Anchor
subscriptionlistupdatedcallback
subscriptionlistupdatedcallback
Subscription List Updated Callback

This callback event is triggered whenever a Subscription List has been updated.

The subscription_list object refers to the updated Subscription List.

Callback Body

Code Block
{
   "event_id":"AB234SDFD234", 
   "callback_type":"subscription_list_updated", 
   "event_type":"subscription_list_updated", //deprecated 
   "event_date":"2017-03-15T15:42:23Z",
   "delivery_attempt":"1",
   "subscription_list":{
      "id":"ABC12345",
      "name":"Wonderful Subscription List",
      "url":"/companies/:company_key/mobiledb/subscription_lists/ABC12345",
      "subscribers_url":"/companies/:company_key/mobiledb/subscription_lists/ABC12345/subscribers",
      "acquisition_campaigns_url":"/companies/:company_key/mobiledb/subscription_lists/ABC12345/acquisition_campaigns"
   }
}

Additional Resources