Klaviyo · Schema

MobilePushOptions

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
on_open object
badge object Only supported on iOS.
play_sound boolean Only supported on iOS.
View JSON Schema on GitHub

JSON Schema

klaviyo-mobilepushoptions-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MobilePushOptions",
  "title": "MobilePushOptions",
  "type": "object",
  "properties": {
    "on_open": {
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/PushOnOpenApp"
        },
        {
          "$ref": "#/components/schemas/PushOnOpenDeepLink"
        }
      ]
    },
    "badge": {
      "description": "Only supported on iOS.",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/MobilePushBadge"
        },
        {
          "$ref": "#/components/schemas/MobilePushNoBadge"
        }
      ]
    },
    "play_sound": {
      "description": "Only supported on iOS.",
      "type": "boolean",
      "default": false,
      "nullable": true
    }
  }
}