Platform Status: Good
V1.5
Join Free
Event Types
Data Change

Data Change

The following DATA_CHANGE events exist:

These events all share the same data structure, and only differ on type

Property

Type

Example

Description

entity
String
customer
The entity type, or 'customer' when a property of the user
property
String
name
Property key
oldvalue
String
John Doe
The current value
newvalue
String
John Toe
The new value
user
String
https://api.port.im/users/259eg1kjbd
A link to the user

Example:

{
  "id" : "228k0qc2z9",
  "eventtime" : "2018-02-16T01:21:10.842Z",
  "type" : "DIRECT_DATA_CHANGE",
  "properties" : {
    "entity" : "customer",
    "property" : "name",
    "oldvalue" : "John Doe",
    "newvalue" : "John Toe",
    "url" : "https://api.port.im/users/259eg1kjbd"
  },
  "delivered" : true,
  "deliveredtime" : "2018-02-16T02:00:37.173Z"
}