Klaviyo · Schema

PushActionButton

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
label string
action_type string The action type for a push notification action button.
url string
icon string
custom_action_id string
View JSON Schema on GitHub

JSON Schema

klaviyo-pushactionbutton-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PushActionButton",
  "title": "PushActionButton",
  "type": "object",
  "properties": {
    "label": {
      "type": "string"
    },
    "action_type": {
      "description": "The action type for a push notification action button.",
      "type": "string",
      "enum": [
        "deep_link",
        "dismiss",
        "open_app",
        "open_url"
      ]
    },
    "url": {
      "type": "string",
      "nullable": true
    },
    "icon": {
      "type": "string",
      "nullable": true
    },
    "custom_action_id": {
      "type": "string",
      "nullable": true
    }
  },
  "required": [
    "label",
    "action_type"
  ]
}