Versions Compared

Key

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

A Callback callback entity is a registration to receive callback events to an external URL. It is identified by a CallbackID, which uniquely identifies the record. Additionally, each callback is unique for a given event type and active date range.

...

The following is the JSON representation of a Callback callback entity within the APIs.

Code Block
{
   "callback_id":"AB3423",
   "event_type":"person_added",
   "destination":{
      "url":"http://destination.url",
      "method":"POST",
      "content_type":"application/json"
   },
   "start_date":"2017-01-01T00:00Z",
   "end_date":"2017-02-01T00:00Z",
   "url":"/companies/:id/mobiledb/config/callbacks/:callback_id",
   "created_at":"2017-04-15T14:30Z",
   "updated_at":"2017-05-18T19:30Z"
}

...

Data Element

Type

Description

Required

list_id

String

Vibes unique identifier for a Subscription listList.

Required

Code Block
{
  ...
  "event_type": "subscription_added",
  "subscription_added": {
    "list_id": "l1234"
  },
  ...
}

...