Lets you create a new behavioral event.
Request Body Parameters
Parameter | Type | Description |
---|---|---|
eventName* | string | Name of the event. |
actions* | enum | Destination of the event. Values: |
description | string | Short description for the event. |
fields | obj | Configure fields for the current event with attributes: |
name | string | Specify the name of the field. |
type | enum | Specify the type of the attribute. Values: |
addCustomerIfNotExists | obj | Set this value to |
valueType | enum | Data-type of the attribute. For example, |
value | string | Value of the attribute based on its |
identifierType | Object | Specify the identifier type and its value |
value | String | Supported values: userId, mobile, email, externalId, wechat, martjackId, cuid, fbid, unionId, fcmToken, line, cardnumber, cardExternalId |
valueType | String | Value for the identifier type |
For information on event uniqueness check, see Event uniqueness check.