OmniJSON Template for Engine API SDKs

When creating an omnichannel experience for Engine API SDK methods, use the following JSON as your input:

{
  "meta": {
    "type": "action",
    "tool": "react-native",
    "version": "1"
  },
  "data": {
    "actionId": "12345",
    "actionType": "monetate:action:OmnichannelJson",
    "component": "home_component_1",
    "impressionId": "5678",
    "json": {
      "text": "Experience Configured for React Native personalization SDK ",
      "color": "#FF0000",
      "style": "bold",
      "fontSize": 24,
      "buttonText": "Reset All",
      "buttonColor": "#7B68EE",
      "type": "monetate:action:GenericAction"
    }
  }
}