Klaviyo · Schema

PushActionButtonDefinition

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
label string The button label (max 40 characters)
action_type string The action type: open_app, deep_link, open_url, or dismiss
position integer The display order of the button (0-indexed). If omitted, inferred from the button's order in the list.
url string URL for deep_link or open_url action types (max 2048 characters)
View JSON Schema on GitHub

JSON Schema

klaviyo-pushactionbuttondefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PushActionButtonDefinition",
  "title": "PushActionButtonDefinition",
  "type": "object",
  "properties": {
    "label": {
      "description": "The button label (max 40 characters)",
      "type": "string"
    },
    "action_type": {
      "description": "The action type: open_app, deep_link, open_url, or dismiss",
      "type": "string"
    },
    "position": {
      "description": "The display order of the button (0-indexed). If omitted, inferred from the button's order in the list.",
      "type": "integer",
      "nullable": true
    },
    "url": {
      "description": "URL for deep_link or open_url action types (max 2048 characters)",
      "type": "string",
      "nullable": true
    }
  },
  "required": [
    "label",
    "action_type"
  ]
}