{
"openapi": "3.0.2",
"info": {
"title": "Klaviyo API (Beta)",
"version": "2026-10-15.pre",
"description": "The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.",
"contact": {
"name": "Klaviyo Developer Experience Team",
"email": "developers@klaviyo.com",
"url": "https://developers.klaviyo.com"
},
"termsOfService": "https://www.klaviyo.com/legal/api-terms",
"license": {
"name": "License",
"url": "https://www.klaviyo.com/legal"
}
},
"servers": [
{
"url": "https://a.klaviyo.com",
"description": "Production"
}
],
"security": [
{
"Klaviyo-API-Key": []
}
],
"paths": {
"/api/forms/{id}": {
"patch": {
"operationId": "update_form_beta",
"summary": "Update Form",
"description": "\n > \ud83d\udea7 This endpoint is in beta and subject to change.\n >\n > A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy) for more information.\n\nUpdate a form's name or complete editable definition.\n\nOnly name and definition may be supplied. Omitted attributes retain their values. The channel, version IDs, and live versions cannot change. Omitted editable entities are deleted from a supplied definition. A definition from an earlier GET can overwrite subsequent edits; this endpoint does not provide optimistic concurrency checks.
*Rate limits*:
Burst: `3/s`
Steady: `60/m`\n\n**Scopes:**\n`forms:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/beta/apis/update_form_beta.json)",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The ID of the form.",
"required": true,
"schema": {
"description": "The ID of the form.",
"type": "string",
"example": "Y6nRLr"
}
},
{
"name": "fields[form]",
"in": "query",
"description": "For more information please visit https://developers.klaviyo.com/en/v2026-10-15.pre/reference/api-overview#sparse-fieldsets",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ab_test",
"created_at",
"definition",
"definition.type",
"definition.versions",
"id",
"name",
"status",
"updated_at"
]
}
},
"explode": false
},
{
"name": "revision",
"in": "header",
"description": "API endpoint revision (format: YYYY-MM-DD[.suffix])",
"required": true,
"schema": {
"type": "string",
"default": "2026-10-15.pre"
}
}
],
"requestBody": {
"description": "Update a form's name or editable definition.",
"required": true,
"content": {
"application/vnd.api+json": {
"schema": {
"$ref": "#/components/schemas/PolymorphicFormPartialUpdateQuery"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/vnd.api+json": {
"schema": {
"$ref": "#/components/schemas/PatchPolymorphicFormResponse"
}
}
}
},
"4XX": {
"$ref": "#/components/responses/ClientError"
},
"5XX": {
"$ref": "#/components/responses/ServerError"
}
},
"tags": [
"Beta APIs"
],
"x-klaviyo-pre-release": "BETA",
"x-klaviyo-ratelimit": {
"burst": "3/s",
"steady": "60/m"
},
"x-klaviyo-scopes": [
"forms:write"
],
"x-klaviyo-subtag": "Forms"
}
}
},
"components": {
"responses": {
"ClientError": {
"description": "Client Error",
"content": {
"application/vnd.api+json": {
"schema": {
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"code",
"title",
"detail"
],
"properties": {
"id": {
"type": "string"
},
"code": {
"type": "string"
},
"title": {
"type": "string"
},
"detail": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"pointer": {
"type": "string"
},
"parameter": {
"type": "string"
}
}
}
}
}
}
},
"required": [
"errors"
]
}
}
}
},
"ServerError": {
"description": "Server Error",
"content": {
"application/vnd.api+json": {
"schema": {
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"code",
"title",
"detail"
],
"properties": {
"id": {
"type": "string"
},
"code": {
"type": "string"
},
"title": {
"type": "string"
},
"detail": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"pointer": {
"type": "string"
},
"parameter": {
"type": "string"
}
}
}
}
}
}
},
"required": [
"errors"
]
}
}
}
}
},
"schemas": {
"AdditionalField": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
},
"AfterCloseTimeout": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"after_close_or_submit_timeout"
]
},
"properties": {
"$ref": "#/components/schemas/AfterCloseTimeoutProperties"
}
},
"required": [
"type"
]
},
"AfterCloseTimeoutProperties": {
"type": "object",
"properties": {
"timeout_days": {
"type": "integer",
"example": 5,
"default": 5
}
}
},
"AgeGate": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"age_gate"
]
},
"styles": {
"$ref": "#/components/schemas/AgeGateStyles"
},
"properties": {
"$ref": "#/components/schemas/AgeGateProperties"
},
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
}
},
"required": [
"type",
"properties"
]
},
"AgeGateProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"show_label": {
"type": "boolean",
"default": false
},
"placeholder": {
"type": "string",
"nullable": true
},
"error_messages": {
"$ref": "#/components/schemas/ErrorMessages",
"nullable": true
},
"property_name": {
"type": "string",
"example": "$age_gated_date_of_birth",
"default": "$age_gated_date_of_birth",
"enum": [
"$age_gated_date_of_birth"
]
},
"date_format": {
"type": "string",
"example": "MM/DD/YYYY",
"default": "MM/DD/YYYY"
},
"sms_country_code": {
"description": "SMS County Code Enum.",
"type": "string",
"example": "US",
"default": "US",
"enum": [
"AT",
"AU",
"CH",
"DE",
"ES",
"FR",
"GB",
"IE",
"IT",
"PT",
"US"
]
},
"required": {
"type": "boolean",
"example": true,
"default": true,
"enum": [
true
]
}
}
},
"AgeGateStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"input_styles": {
"$ref": "#/components/schemas/InputStyleOverrides",
"nullable": true
}
}
},
"AgentHints": {
"description": "Optional hints emitted by the API for agent callers",
"type": "object",
"properties": {
"next_steps": {
"description": "Suggested follow-up actions for agents to take after this response",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"Animation": {
"type": "object",
"properties": {
"type": {
"description": "Enumeration for component entrance animation types.",
"type": "string",
"example": "none",
"default": "none",
"enum": [
"fadeIn",
"fadeInUp",
"none",
"pulse",
"slideInDown",
"slideInLeft",
"slideInRight",
"slideInUp",
"zoomIn"
]
},
"duration": {
"type": "integer",
"example": 600,
"default": 600
},
"delay": {
"type": "integer",
"default": 0
},
"easing": {
"description": "Enumeration for component animation easing functions.",
"type": "string",
"example": "ease-out",
"default": "ease-out",
"enum": [
"ease",
"ease-in",
"ease-in-out",
"ease-out",
"linear"
]
},
"repeat": {
"type": "boolean",
"default": false
}
}
},
"BackInStock": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"back_in_stock"
]
},
"properties": {
"$ref": "#/components/schemas/BackInStockProperties"
}
},
"required": [
"type"
]
},
"BackInStockDynamicButtonBorderStyles": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"color": {
"type": "string",
"example": "#000000",
"default": "#000000"
},
"style": {
"description": "Border pattern enumeration.",
"type": "string",
"example": "solid",
"default": "solid",
"enum": [
"dashed",
"dotted",
"solid"
],
"nullable": true
},
"width": {
"type": "integer",
"example": 1,
"default": 1
}
}
},
"BackInStockDynamicButtonData": {
"type": "object",
"properties": {
"label": {
"type": "string",
"default": ""
},
"display": {
"description": "Back In Stock Dynamic Button display type enumeration.",
"type": "string",
"example": "REPLACE",
"default": "REPLACE",
"enum": [
"NEXT_TO",
"REPLACE"
]
},
"text_styles": {
"$ref": "#/components/schemas/BackInStockDynamicButtonTextStyles"
},
"button_styles": {
"$ref": "#/components/schemas/BackInStockDynamicButtonStyles"
}
}
},
"BackInStockDynamicButtonDropShadowStyles": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"color": {
"type": "string",
"example": "#000000",
"default": "#000000"
},
"blur": {
"type": "integer",
"example": 15,
"default": 15
},
"x_offset": {
"type": "integer",
"default": 0
},
"y_offset": {
"type": "integer",
"default": 0
}
}
},
"BackInStockDynamicButtonStyles": {
"type": "object",
"properties": {
"color": {
"type": "string",
"example": "#000000",
"default": "#000000"
},
"border_radius": {
"type": "integer",
"default": 0
},
"height": {
"type": "integer",
"example": 44,
"default": 44
},
"width": {
"description": "Back In Stock Dynamic Button display type enumeration.",
"type": "string",
"example": "fullWidth",
"default": "fullWidth",
"enum": [
"fitToText",
"fullWidth"
]
},
"alignment": {
"description": "Horizontal alignment enumeration.",
"type": "string",
"example": "center",
"default": "center",
"enum": [
"center",
"left",
"right"
]
},
"border": {
"$ref": "#/components/schemas/BackInStockDynamicButtonBorderStyles"
},
"drop_shadow": {
"$ref": "#/components/schemas/BackInStockDynamicButtonDropShadowStyles"
}
}
},
"BackInStockDynamicButtonTextStyles": {
"type": "object",
"properties": {
"font_family": {
"example": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
"default": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
"oneOf": [
{
"type": "string",
"enum": [
"Arial Black,Arial",
"Arial, 'Helvetica Neue', Helvetica, sans-serif",
"Century Gothic,AppleGothic,Arial",
"Comic Sans MS,Comic Sans,cursive",
"Courier",
"Courier New",
"Geneva,Arial",
"Georgia",
"Helvetica,Arial",
"Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
"Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
"Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif",
"MS Serif,Georgia",
"New York,Georgia",
"Palatino Linotype,Palatino,Georgia",
"Palatino,Georgia",
"Tahoma,sans-serif",
"Times New Roman",
"Trebuchet MS",
"Verdana"
],
"description": "Web safe font enumeration."
},
{
"type": "string"
}
]
},
"font_size": {
"type": "integer",
"example": 16,
"default": 16
},
"font_weight": {
"description": "Font weight enumeration.",
"type": "integer",
"example": 400,
"default": 400,
"enum": [
100,
200,
300,
400,
500,
600,
700,
800,
900
],
"nullable": true
},
"font_color": {
"type": "string",
"example": "#FFFFFF",
"default": "#FFFFFF"
},
"font_style": {
"type": "string",
"nullable": true
},
"text_decoration": {
"type": "string",
"nullable": true
},
"letter_spacing": {
"type": "integer",
"default": 0
}
}
},
"BackInStockEmailConsentCheckbox": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"bis_promotional_email_checkbox"
]
},
"styles": {
"$ref": "#/components/schemas/BackInStockEmailConsentCheckboxStyles"
},
"properties": {
"$ref": "#/components/schemas/BackInStockEmailConsentCheckboxProperties"
}
},
"required": [
"type",
"properties"
]
},
"BackInStockEmailConsentCheckboxProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"show_label": {
"type": "boolean",
"default": false
},
"error_messages": {
"$ref": "#/components/schemas/ErrorMessages",
"nullable": true
},
"required": {
"type": "boolean",
"default": false,
"enum": [
false
]
},
"property_name": {
"type": "string",
"example": "opt_in_promotional_email",
"default": "opt_in_promotional_email",
"enum": [
"opt_in_promotional_email"
]
},
"checkbox_text": {
"type": "string"
},
"placeholder": {
"enum": [
null
]
}
},
"required": [
"checkbox_text"
]
},
"BackInStockEmailConsentCheckboxStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"input_styles": {
"$ref": "#/components/schemas/InputStyleOverrides",
"nullable": true
},
"horizontal_alignment": {
"description": "Horizontal alignment enumeration.",
"type": "string",
"example": "left",
"default": "left",
"enum": [
"center",
"left",
"right"
]
}
}
},
"BackInStockProperties": {
"type": "object",
"properties": {
"tag_allowlist": {
"type": "array",
"items": {
"type": "string"
}
},
"tag_blocklist": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"BackgroundImage": {
"type": "object",
"properties": {
"styles": {
"$ref": "#/components/schemas/BackgroundImageStyles"
},
"properties": {
"$ref": "#/components/schemas/ImageAssetProperties"
}
},
"required": [
"properties"
]
},
"BackgroundImageStyles": {
"type": "object",
"properties": {
"horizontal_alignment": {
"description": "Horizontal alignment enumeration.",
"type": "string",
"example": "center",
"default": "center",
"enum": [
"center",
"left",
"right"
]
},
"width": {
"type": "integer",
"nullable": true
},
"position": {
"description": "Image position enumeration.",
"type": "string",
"example": "contain",
"default": "contain",
"enum": [
"contain",
"cover",
"custom"
]
},
"vertical_alignment": {
"description": "Vertical alignment enumeration.",
"type": "string",
"example": "center",
"default": "center",
"enum": [
"bottom",
"center",
"top"
]
},
"custom_width": {
"type": "integer",
"nullable": true
}
}
},
"BannerStyles": {
"type": "object",
"properties": {
"desktop_position": {
"description": "Positioning of banner forms.",
"type": "string",
"example": "top",
"default": "top",
"enum": [
"bottom",
"top"
]
},
"mobile_position": {
"description": "Positioning of banner forms.",
"type": "string",
"example": "top",
"default": "top",
"enum": [
"bottom",
"top"
]
},
"scroll_with_page": {
"type": "boolean",
"example": true,
"default": true
}
}
},
"BorderStyle": {
"type": "object",
"properties": {
"radius": {
"type": "integer",
"example": 8,
"default": 8
},
"color": {
"type": "string",
"nullable": true
},
"style": {
"description": "Border pattern enumeration.",
"type": "string",
"enum": [
"dashed",
"dotted",
"solid"
],
"nullable": true
},
"thickness": {
"type": "integer",
"nullable": true
}
}
},
"Button": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"button"
]
},
"styles": {
"$ref": "#/components/schemas/ButtonStyles"
},
"properties": {
"$ref": "#/components/schemas/ButtonProperties"
},
"action": {
"oneOf": [
{
"$ref": "#/components/schemas/Close"
},
{
"$ref": "#/components/schemas/NextStep"
},
{
"$ref": "#/components/schemas/OpenForm"
},
{
"$ref": "#/components/schemas/PromotionalSMSSubscription"
},
{
"$ref": "#/components/schemas/Redirect"
},
{
"$ref": "#/components/schemas/ResendOptInCode"
},
{
"$ref": "#/components/schemas/SubmitOptInCode"
},
{
"$ref": "#/components/schemas/SubscribeViaSMS"
},
{
"$ref": "#/components/schemas/SubscribeViaWhatsApp"
},
{
"$ref": "#/components/schemas/GoToInbox"
},
{
"$ref": "#/components/schemas/SubmitBackInStock"
},
{
"$ref": "#/components/schemas/SkipToSuccess"
},
{
"$ref": "#/components/schemas/IafDeeplinkToScreen"
},
{
"$ref": "#/components/schemas/IafOpenUrl"
}
]
}
},
"required": [
"type",
"properties"
]
},
"ButtonDropShadowStyles": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"color": {
"type": "string",
"example": "#000000",
"default": "#000000"
},
"blur": {
"type": "integer",
"example": 15,
"default": 15
},
"x_offset": {
"type": "integer",
"default": 0
},
"y_offset": {
"type": "integer",
"default": 0
}
}
},
"ButtonProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"label": {
"type": "string"
},
"additional_fields": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AdditionalField"
},
"nullable": true
}
},
"required": [
"label"
]
},
"ButtonStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"width": {
"description": "Valid button block widths.",
"type": "string",
"example": "fill",
"default": "fill",
"enum": [
"fill",
"fit"
]
},
"inner_padding": {
"$ref": "#/components/schemas/Padding",
"nullable": true
},
"height": {
"example": 50,
"default": 50,
"oneOf": [
{
"type": "integer"
},
{
"enum": [
"auto"
],
"type": "string"
}
]
},
"alignment": {
"description": "Horizontal alignment enumeration.",
"type": "string",
"example": "center",
"default": "center",
"enum": [
"center",
"left",
"right"
]
},
"hover_background_color": {
"type": "string",
"nullable": true
},
"hover_text_color": {
"type": "string",
"nullable": true
},
"border_styles": {
"$ref": "#/components/schemas/BorderStyle"
},
"text_styles": {
"$ref": "#/components/schemas/TextStyle"
},
"color": {
"type": "string",
"nullable": true
},
"drop_shadow": {
"$ref": "#/components/schemas/ButtonDropShadowStyles"
}
}
},
"CartContent": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"cart_content"
]
},
"properties": {
"$ref": "#/components/schemas/CartContentProperties"
}
},
"required": [
"type"
]
},
"CartContentProperties": {
"type": "object",
"properties": {
"value": {
"$ref": "#/components/schemas/CartValueProperties",
"nullable": true
},
"items": {
"$ref": "#/components/schemas/CartItemCountProperties",
"nullable": true
},
"product": {
"$ref": "#/components/schemas/CartProductProperties",
"nullable": true
}
}
},
"CartItemCount": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"cart_item_count"
]
},
"properties": {
"$ref": "#/components/schemas/CartItemCountProperties"
}
},
"required": [
"type"
]
},
"CartItemCountProperties": {
"type": "object",
"properties": {
"comparison": {
"description": "Number comparison enumeration.",
"type": "string",
"enum": [
"equals",
"greater_than",
"less_than"
],
"nullable": true
},
"value": {
"type": "integer",
"nullable": true
}
}
},
"CartProduct": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"cart_product"
]
},
"properties": {
"$ref": "#/components/schemas/CartProductProperties"
}
},
"required": [
"type"
]
},
"CartProductProperties": {
"type": "object",
"properties": {
"type": {
"description": "Product descriptor enumeration.",
"type": "string",
"enum": [
"brand",
"categories",
"id",
"name"
],
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
}
},
"CartValue": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"cart_value"
]
},
"properties": {
"$ref": "#/components/schemas/CartValueProperties"
}
},
"required": [
"type"
]
},
"CartValueProperties": {
"type": "object",
"properties": {
"comparison": {
"description": "Number comparison enumeration.",
"type": "string",
"enum": [
"equals",
"greater_than",
"less_than"
],
"nullable": true
},
"value": {
"type": "number",
"nullable": true
}
}
},
"Channel": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"channel"
]
},
"properties": {
"$ref": "#/components/schemas/ChannelProperties"
}
},
"required": [
"type",
"properties"
]
},
"ChannelProperties": {
"type": "object",
"properties": {
"channel": {
"description": "Channel type enumeration.",
"type": "string",
"enum": [
"email",
"sms"
]
}
},
"required": [
"channel"
]
},
"ChannelSettings": {
"type": "object",
"properties": {
"sms": {
"$ref": "#/components/schemas/PhoneNumberConsentChannelSettings"
},
"whatsapp": {
"$ref": "#/components/schemas/PhoneNumberConsentChannelSettings"
}
}
},
"Checkboxes": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"checkboxes"
]
},
"styles": {
"$ref": "#/components/schemas/CheckboxesStyles"
},
"properties": {
"$ref": "#/components/schemas/CheckboxesProperties"
}
},
"required": [
"type",
"properties"
]
},
"CheckboxesProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"property_name": {
"type": "string"
},
"label": {
"type": "string",
"nullable": true
},
"show_label": {
"type": "boolean",
"default": false
},
"required": {
"type": "boolean",
"default": false,
"nullable": true
},
"error_messages": {
"$ref": "#/components/schemas/ErrorMessages",
"nullable": true
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PropertyOption"
}
},
"placeholder": {
"type": "string",
"nullable": true
}
},
"required": [
"property_name",
"options"
]
},
"CheckboxesStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"input_styles": {
"$ref": "#/components/schemas/InputStyleOverrides",
"nullable": true
},
"arrangement": {
"description": "Arrangement enumeration.",
"type": "string",
"example": "vertical",
"default": "vertical",
"enum": [
"horizontal",
"vertical"
]
},
"alignment": {
"description": "Horizontal alignment enumeration.",
"type": "string",
"example": "left",
"default": "left",
"enum": [
"center",
"left",
"right"
]
}
}
},
"Close": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"submit": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"close"
]
},
"properties": {
"$ref": "#/components/schemas/CloseProperties",
"nullable": true
}
},
"required": [
"submit",
"type"
]
},
"CloseButtonStyle": {
"type": "object",
"properties": {
"background_color": {
"type": "string",
"example": "rgba(180, 187, 195, 0.65)",
"default": "rgba(180, 187, 195, 0.65)"
},
"outline_color": {
"type": "string",
"example": "#FFFFFF",
"default": "#FFFFFF"
},
"color": {
"type": "string",
"example": "#FFFFFF",
"default": "#FFFFFF"
},
"stroke": {
"type": "number",
"example": 2,
"default": 2
},
"size": {
"type": "integer",
"example": 20,
"default": 20
},
"margin": {
"$ref": "#/components/schemas/Margin"
},
"position": {
"description": "Horizontal position of the close button.",
"type": "string",
"enum": [
"left",
"right"
],
"nullable": true
}
}
},
"CloseProperties": {
"type": "object",
"properties": {
"list_id": {
"type": "string",
"nullable": true
}
}
},
"Column": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Row"
}
},
"styles": {
"$ref": "#/components/schemas/ColumnStyles",
"nullable": true
}
}
},
"ColumnStyles": {
"type": "object",
"properties": {
"background_image": {
"$ref": "#/components/schemas/BackgroundImage",
"nullable": true
},
"background_color": {
"type": "string",
"nullable": true
}
}
},
"ContinueWithShop": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"continue_with_shop"
]
},
"styles": {
"$ref": "#/components/schemas/ContinueWithShopStyles"
},
"properties": {
"$ref": "#/components/schemas/ContinueWithShopProperties"
}
},
"required": [
"type"
]
},
"ContinueWithShopAutofill": {
"type": "object",
"properties": {
"name": {
"type": "boolean",
"example": true,
"default": true
},
"birthday": {
"type": "boolean",
"default": false
},
"locale": {
"type": "boolean",
"default": false
},
"zip": {
"type": "boolean",
"example": true,
"default": true
},
"address": {
"type": "boolean",
"default": false
}
}
},
"ContinueWithShopPhoneConsent": {
"type": "object",
"properties": {
"channels": {
"type": "array",
"items": {
"type": "string",
"enum": [
"sms",
"whatsapp"
],
"description": "Consent channel enumeration."
}
},
"disclosure_title": {
"type": "string",
"nullable": true
},
"disclosure_text": {
"type": "string",
"nullable": true
}
}
},
"ContinueWithShopProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"layout": {
"description": "Shop login button layouts.",
"type": "string",
"example": "standalone",
"default": "standalone",
"enum": [
"or",
"standalone"
]
},
"button_type": {
"description": "Shop login button types supported by Continue with Shop.",
"type": "string",
"example": "continue",
"default": "continue",
"enum": [
"claim",
"continue"
]
},
"autofill": {
"$ref": "#/components/schemas/ContinueWithShopAutofill"
},
"phone_consent": {
"$ref": "#/components/schemas/ContinueWithShopPhoneConsent",
"nullable": true
}
}
},
"ContinueWithShopStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"border_radius": {
"type": "string",
"nullable": true
},
"x_spacing_base": {
"type": "string",
"nullable": true
},
"font_size": {
"type": "string",
"nullable": true
},
"line_height": {
"type": "string",
"nullable": true
},
"shop_pay_button_border_radius": {
"type": "string",
"nullable": true
},
"shop_pay_button_height": {
"type": "string",
"nullable": true
},
"shop_pay_button_width": {
"type": "string",
"nullable": true
}
}
},
"CountdownTimer": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"countdown_timer"
]
},
"styles": {
"$ref": "#/components/schemas/CountdownTimerStyles"
},
"properties": {
"$ref": "#/components/schemas/CountdownTimerProperties"
}
},
"required": [
"type",
"properties"
]
},
"CountdownTimerProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"clock_face": {
"description": "Options for displaying a timer.",
"type": "string",
"example": "simple",
"default": "simple",
"enum": [
"flip",
"simple"
]
},
"animation": {
"description": "Options for timer completion animations.",
"type": "string",
"example": "heartbeat",
"default": "heartbeat",
"enum": [
"flash",
"heartbeat",
"pulse"
],
"nullable": true
},
"label_format": {
"description": "Label lengths for countdown timer units.",
"type": "string",
"enum": [
"double_char",
"full",
"shortened",
"single_char"
],
"nullable": true
},
"configuration": {
"oneOf": [
{
"$ref": "#/components/schemas/FixedTimerConfiguration"
},
{
"$ref": "#/components/schemas/VariableTimerConfiguration"
}
]
}
},
"required": [
"configuration"
]
},
"CountdownTimerStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"text_styles": {
"$ref": "#/components/schemas/TextStyle"
},
"card_color": {
"type": "string",
"example": "rgba(100,100,100, 1.0)",
"default": "rgba(100,100,100, 1.0)"
},
"label_font_size": {
"type": "integer",
"example": 12,
"default": 12
},
"label_font_weight": {
"description": "Font weight enumeration.",
"type": "integer",
"example": 400,
"default": 400,
"enum": [
100,
200,
300,
400,
500,
600,
700,
800,
900
]
}
}
},
"Coupon": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"coupon"
]
},
"styles": {
"$ref": "#/components/schemas/CouponStyles"
},
"properties": {
"$ref": "#/components/schemas/CouponProperties"
}
},
"required": [
"type",
"properties"
]
},
"CouponProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"coupon": {
"oneOf": [
{
"$ref": "#/components/schemas/UniqueCouponConfig"
},
{
"$ref": "#/components/schemas/StaticCouponConfig"
}
]
},
"success_message": {
"type": "string",
"nullable": true
}
},
"required": [
"coupon"
]
},
"CouponStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"text_styles": {
"$ref": "#/components/schemas/TextStyle"
},
"border_styles": {
"$ref": "#/components/schemas/BorderStyle",
"nullable": true
},
"coupon_background_color": {
"type": "string",
"example": "#EEEEEE",
"default": "#EEEEEE",
"nullable": true
}
}
},
"CustomCss": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"css": {
"type": "string",
"default": ""
}
}
},
"CustomHTML": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"custom_html"
]
},
"styles": {
"$ref": "#/components/schemas/CustomHTMLStyles"
},
"properties": {
"$ref": "#/components/schemas/CustomHTMLProperties"
}
},
"required": [
"type"
]
},
"CustomHTMLProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"content": {
"default": "",
"type": "string"
}
}
},
"CustomHTMLStyles": {
"type": "object",
"maxProperties": 0
},
"CustomJavascript": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"properties": {
"$ref": "#/components/schemas/TriggerBaseProperties"
},
"type": {
"type": "string",
"enum": [
"custom_javascript"
]
}
},
"required": [
"type"
]
},
"Date": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"date"
]
},
"styles": {
"$ref": "#/components/schemas/DateStyles"
},
"properties": {
"$ref": "#/components/schemas/DateProperties"
}
},
"required": [
"type",
"properties"
]
},
"DateProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"property_name": {
"type": "string"
},
"label": {
"type": "string",
"nullable": true
},
"show_label": {
"type": "boolean",
"default": false
},
"placeholder": {
"type": "string",
"nullable": true
},
"required": {
"type": "boolean",
"default": false,
"nullable": true
},
"error_messages": {
"$ref": "#/components/schemas/ErrorMessages",
"nullable": true
},
"date_format": {
"type": "string",
"example": "MM/DD",
"default": "MM/DD"
}
},
"required": [
"property_name"
]
},
"DateStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"input_styles": {
"$ref": "#/components/schemas/InputStyleOverrides",
"nullable": true
}
}
},
"Delay": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"delay"
]
},
"properties": {
"$ref": "#/components/schemas/DelayProperties"
}
},
"required": [
"type"
]
},
"DelayProperties": {
"type": "object",
"properties": {
"seconds": {
"type": "integer",
"example": 5,
"default": 5
}
}
},
"Device": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"device"
]
},
"properties": {
"$ref": "#/components/schemas/DeviceProperties"
}
},
"required": [
"type"
]
},
"DeviceProperties": {
"type": "object",
"properties": {
"device": {
"description": "Enumeration for mobile and desktop.",
"type": "string",
"example": "desktop",
"default": "desktop",
"enum": [
"both",
"desktop",
"mobile"
]
}
}
},
"DropShadow": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"blur": {
"type": "integer",
"example": 30,
"default": 30
},
"color": {
"type": "string",
"example": "rgba(0,0,0,0.15)",
"default": "rgba(0,0,0,0.15)",
"nullable": true
}
}
},
"Dropdown": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"dropdown"
]
},
"styles": {
"$ref": "#/components/schemas/DropdownStyles"
},
"properties": {
"$ref": "#/components/schemas/DropdownProperties"
}
},
"required": [
"type",
"properties"
]
},
"DropdownProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"property_name": {
"type": "string"
},
"label": {
"type": "string",
"nullable": true
},
"show_label": {
"type": "boolean",
"default": false
},
"required": {
"type": "boolean",
"default": false,
"nullable": true
},
"error_messages": {
"$ref": "#/components/schemas/ErrorMessages",
"nullable": true
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PropertyOption"
}
},
"placeholder": {
"type": "string",
"nullable": true
}
},
"required": [
"property_name",
"options"
]
},
"DropdownStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"input_styles": {
"$ref": "#/components/schemas/InputStyleOverrides",
"nullable": true
}
}
},
"DynamicButton": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"description": "Dynamic Button type enumeration.",
"type": "string",
"enum": [
"BACK_IN_STOCK_OPEN"
]
},
"data": {
"$ref": "#/components/schemas/BackInStockDynamicButtonData"
}
},
"required": [
"type",
"data"
]
},
"Email": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"email"
]
},
"styles": {
"$ref": "#/components/schemas/EmailStyles"
},
"properties": {
"$ref": "#/components/schemas/EmailProperties"
}
},
"required": [
"type",
"properties"
]
},
"EmailProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"show_label": {
"type": "boolean",
"default": false
},
"placeholder": {
"type": "string",
"nullable": true
},
"required": {
"type": "boolean",
"default": false,
"nullable": true
},
"error_messages": {
"$ref": "#/components/schemas/ErrorMessages",
"nullable": true
},
"property_name": {
"type": "string",
"example": "$email",
"default": "$email",
"enum": [
"$email"
]
}
}
},
"EmailStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"input_styles": {
"$ref": "#/components/schemas/InputStyleOverrides",
"nullable": true
}
}
},
"ErrorMessages": {
"type": "object",
"properties": {
"required": {
"type": "string",
"example": "This field is required",
"default": "This field is required"
},
"invalid": {
"type": "string",
"example": "This field is invalid",
"default": "This field is invalid"
}
}
},
"ExitIntent": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"properties": {
"$ref": "#/components/schemas/TriggerBaseProperties"
},
"type": {
"type": "string",
"enum": [
"exit_intent"
]
}
},
"required": [
"type"
]
},
"FixedTimerConfiguration": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed"
]
},
"timezone": {
"type": "string",
"enum": [
"Africa/Abidjan",
"Africa/Accra",
"Africa/Addis_Ababa",
"Africa/Algiers",
"Africa/Asmara",
"Africa/Asmera",
"Africa/Bamako",
"Africa/Bangui",
"Africa/Banjul",
"Africa/Bissau",
"Africa/Blantyre",
"Africa/Brazzaville",
"Africa/Bujumbura",
"Africa/Cairo",
"Africa/Casablanca",
"Africa/Ceuta",
"Africa/Conakry",
"Africa/Dakar",
"Africa/Dar_es_Salaam",
"Africa/Djibouti",
"Africa/Douala",
"Africa/El_Aaiun",
"Africa/Freetown",
"Africa/Gaborone",
"Africa/Harare",
"Africa/Johannesburg",
"Africa/Juba",
"Africa/Kampala",
"Africa/Khartoum",
"Africa/Kigali",
"Africa/Kinshasa",
"Africa/Lagos",
"Africa/Libreville",
"Africa/Lome",
"Africa/Luanda",
"Africa/Lubumbashi",
"Africa/Lusaka",
"Africa/Malabo",
"Africa/Maputo",
"Africa/Maseru",
"Africa/Mbabane",
"Africa/Mogadishu",
"Africa/Monrovia",
"Africa/Nairobi",
"Africa/Ndjamena",
"Africa/Niamey",
"Africa/Nouakchott",
"Africa/Ouagadougou",
"Africa/Porto-Novo",
"Africa/Sao_Tome",
"Africa/Timbuktu",
"Africa/Tripoli",
"Africa/Tunis",
"Africa/Windhoek",
"America/Adak",
"America/Anchorage",
"America/Anguilla",
"America/Antigua",
"America/Araguaina",
"America/Argentina/Buenos_Aires",
"America/Argentina/Catamarca",
"America/Argentina/ComodRivadavia",
"America/Argentina/Cordoba",
"America/Argentina/Jujuy",
"America/Argentina/La_Rioja",
"America/Argentina/Mendoza",
"America/Argentina/Rio_Gallegos",
"America/Argentina/Salta",
"America/Argentina/San_Juan",
"America/Argentina/San_Luis",
"America/Argentina/Tucuman",
"America/Argentina/Ushuaia",
"America/Aruba",
"America/Asuncion",
"America/Atikokan",
"America/Atka",
"America/Bahia",
"America/Bahia_Banderas",
"America/Barbados",
"America/Belem",
"America/Belize",
"America/Blanc-Sablon",
"America/Boa_Vista",
"America/Bogota",
"America/Boise",
"America/Buenos_Aires",
"America/Cambridge_Bay",
"America/Campo_Grande",
"America/Cancun",
"America/Caracas",
"America/Catamarca",
"America/Cayenne",
"America/Cayman",
"America/Chicago",
"America/Chihuahua",
"America/Ciudad_Juarez",
"America/Coral_Harbour",
"America/Cordoba",
"America/Costa_Rica",
"America/Coyhaique",
"America/Creston",
"America/Cuiaba",
"America/Curacao",
"America/Danmarkshavn",
"America/Dawson",
"America/Dawson_Creek",
"America/Denver",
"America/Detroit",
"America/Dominica",
"America/Edmonton",
"America/Eirunepe",
"America/El_Salvador",
"America/Ensenada",
"America/Fort_Nelson",
"America/Fort_Wayne",
"America/Fortaleza",
"America/Glace_Bay",
"America/Godthab",
"America/Goose_Bay",
"America/Grand_Turk",
"America/Grenada",
"America/Guadeloupe",
"America/Guatemala",
"America/Guayaquil",
"America/Guyana",
"America/Halifax",
"America/Havana",
"America/Hermosillo",
"America/Indiana/Indianapolis",
"America/Indiana/Knox",
"America/Indiana/Marengo",
"America/Indiana/Petersburg",
"America/Indiana/Tell_City",
"America/Indiana/Vevay",
"America/Indiana/Vincennes",
"America/Indiana/Winamac",
"America/Indianapolis",
"America/Inuvik",
"America/Iqaluit",
"America/Jamaica",
"America/Jujuy",
"America/Juneau",
"America/Kentucky/Louisville",
"America/Kentucky/Monticello",
"America/Knox_IN",
"America/Kralendijk",
"America/La_Paz",
"America/Lima",
"America/Los_Angeles",
"America/Louisville",
"America/Lower_Princes",
"America/Maceio",
"America/Managua",
"America/Manaus",
"America/Marigot",
"America/Martinique",
"America/Matamoros",
"America/Mazatlan",
"America/Mendoza",
"America/Menominee",
"America/Merida",
"America/Metlakatla",
"America/Mexico_City",
"America/Miquelon",
"America/Moncton",
"America/Monterrey",
"America/Montevideo",
"America/Montreal",
"America/Montserrat",
"America/Nassau",
"America/New_York",
"America/Nipigon",
"America/Nome",
"America/Noronha",
"America/North_Dakota/Beulah",
"America/North_Dakota/Center",
"America/North_Dakota/New_Salem",
"America/Nuuk",
"America/Ojinaga",
"America/Panama",
"America/Pangnirtung",
"America/Paramaribo",
"America/Phoenix",
"America/Port-au-Prince",
"America/Port_of_Spain",
"America/Porto_Acre",
"America/Porto_Velho",
"America/Puerto_Rico",
"America/Punta_Arenas",
"America/Rainy_River",
"America/Rankin_Inlet",
"America/Recife",
"America/Regina",
"America/Resolute",
"America/Rio_Branco",
"America/Rosario",
"America/Santa_Isabel",
"America/Santarem",
"America/Santiago",
"America/Santo_Domingo",
"America/Sao_Paulo",
"America/Scoresbysund",
"America/Shiprock",
"America/Sitka",
"America/St_Barthelemy",
"America/St_Johns",
"America/St_Kitts",
"America/St_Lucia",
"America/St_Thomas",
"America/St_Vincent",
"America/Swift_Current",
"America/Tegucigalpa",
"America/Thule",
"America/Thunder_Bay",
"America/Tijuana",
"America/Toronto",
"America/Tortola",
"America/Vancouver",
"America/Virgin",
"America/Whitehorse",
"America/Winnipeg",
"America/Yakutat",
"America/Yellowknife",
"Antarctica/Casey",
"Antarctica/Davis",
"Antarctica/DumontDUrville",
"Antarctica/Macquarie",
"Antarctica/Mawson",
"Antarctica/McMurdo",
"Antarctica/Palmer",
"Antarctica/Rothera",
"Antarctica/South_Pole",
"Antarctica/Syowa",
"Antarctica/Troll",
"Antarctica/Vostok",
"Arctic/Longyearbyen",
"Asia/Aden",
"Asia/Almaty",
"Asia/Amman",
"Asia/Anadyr",
"Asia/Aqtau",
"Asia/Aqtobe",
"Asia/Ashgabat",
"Asia/Ashkhabad",
"Asia/Atyrau",
"Asia/Baghdad",
"Asia/Bahrain",
"Asia/Baku",
"Asia/Bangkok",
"Asia/Barnaul",
"Asia/Beirut",
"Asia/Bishkek",
"Asia/Brunei",
"Asia/Calcutta",
"Asia/Chita",
"Asia/Choibalsan",
"Asia/Chongqing",
"Asia/Chungking",
"Asia/Colombo",
"Asia/Dacca",
"Asia/Damascus",
"Asia/Dhaka",
"Asia/Dili",
"Asia/Dubai",
"Asia/Dushanbe",
"Asia/Famagusta",
"Asia/Gaza",
"Asia/Harbin",
"Asia/Hebron",
"Asia/Ho_Chi_Minh",
"Asia/Hong_Kong",
"Asia/Hovd",
"Asia/Irkutsk",
"Asia/Istanbul",
"Asia/Jakarta",
"Asia/Jayapura",
"Asia/Jerusalem",
"Asia/Kabul",
"Asia/Kamchatka",
"Asia/Karachi",
"Asia/Kashgar",
"Asia/Kathmandu",
"Asia/Katmandu",
"Asia/Khandyga",
"Asia/Kolkata",
"Asia/Krasnoyarsk",
"Asia/Kuala_Lumpur",
"Asia/Kuching",
"Asia/Kuwait",
"Asia/Macao",
"Asia/Macau",
"Asia/Magadan",
"Asia/Makassar",
"Asia/Manila",
"Asia/Muscat",
"Asia/Nicosia",
"Asia/Novokuznetsk",
"Asia/Novosibirsk",
"Asia/Omsk",
"Asia/Oral",
"Asia/Phnom_Penh",
"Asia/Pontianak",
"Asia/Pyongyang",
"Asia/Qatar",
"Asia/Qostanay",
"Asia/Qyzylorda",
"Asia/Rangoon",
"Asia/Riyadh",
"Asia/Saigon",
"Asia/Sakhalin",
"Asia/Samarkand",
"Asia/Seoul",
"Asia/Shanghai",
"Asia/Singapore",
"Asia/Srednekolymsk",
"Asia/Taipei",
"Asia/Tashkent",
"Asia/Tbilisi",
"Asia/Tehran",
"Asia/Tel_Aviv",
"Asia/Thimbu",
"Asia/Thimphu",
"Asia/Tokyo",
"Asia/Tomsk",
"Asia/Ujung_Pandang",
"Asia/Ulaanbaatar",
"Asia/Ulan_Bator",
"Asia/Urumqi",
"Asia/Ust-Nera",
"Asia/Vientiane",
"Asia/Vladivostok",
"Asia/Yakutsk",
"Asia/Yangon",
"Asia/Yekaterinburg",
"Asia/Yerevan",
"Atlantic/Azores",
"Atlantic/Bermuda",
"Atlantic/Canary",
"Atlantic/Cape_Verde",
"Atlantic/Faeroe",
"Atlantic/Faroe",
"Atlantic/Jan_Mayen",
"Atlantic/Madeira",
"Atlantic/Reykjavik",
"Atlantic/South_Georgia",
"Atlantic/St_Helena",
"Atlantic/Stanley",
"Australia/ACT",
"Australia/Adelaide",
"Australia/Brisbane",
"Australia/Broken_Hill",
"Australia/Canberra",
"Australia/Currie",
"Australia/Darwin",
"Australia/Eucla",
"Australia/Hobart",
"Australia/LHI",
"Australia/Lindeman",
"Australia/Lord_Howe",
"Australia/Melbourne",
"Australia/NSW",
"Australia/North",
"Australia/Perth",
"Australia/Queensland",
"Australia/South",
"Australia/Sydney",
"Australia/Tasmania",
"Australia/Victoria",
"Australia/West",
"Australia/Yancowinna",
"Brazil/Acre",
"Brazil/DeNoronha",
"Brazil/East",
"Brazil/West",
"CET",
"CST6CDT",
"Canada/Atlantic",
"Canada/Central",
"Canada/Eastern",
"Canada/Mountain",
"Canada/Newfoundland",
"Canada/Pacific",
"Canada/Saskatchewan",
"Canada/Yukon",
"Chile/Continental",
"Chile/EasterIsland",
"Cuba",
"EET",
"EST",
"EST5EDT",
"Egypt",
"Eire",
"Etc/GMT",
"Etc/GMT+0",
"Etc/GMT+1",
"Etc/GMT+10",
"Etc/GMT+11",
"Etc/GMT+12",
"Etc/GMT+2",
"Etc/GMT+3",
"Etc/GMT+4",
"Etc/GMT+5",
"Etc/GMT+6",
"Etc/GMT+7",
"Etc/GMT+8",
"Etc/GMT+9",
"Etc/GMT-0",
"Etc/GMT-1",
"Etc/GMT-10",
"Etc/GMT-11",
"Etc/GMT-12",
"Etc/GMT-13",
"Etc/GMT-14",
"Etc/GMT-2",
"Etc/GMT-3",
"Etc/GMT-4",
"Etc/GMT-5",
"Etc/GMT-6",
"Etc/GMT-7",
"Etc/GMT-8",
"Etc/GMT-9",
"Etc/GMT0",
"Etc/Greenwich",
"Etc/UCT",
"Etc/UTC",
"Etc/Universal",
"Etc/Zulu",
"Europe/Amsterdam",
"Europe/Andorra",
"Europe/Astrakhan",
"Europe/Athens",
"Europe/Belfast",
"Europe/Belgrade",
"Europe/Berlin",
"Europe/Bratislava",
"Europe/Brussels",
"Europe/Bucharest",
"Europe/Budapest",
"Europe/Busingen",
"Europe/Chisinau",
"Europe/Copenhagen",
"Europe/Dublin",
"Europe/Gibraltar",
"Europe/Guernsey",
"Europe/Helsinki",
"Europe/Isle_of_Man",
"Europe/Istanbul",
"Europe/Jersey",
"Europe/Kaliningrad",
"Europe/Kiev",
"Europe/Kirov",
"Europe/Kyiv",
"Europe/Lisbon",
"Europe/Ljubljana",
"Europe/London",
"Europe/Luxembourg",
"Europe/Madrid",
"Europe/Malta",
"Europe/Mariehamn",
"Europe/Minsk",
"Europe/Monaco",
"Europe/Moscow",
"Europe/Nicosia",
"Europe/Oslo",
"Europe/Paris",
"Europe/Podgorica",
"Europe/Prague",
"Europe/Riga",
"Europe/Rome",
"Europe/Samara",
"Europe/San_Marino",
"Europe/Sarajevo",
"Europe/Saratov",
"Europe/Simferopol",
"Europe/Skopje",
"Europe/Sofia",
"Europe/Stockholm",
"Europe/Tallinn",
"Europe/Tirane",
"Europe/Tiraspol",
"Europe/Ulyanovsk",
"Europe/Uzhgorod",
"Europe/Vaduz",
"Europe/Vatican",
"Europe/Vienna",
"Europe/Vilnius",
"Europe/Volgograd",
"Europe/Warsaw",
"Europe/Zagreb",
"Europe/Zaporozhye",
"Europe/Zurich",
"GB",
"GB-Eire",
"GMT",
"GMT+0",
"GMT-0",
"GMT0",
"Greenwich",
"HST",
"Hongkong",
"Iceland",
"Indian/Antananarivo",
"Indian/Chagos",
"Indian/Christmas",
"Indian/Cocos",
"Indian/Comoro",
"Indian/Kerguelen",
"Indian/Mahe",
"Indian/Maldives",
"Indian/Mauritius",
"Indian/Mayotte",
"Indian/Reunion",
"Iran",
"Israel",
"Jamaica",
"Japan",
"Kwajalein",
"Libya",
"MET",
"MST",
"MST7MDT",
"Mexico/BajaNorte",
"Mexico/BajaSur",
"Mexico/General",
"NZ",
"NZ-CHAT",
"Navajo",
"PRC",
"PST8PDT",
"Pacific/Apia",
"Pacific/Auckland",
"Pacific/Bougainville",
"Pacific/Chatham",
"Pacific/Chuuk",
"Pacific/Easter",
"Pacific/Efate",
"Pacific/Enderbury",
"Pacific/Fakaofo",
"Pacific/Fiji",
"Pacific/Funafuti",
"Pacific/Galapagos",
"Pacific/Gambier",
"Pacific/Guadalcanal",
"Pacific/Guam",
"Pacific/Honolulu",
"Pacific/Johnston",
"Pacific/Kanton",
"Pacific/Kiritimati",
"Pacific/Kosrae",
"Pacific/Kwajalein",
"Pacific/Majuro",
"Pacific/Marquesas",
"Pacific/Midway",
"Pacific/Nauru",
"Pacific/Niue",
"Pacific/Norfolk",
"Pacific/Noumea",
"Pacific/Pago_Pago",
"Pacific/Palau",
"Pacific/Pitcairn",
"Pacific/Pohnpei",
"Pacific/Ponape",
"Pacific/Port_Moresby",
"Pacific/Rarotonga",
"Pacific/Saipan",
"Pacific/Samoa",
"Pacific/Tahiti",
"Pacific/Tarawa",
"Pacific/Tongatapu",
"Pacific/Truk",
"Pacific/Wake",
"Pacific/Wallis",
"Pacific/Yap",
"Poland",
"Portugal",
"ROC",
"ROK",
"Singapore",
"Turkey",
"UCT",
"US/Alaska",
"US/Aleutian",
"US/Arizona",
"US/Central",
"US/East-Indiana",
"US/Eastern",
"US/Hawaii",
"US/Indiana-Starke",
"US/Michigan",
"US/Mountain",
"US/Pacific",
"US/Samoa",
"UTC",
"Universal",
"W-SU",
"WET",
"Zulu"
]
},
"end_time": {
"type": "string",
"format": "date-time",
"example": "2022-11-08T00:00:00+00:00",
"nullable": true
}
},
"required": [
"type",
"timezone"
]
},
"FormEngagement": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"form_engagement"
]
},
"properties": {
"$ref": "#/components/schemas/FormEngagementProperties"
}
},
"required": [
"type"
]
},
"FormEngagementLookback": {
"type": "object",
"properties": {
"value": {
"type": "integer"
},
"unit": {
"description": "Unit of a lookback window.",
"type": "string",
"enum": [
"days",
"hours",
"minutes"
]
}
},
"required": [
"value",
"unit"
]
},
"FormEngagementProperties": {
"type": "object",
"properties": {
"engagement": {
"description": "How the visitor engaged with another form.",
"type": "string",
"example": "viewed",
"default": "viewed",
"enum": [
"submitted",
"viewed"
]
},
"form_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"lookback": {
"$ref": "#/components/schemas/FormEngagementLookback",
"nullable": true
}
}
},
"FormEnum": {
"type": "string",
"enum": [
"form"
]
},
"GoToInbox": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"submit": {
"type": "boolean",
"example": true,
"default": true,
"enum": [
true
]
},
"type": {
"type": "string",
"enum": [
"go_to_inbox"
]
},
"properties": {
"enum": [
null
]
}
},
"required": [
"type"
]
},
"HTMLText": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"html_text"
]
},
"styles": {
"$ref": "#/components/schemas/HTMLTextStyles"
},
"properties": {
"$ref": "#/components/schemas/HTMLTextProperties"
}
},
"required": [
"type"
]
},
"HTMLTextProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"content": {
"default": "",
"type": "string"
}
}
},
"HTMLTextStyles": {
"type": "object",
"properties": {
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
}
}
},
"IafDeeplinkToScreen": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"submit": {
"type": "boolean",
"example": true,
"default": true,
"enum": [
true
]
},
"type": {
"type": "string",
"enum": [
"iaf_deeplink_to_screen"
]
},
"properties": {
"$ref": "#/components/schemas/IafDeeplinkToScreenProperties"
}
},
"required": [
"type",
"properties"
]
},
"IafDeeplinkToScreenProperties": {
"type": "object",
"properties": {
"deep_link_url": {
"type": "string",
"default": ""
},
"deep_link_url_ios": {
"type": "string",
"default": ""
},
"deep_link_url_android": {
"type": "string",
"default": ""
},
"use_separate_deep_link_urls": {
"type": "boolean",
"nullable": true
}
}
},
"IafOpenUrl": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"submit": {
"type": "boolean",
"example": true,
"default": true,
"enum": [
true
]
},
"type": {
"type": "string",
"enum": [
"iaf_open_url"
]
},
"properties": {
"$ref": "#/components/schemas/IafOpenUrlProperties"
}
},
"required": [
"type",
"properties"
]
},
"IafOpenUrlProperties": {
"type": "object",
"properties": {
"web_url": {
"type": "string",
"default": ""
}
}
},
"IdentifiedProfiles": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"properties": {
"$ref": "#/components/schemas/TriggerBaseProperties"
},
"type": {
"type": "string",
"enum": [
"identified_profiles"
]
}
},
"required": [
"type"
]
},
"Image": {
"type": "object",
"properties": {
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": [
"image"
]
},
"styles": {
"$ref": "#/components/schemas/ImageStyles"
},
"properties": {
"$ref": "#/components/schemas/ImageProperties"
},
"action": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/Close"
},
{
"$ref": "#/components/schemas/NextStep"
},
{
"$ref": "#/components/schemas/OpenForm"
},
{
"$ref": "#/components/schemas/PromotionalSMSSubscription"
},
{
"$ref": "#/components/schemas/Redirect"
},
{
"$ref": "#/components/schemas/ResendOptInCode"
},
{
"$ref": "#/components/schemas/SubmitOptInCode"
},
{
"$ref": "#/components/schemas/SubscribeViaSMS"
},
{
"$ref": "#/components/schemas/SubscribeViaWhatsApp"
},
{
"$ref": "#/components/schemas/GoToInbox"
},
{
"$ref": "#/components/schemas/SubmitBackInStock"
},
{
"$ref": "#/components/schemas/SkipToSuccess"
},
{
"$ref": "#/components/schemas/IafDeeplinkToScreen"
},
{
"$ref": "#/components/schemas/IafOpenUrl"
}
]
}
},
"required": [
"type",
"properties"
]
},
"ImageAssetProperties": {
"type": "object",
"properties": {
"src": {
"type": "string",
"nullable": true
},
"alt_text": {
"type": "string",
"nullable": true
},
"original_image_url": {
"type": "string",
"nullable": true
},
"id": {
"type": "integer",
"nullable": true
},
"asset_id": {
"type": "integer",
"nullable": true
}
}
},
"ImageDropShadowStyles": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"color": {
"type": "string",
"example": "#000000",
"default": "#000000"
},
"blur": {
"type": "integer",
"example": 15,
"default": 15
},
"x_offset": {
"type": "integer",
"default": 0
},
"y_offset": {
"type": "integer",
"default": 0
}
}
},
"ImageProperties": {
"type": "object",
"properties": {
"display_device": {
"type": "array",
"items": {
"type": "string",
"enum": [
"both",
"desktop",
"mobile"
],
"description": "Enumeration for mobile and desktop."
}
},
"classname": {
"type": "string",
"nullable": true
},
"block_animation": {
"$ref": "#/components/schemas/Animation",
"nullable": true
},
"image": {
"$ref": "#/components/schemas/ImageAssetProperties",
"nullable": true
},
"additional_fields": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AdditionalField"
},
"nullable": true
}
},
"required": [
"image"
]
},
"ImageStyles": {
"type": "object",
"properties": {
"horizontal_alignment": {
"description": "Horizontal alignment enumeration.",
"type": "string",
"example": "center",
"default": "center",
"enum": [
"center",
"left",
"right"
]
},
"width": {
"type": "integer",
"nullable": true
},
"padding": {
"$ref": "#/components/schemas/Padding"
},
"background_color": {
"type": "string",
"nullable": true
},
"drop_shadow": {
"$ref": "#/components/schemas/ImageDropShadowStyles"
}
}
},
"InAppAppOpenTrigger": {
"type": "object",
"properties": {
"type": {
"description": "The trigger type. Must be app_open.",
"type": "string",
"example": "app_open",
"enum": [
"app_open"
]
}
},
"required": [
"type"
]
},
"InAppButtonAction": {
"type": "object",
"properties": {
"type": {
"description": "The action to perform when the block is tapped.",
"type": "string",
"example": "close_form",
"enum": [
"close_form",
"deeplink_to_screen",
"open_url"
]
},
"deeplink_url": {
"description": "The deep link URL to navigate to on both platforms. Required when type is deeplink_to_screen, unless separate iOS and Android links are used.",
"type": "string",
"example": "myapp://screen/welcome",
"nullable": true
},
"deeplink_url_ios": {
"description": "The deep link URL to navigate to on iOS when separate iOS and Android links are used.",
"type": "string",
"example": "myapp://ios/screen/welcome",
"nullable": true
},
"deeplink_url_android": {
"description": "The deep link URL to navigate to on Android when separate iOS and Android links are used.",
"type": "string",
"example": "myapp://android/screen/welcome",
"nullable": true
},
"use_separate_deeplink_urls": {
"description": "Whether to use separate iOS and Android deep links instead of deeplink_url. If null, separate links are used when either platform link is set.",
"type": "boolean",
"example": true,
"nullable": true
},
"web_url": {
"description": "External destination for open_url. Supports http, https, mailto, tel, and sms.",
"type": "string",
"example": "https://example.com",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type"
]
},
"InAppButtonBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be button.",
"type": "string",
"example": "button",
"enum": [
"button"
]
},
"label": {
"description": "The text label displayed on the button.",
"type": "string",
"example": "Continue"
},
"action": {
"description": "The action to perform when the button is clicked.",
"$ref": "#/components/schemas/InAppButtonAction"
},
"styles": {
"description": "Optional styling for the button block.",
"$ref": "#/components/schemas/InAppButtonBlockStyles",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type",
"label",
"action"
]
},
"InAppButtonBlockStyles": {
"type": "object",
"properties": {
"background_color": {
"description": "Background color of the block in hex or rgba format.",
"type": "string",
"example": "#FFFFFF",
"nullable": true
},
"padding": {
"description": "Spacing around the button within its block, in pixels by edge.",
"$ref": "#/components/schemas/Padding",
"nullable": true
},
"inner_padding": {
"description": "Padding inside the button, in pixels by edge. When provided, height is automatic.",
"$ref": "#/components/schemas/Padding",
"nullable": true
},
"text_styles": {
"description": "Text styling for the button label.",
"$ref": "#/components/schemas/TextStyle",
"nullable": true
},
"color": {
"description": "Background color of the button itself in hex or rgba format.",
"type": "string",
"example": "#000000",
"nullable": true
},
"height": {
"description": "Height of the button in pixels, or auto to fit its content.",
"example": 50,
"nullable": true,
"oneOf": [
{
"type": "integer"
},
{
"enum": [
"auto"
],
"type": "string"
}
]
},
"width": {
"description": "Whether the button fills its container or fits its label.",
"type": "string",
"example": "fill",
"enum": [
"fill",
"fit"
],
"nullable": true
},
"border_styles": {
"description": "Border and corner radius of the button.",
"$ref": "#/components/schemas/BorderStyle",
"nullable": true
},
"alignment": {
"description": "Horizontal alignment of the button.",
"type": "string",
"enum": [
"center",
"left",
"right"
],
"nullable": true
},
"drop_shadow": {
"description": "Drop shadow configuration for the button.",
"$ref": "#/components/schemas/ButtonDropShadowStyles",
"nullable": true
}
}
},
"InAppColumn": {
"type": "object",
"properties": {
"rows": {
"description": "The rows in this column, rendered top to bottom.",
"type": "array",
"items": {
"$ref": "#/components/schemas/InAppRow"
}
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"rows"
]
},
"InAppCountdownTimerBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be countdown_timer.",
"type": "string",
"enum": [
"countdown_timer"
]
},
"configuration": {
"description": "The timer's fixed end time or duration.",
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/FixedTimerConfiguration"
},
{
"$ref": "#/components/schemas/VariableTimerConfiguration"
}
]
},
"clock_face": {
"description": "The clock face style.",
"type": "string",
"example": "simple",
"default": "simple",
"enum": [
"flip",
"simple"
]
},
"animation": {
"description": "The timer animation, or null for no animation.",
"type": "string",
"example": "heartbeat",
"default": "heartbeat",
"enum": [
"flash",
"heartbeat",
"pulse"
],
"nullable": true
},
"label_format": {
"description": "The format of the timer's unit labels.",
"type": "string",
"enum": [
"double_char",
"full",
"shortened",
"single_char"
],
"nullable": true
},
"styles": {
"description": "Styling for the countdown timer.",
"$ref": "#/components/schemas/CountdownTimerStyles",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type"
]
},
"InAppCouponBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be coupon.",
"type": "string",
"enum": [
"coupon"
]
},
"coupon": {
"description": "The static coupon code.",
"$ref": "#/components/schemas/StaticCouponConfig"
},
"success_message": {
"description": "Message displayed after copying the code.",
"type": "string",
"nullable": true
},
"styles": {
"description": "Styling for the coupon block.",
"$ref": "#/components/schemas/CouponStyles",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type",
"coupon"
]
},
"InAppCustomHTMLBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be custom_html.",
"type": "string",
"enum": [
"custom_html"
]
},
"content": {
"description": "The block's HTML content.",
"type": "string"
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type",
"content"
]
},
"InAppFormDefinition": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"in-app"
]
},
"versions": {
"description": "The form's versions.",
"type": "array",
"items": {
"$ref": "#/components/schemas/InAppFormVersion"
}
}
},
"required": [
"type",
"versions"
]
},
"InAppFormStyles": {
"type": "object",
"properties": {
"width": {
"description": "Width preset for the form. Full width is only supported for flyouts.",
"type": "string",
"enum": [
"custom",
"full",
"large",
"medium",
"small"
],
"nullable": true
},
"custom_width": {
"description": "Width in pixels, required when width is custom.",
"type": "integer",
"nullable": true
},
"minimum_height": {
"description": "Minimum height of the form in pixels.",
"type": "integer",
"example": 400,
"nullable": true
},
"background_color": {
"description": "Background color of the form in hex or rgba format.",
"type": "string",
"example": "#FFFFFF",
"nullable": true
},
"background_image": {
"description": "Background image asset and layout styles for the form.",
"$ref": "#/components/schemas/BackgroundImage",
"nullable": true
},
"overlay_color": {
"description": "Color of the overlay behind the form in rgba format.",
"type": "string",
"example": "rgba(20,20,20,0.6)",
"nullable": true
},
"drop_shadow": {
"description": "Drop shadow configuration for the form container.",
"$ref": "#/components/schemas/DropShadow",
"nullable": true
},
"border_styles": {
"description": "Border and corner radius of the form container.",
"$ref": "#/components/schemas/BorderStyle",
"nullable": true
},
"padding": {
"description": "Inner padding of the form in pixels, by edge.",
"$ref": "#/components/schemas/Padding",
"nullable": true
},
"margin": {
"description": "Outer margin of the form in pixels, by edge.",
"$ref": "#/components/schemas/Margin",
"nullable": true
},
"close_button": {
"description": "Styling for the form's close button.",
"$ref": "#/components/schemas/CloseButtonStyle",
"nullable": true
},
"custom_css": {
"description": "Custom CSS for the form.",
"$ref": "#/components/schemas/CustomCss",
"nullable": true
}
}
},
"InAppFormVersion": {
"type": "object",
"properties": {
"form_type": {
"description": "The visual layout type for the In-App form.",
"type": "string",
"example": "popup",
"enum": [
"flyout",
"fullscreen",
"popup"
]
},
"triggers": {
"description": "Configuration for when and how often to display the form.",
"$ref": "#/components/schemas/InAppTriggers"
},
"steps": {
"description": "The steps in this version.",
"type": "array",
"items": {
"$ref": "#/components/schemas/InAppStep"
}
},
"location": {
"description": "Screen position, required for flyouts and omitted for other layouts.",
"type": "string",
"enum": [
"bottom_center",
"top_center"
],
"nullable": true
},
"targeting": {
"description": "Optional audience targeting for this version. Omit to show the form to all mobile app profiles.",
"$ref": "#/components/schemas/ListsAndSegmentsProperties",
"nullable": true
},
"styles": {
"description": "Optional visual styling for the form container. If omitted, defaults are applied.",
"$ref": "#/components/schemas/InAppFormStyles",
"nullable": true
},
"ab_test": {
"description": "Whether this version is part of an A/B test.",
"type": "boolean",
"default": false
},
"name": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "integer",
"nullable": true
},
"status": {
"description": "Not allowed on create.",
"type": "string",
"example": "draft",
"default": "draft",
"enum": [
"draft",
"live"
]
}
},
"required": [
"form_type",
"triggers",
"steps"
]
},
"InAppImageBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be image.",
"type": "string",
"example": "image",
"enum": [
"image"
]
},
"image": {
"description": "The image asset. Provide 'src' for a URL or 'asset_id' for a Klaviyo image library asset.",
"$ref": "#/components/schemas/ImageAssetProperties",
"nullable": true
},
"styles": {
"description": "Optional styling for the image block.",
"$ref": "#/components/schemas/ImageStyles",
"nullable": true
},
"action": {
"description": "Optional action when the image is tapped.",
"$ref": "#/components/schemas/InAppButtonAction",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type"
]
},
"InAppPerformedEventTrigger": {
"type": "object",
"properties": {
"type": {
"description": "The trigger type. Must be performed_event.",
"type": "string",
"example": "performed_event",
"enum": [
"performed_event"
]
},
"event_name": {
"description": "The event name to listen for.",
"type": "string",
"example": "Added to Cart"
},
"property_filters": {
"description": "Optional event property equality filter. At most one is supported.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PropertyFilter"
},
"nullable": true
}
},
"required": [
"type",
"event_name"
]
},
"InAppPushNotificationOpenTrigger": {
"type": "object",
"properties": {
"type": {
"description": "The trigger type. Must be push_notification_open.",
"type": "string",
"example": "push_notification_open",
"enum": [
"push_notification_open"
]
},
"message_title": {
"description": "The push notification message title to match.",
"type": "string",
"example": "Welcome to our app!"
}
},
"required": [
"type",
"message_title"
]
},
"InAppReviewBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be review.",
"type": "string",
"enum": [
"review"
]
},
"properties": {
"description": "Review snapshot and display options. The review ID is metadata, not a lookup.",
"$ref": "#/components/schemas/ReviewProperties"
},
"styles": {
"description": "Styling for the review block.",
"$ref": "#/components/schemas/ReviewStyles",
"nullable": true
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"type",
"properties"
]
},
"InAppRow": {
"type": "object",
"properties": {
"blocks": {
"description": "The content blocks in this row, rendered side by side.",
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/InAppTextBlock"
},
{
"$ref": "#/components/schemas/InAppImageBlock"
},
{
"$ref": "#/components/schemas/InAppButtonBlock"
},
{
"$ref": "#/components/schemas/InAppCouponBlock"
},
{
"$ref": "#/components/schemas/InAppCountdownTimerBlock"
},
{
"$ref": "#/components/schemas/InAppReviewBlock"
},
{
"$ref": "#/components/schemas/InAppCustomHTMLBlock"
}
]
}
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"blocks"
]
},
"InAppStep": {
"type": "object",
"properties": {
"columns": {
"description": "The columns in this step.",
"type": "array",
"items": {
"$ref": "#/components/schemas/InAppColumn"
}
},
"id": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
},
"name": {
"description": "Not allowed on create.",
"type": "string",
"nullable": true
}
},
"required": [
"columns"
]
},
"InAppTextBlock": {
"type": "object",
"properties": {
"type": {
"description": "The block type. Must be text.",
"type": "string",
"example": "text",
"enum": [
"text"
]
},
"content": {
"description": "The text content to display. Supports basic HTML formatting.",
"example": "
Welcome to our app!
", "type": "string" }, "styles": { "description": "Optional styling for the text block.", "$ref": "#/components/schemas/HTMLTextStyles", "nullable": true }, "id": { "description": "Not allowed on create.", "type": "string", "nullable": true } }, "required": [ "type", "content" ] }, "InAppTriggers": { "type": "object", "properties": { "display_trigger": { "description": "The trigger that causes the form to display.", "oneOf": [ { "$ref": "#/components/schemas/InAppAppOpenTrigger" }, { "$ref": "#/components/schemas/InAppPerformedEventTrigger" }, { "$ref": "#/components/schemas/InAppPushNotificationOpenTrigger" } ] }, "delay_seconds": { "description": "Seconds to wait after the display trigger, up to 86400, or null for no delay.", "type": "integer", "example": 5, "default": 0, "nullable": true }, "timeout_days": { "description": "Minimum number of days between showing the form to the same user, or null for no minimum.", "type": "integer", "example": 7, "default": 7, "nullable": true }, "suppress_after_dismiss": { "description": "Whether to stop showing the form to a user after they dismiss it.", "type": "boolean", "example": true, "default": true } }, "required": [ "display_trigger" ] }, "InputStyleOverrides": { "type": "object", "properties": { "enabled": { "type": "boolean", "default": false }, "input_text_styles": { "$ref": "#/components/schemas/TextStyleOverrides", "nullable": true }, "label_text_styles": { "$ref": "#/components/schemas/TextStyleOverrides", "nullable": true }, "placeholder_text_styles": { "$ref": "#/components/schemas/TextStyleOverrides", "nullable": true }, "background_color": { "type": "string", "nullable": true }, "border_color": { "type": "string", "nullable": true }, "border_focus_color": { "type": "string", "nullable": true }, "focus_outline_color": { "type": "string", "nullable": true }, "corner_radius": { "type": "integer", "nullable": true }, "field_height": { "type": "integer", "nullable": true } } }, "InputStyles": { "type": "object", "properties": { "text_styles": { "$ref": "#/components/schemas/TextStyle" }, "label_color": { "type": "string", "example": "#303B43", "default": "#303B43" }, "text_color": { "type": "string", "example": "#000000", "default": "#000000" }, "placeholder_color": { "type": "string", "example": "#949596", "default": "#949596" }, "background_color": { "type": "string", "example": "#FFFFFF", "default": "#FFFFFF" }, "border_color": { "type": "string", "example": "#949596", "default": "#949596" }, "border_focus_color": { "type": "string", "example": "#000000", "default": "#000000" }, "focus_outline_color": { "type": "string", "example": "#1C65AD", "default": "#1C65AD" }, "corner_radius": { "type": "integer", "example": 2, "default": 2 }, "field_height": { "type": "integer", "example": 38, "default": 38 } } }, "LinkStyles": { "type": "object", "properties": { "color": { "type": "string", "example": "#0066cc", "default": "#0066cc" }, "decoration": { "type": "string", "example": "underline", "default": "underline", "enum": [ "underline" ] } } }, "ListsAndSegments": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "lists_and_segments" ] }, "properties": { "$ref": "#/components/schemas/ListsAndSegmentsProperties" } }, "required": [ "type", "properties" ] }, "ListsAndSegmentsProperties": { "type": "object", "properties": { "allow_list": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deny_list": { "type": "array", "items": { "type": "string" }, "nullable": true } } }, "Location": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "location" ] }, "properties": { "$ref": "#/components/schemas/LocationProperties" } }, "required": [ "type", "properties" ] }, "LocationProperties": { "type": "object", "properties": { "allow_list": { "type": "array", "items": { "oneOf": [ { "type": "string", "enum": [ "con_AF", "con_AS", "con_EU", "con_EUP", "con_NA", "con_OC", "con_SA" ], "description": "Geographic Regions." }, { "type": "string", "enum": [ "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BM", "BN", "BO", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "ST", "SV", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW" ], "description": "Geographic Country - ISO 3166-1 alpha-2 country codes." } ] }, "nullable": true }, "deny_list": { "type": "array", "items": { "oneOf": [ { "type": "string", "enum": [ "con_AF", "con_AS", "con_EU", "con_EUP", "con_NA", "con_OC", "con_SA" ], "description": "Geographic Regions." }, { "type": "string", "enum": [ "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BM", "BN", "BO", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "ST", "SV", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW" ], "description": "Geographic Country - ISO 3166-1 alpha-2 country codes." } ] }, "nullable": true } } }, "Margin": { "type": "object", "properties": { "left": { "type": "integer", "default": 0 }, "right": { "type": "integer", "default": 0 }, "top": { "type": "integer", "default": 0 }, "bottom": { "type": "integer", "default": 0 } } }, "MarketingTrackingConsentCheckbox": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "marketing_tracking_consent_checkbox" ] }, "styles": { "$ref": "#/components/schemas/MarketingTrackingConsentCheckboxStyles" }, "properties": { "$ref": "#/components/schemas/MarketingTrackingConsentCheckboxProperties" } }, "required": [ "type", "properties" ] }, "MarketingTrackingConsentCheckboxProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "label": { "type": "string", "nullable": true }, "show_label": { "type": "boolean", "default": false }, "error_messages": { "$ref": "#/components/schemas/ErrorMessages", "nullable": true }, "required": { "type": "boolean", "default": false, "enum": [ false ] }, "property_name": { "type": "string", "example": "opt_in_marketing_tracking_consent", "default": "opt_in_marketing_tracking_consent", "enum": [ "opt_in_marketing_tracking_consent" ] }, "placeholder": { "enum": [ null ] }, "marketing_tracking_consent": { "$ref": "#/components/schemas/MarketingTrackingConsentConfiguration" } }, "required": [ "marketing_tracking_consent" ] }, "MarketingTrackingConsentCheckboxStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyleOverrides", "nullable": true }, "horizontal_alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "left", "default": "left", "enum": [ "center", "left", "right" ] } } }, "MarketingTrackingConsentConfiguration": { "type": "object", "properties": { "selected_model": { "description": "Supported marketing and email-tracking consent models.", "type": "string", "enum": [ "ALL_TRACKING_COMBINED_CONSENT", "CLICK_TRACKING_COMBINED_CONSENT", "MARKETING_AND_ALL_EMAIL_TRACKING", "MARKETING_AND_CLICK_TRACKING", "MARKETING_AND_OPEN_TRACKING", "MARKETING_OPEN_AND_CLICK_TRACKING", "OPEN_TRACKING_COMBINED_CONSENT" ] }, "content_by_model": { "type": "object" } }, "required": [ "selected_model", "content_by_model" ] }, "MobileOverlay": { "type": "object", "properties": { "color": { "type": "string", "example": "rgba(20, 20, 20, 0.5)", "default": "rgba(20, 20, 20, 0.5)", "nullable": true }, "enabled": { "type": "boolean", "default": false, "enum": [ false ] } } }, "NextStep": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean" }, "type": { "type": "string", "enum": [ "next_step" ] }, "properties": { "$ref": "#/components/schemas/NextStepProperties", "nullable": true } }, "required": [ "submit", "type" ] }, "NextStepProperties": { "type": "object", "properties": { "list_id": { "type": "string", "nullable": true } } }, "ObjectLinks": { "type": "object", "properties": { "self": { "type": "string", "format": "uri" } }, "required": [ "self" ] }, "OpenForm": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "open_form" ] }, "submit": { "type": "boolean", "example": true, "default": true, "enum": [ true ] }, "properties": { "$ref": "#/components/schemas/OpenFormProperties" } }, "required": [ "type", "properties" ] }, "OpenFormProperties": { "type": "object", "properties": { "close_form": { "type": "boolean", "example": true, "default": true }, "form_id_to_open": { "type": "string" } }, "required": [ "form_id_to_open" ] }, "OptInCode": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "opt_in_code" ] }, "styles": { "$ref": "#/components/schemas/OptInCodeStyles" }, "properties": { "$ref": "#/components/schemas/OptInCodeProperties" } }, "required": [ "type", "properties" ] }, "OptInCodeProperties": { "type": "object", "properties": { "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "label": { "type": "string", "nullable": true }, "show_label": { "type": "boolean", "default": false }, "placeholder": { "type": "string", "nullable": true }, "error_messages": { "$ref": "#/components/schemas/ErrorMessages", "nullable": true }, "property_name": { "type": "string", "example": "opt_in_code", "default": "opt_in_code", "enum": [ "opt_in_code" ] }, "required": { "type": "boolean", "example": true, "default": true, "enum": [ true ] }, "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } } } }, "OptInCodeStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyleOverrides", "nullable": true } } }, "Padding": { "type": "object", "properties": { "left": { "type": "integer", "default": 0 }, "right": { "type": "integer", "default": 0 }, "top": { "type": "integer", "default": 0 }, "bottom": { "type": "integer", "default": 0 } } }, "PageVisits": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "page_visits" ] }, "properties": { "$ref": "#/components/schemas/PageVisitsProperties" } }, "required": [ "type" ] }, "PageVisitsProperties": { "type": "object", "properties": { "pages": { "type": "integer", "example": 3, "default": 3 } } }, "PatchPolymorphicFormResponse": { "type": "object", "properties": { "data": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/FormEnum" }, "id": { "description": "The form's unique identifier.", "type": "string" }, "attributes": { "type": "object", "properties": { "status": { "description": "The form's status.", "type": "string", "enum": [ "draft", "live" ] }, "ab_test": { "description": "Whether the form has an A/B test configured.", "type": "boolean" }, "name": { "description": "The form's name.", "type": "string" }, "created_at": { "description": "The form's creation timestamp.", "type": "string", "format": "date-time", "example": "2022-11-08T00:00:00+00:00" }, "updated_at": { "description": "The form's last update timestamp.", "type": "string", "format": "date-time", "example": "2022-11-08T00:00:00+00:00" }, "definition": { "description": "The form's definition.", "oneOf": [ { "$ref": "#/components/schemas/WebFormDefinition" }, { "$ref": "#/components/schemas/InAppFormDefinition" } ] } }, "required": [ "status", "ab_test", "name", "created_at", "updated_at", "definition" ] }, "links": { "$ref": "#/components/schemas/ObjectLinks" } }, "required": [ "type", "id", "attributes", "links" ] }, "links": { "$ref": "#/components/schemas/ObjectLinks" }, "meta": { "$ref": "#/components/schemas/ResponseMeta" } }, "required": [ "data" ] }, "PhoneNumber": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "phone_number" ] }, "styles": { "$ref": "#/components/schemas/PhoneNumberStyles" }, "properties": { "$ref": "#/components/schemas/PhoneNumberProperties" } }, "required": [ "type", "properties" ] }, "PhoneNumberConsentChannelSettings": { "type": "object", "properties": { "consent_type": { "description": "Consent Type Enum.", "type": "string", "enum": [ "phone_number_only", "promotional", "transactional" ], "nullable": true } } }, "PhoneNumberProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "label": { "type": "string", "nullable": true }, "show_label": { "type": "boolean", "default": false }, "placeholder": { "type": "string", "nullable": true }, "required": { "type": "boolean", "default": false, "nullable": true }, "error_messages": { "$ref": "#/components/schemas/ErrorMessages", "nullable": true }, "property_name": { "type": "string", "example": "$phone_number", "default": "$phone_number" }, "sms_consent_type": { "type": "array", "items": { "type": "string", "enum": [ "phone_number_only", "promotional", "transactional" ], "description": "Consent Type Enum." }, "nullable": true }, "channel_settings": { "$ref": "#/components/schemas/ChannelSettings", "nullable": true } } }, "PhoneNumberStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyleOverrides", "nullable": true } } }, "PolymorphicFormPartialUpdateQuery": { "type": "object", "properties": { "data": { "$ref": "#/components/schemas/PolymorphicFormPartialUpdateQueryResourceObject" } }, "required": [ "data" ] }, "PolymorphicFormPartialUpdateQueryResourceObject": { "type": "object", "properties": { "type": { "$ref": "#/components/schemas/FormEnum" }, "id": { "description": "The ID of the form.", "type": "string", "example": "Y6nRLr" }, "attributes": { "type": "object", "properties": { "definition": { "description": "The complete form definition, which replaces the editable definition. Its type and version IDs cannot change. This field cannot be null.", "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/WebFormDefinition" }, { "$ref": "#/components/schemas/InAppFormDefinition" } ] }, "name": { "description": "The name of the form. This field cannot be null.", "type": "string", "example": "Cyber Monday Deals", "nullable": true } } } }, "required": [ "type", "id", "attributes" ] }, "PreviouslySubmitted": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "properties": { "$ref": "#/components/schemas/TriggerBaseProperties" }, "type": { "type": "string", "enum": [ "previously_submitted" ] } }, "required": [ "type" ] }, "ProfileEventTracked": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "profile_event_tracked" ] }, "properties": { "$ref": "#/components/schemas/ProfileEventTrackedProperties" } }, "required": [ "type", "properties" ] }, "ProfileEventTrackedProperties": { "type": "object", "properties": { "metric": { "type": "string", "default": "", "nullable": true }, "property_filters": { "type": "array", "items": { "$ref": "#/components/schemas/PropertyFilter" }, "nullable": true }, "delay_seconds": { "type": "integer", "nullable": true } } }, "PromotionalSMSSubscription": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean", "example": true, "default": true, "enum": [ true ] }, "type": { "type": "string", "enum": [ "promotional_sms_subscription" ] }, "properties": { "enum": [ null ] } }, "required": [ "type" ] }, "PropertyFilter": { "type": "object", "properties": { "property": { "type": "string" }, "value": { "type": "string" } }, "required": [ "property", "value" ] }, "PropertyOption": { "type": "object", "properties": { "label": { "type": "string" }, "value": { "type": "string" } }, "required": [ "label", "value" ] }, "QuoteStyle": { "type": "object", "properties": { "font_family": { "type": "string", "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif" }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "text_color": { "type": "string", "example": "#000000", "default": "#000000" }, "character_spacing": { "type": "integer", "default": 0 }, "font_weight": { "type": "integer", "example": 400, "default": 400 }, "font_style": { "type": "string", "nullable": true }, "text_decoration": { "type": "string", "nullable": true }, "alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "center", "default": "center", "enum": [ "center", "left", "right" ] }, "line_height": { "type": "number", "example": 1.5, "default": 1.5 } } }, "RadioButtons": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "radio_buttons" ] }, "styles": { "$ref": "#/components/schemas/RadioButtonsStyles" }, "properties": { "$ref": "#/components/schemas/RadioButtonsProperties" } }, "required": [ "type", "properties" ] }, "RadioButtonsProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "property_name": { "type": "string" }, "label": { "type": "string", "nullable": true }, "show_label": { "type": "boolean", "default": false }, "required": { "type": "boolean", "default": false, "nullable": true }, "error_messages": { "$ref": "#/components/schemas/ErrorMessages", "nullable": true }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/PropertyOption" } }, "placeholder": { "type": "string", "nullable": true } }, "required": [ "property_name", "options" ] }, "RadioButtonsStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyleOverrides", "nullable": true }, "arrangement": { "description": "Arrangement enumeration.", "type": "string", "example": "vertical", "default": "vertical", "enum": [ "horizontal", "vertical" ] }, "alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "left", "default": "left", "enum": [ "center", "left", "right" ] } } }, "RatingStyle": { "type": "object", "properties": { "color": { "type": "string", "example": "#F8BE00", "default": "#F8BE00" }, "empty_color": { "type": "string", "example": "#EBEEEF", "default": "#EBEEEF" }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "shape": { "description": "Enumeration for review shapes.", "type": "string", "example": "star", "default": "star", "enum": [ "circle", "heart", "star" ] }, "alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "center", "default": "center", "enum": [ "center", "left", "right" ] }, "character_spacing": { "type": "number", "default": 0 } } }, "Redirect": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean" }, "type": { "type": "string", "enum": [ "redirect" ] }, "properties": { "$ref": "#/components/schemas/RedirectProperties" } }, "required": [ "submit", "type", "properties" ] }, "RedirectProperties": { "type": "object", "properties": { "list_id": { "type": "string", "nullable": true }, "url": { "type": "string", "default": "" }, "new_window": { "type": "boolean", "default": false } } }, "ResendOptInCode": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean", "default": false, "enum": [ false ] }, "type": { "type": "string", "enum": [ "resend_opt_in_code" ] }, "properties": { "enum": [ null ] } }, "required": [ "type" ] }, "ResponseMeta": { "description": "Response-level metadata", "type": "object", "properties": { "agent_hints": { "$ref": "#/components/schemas/AgentHints" } } }, "Review": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "review" ] }, "styles": { "$ref": "#/components/schemas/ReviewStyles" }, "properties": { "$ref": "#/components/schemas/ReviewProperties" } }, "required": [ "type", "properties" ] }, "ReviewProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "author": { "type": "string", "nullable": true }, "content": { "nullable": true, "type": "string" }, "rating": { "type": "integer", "example": 5, "default": 5 }, "verified": { "type": "boolean", "default": false }, "review_id": { "type": "integer", "nullable": true }, "show_rating": { "type": "boolean", "example": true, "default": true }, "show_author": { "type": "boolean", "example": true, "default": true }, "show_verified": { "type": "boolean", "example": true, "default": true } } }, "ReviewStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "rating_style": { "$ref": "#/components/schemas/RatingStyle" }, "quote_style": { "$ref": "#/components/schemas/QuoteStyle" }, "reviewer_name_style": { "$ref": "#/components/schemas/ReviewerNameStyle" }, "verified_badge_style": { "$ref": "#/components/schemas/VerifiedBadgeStyle", "nullable": true }, "block_background_color": { "type": "string", "example": "rgba(255, 255, 255, 0)", "default": "rgba(255, 255, 255, 0)" } } }, "ReviewerNameStyle": { "type": "object", "properties": { "layout": { "description": "Enumeration for review name layouts.", "type": "string", "example": "stacked", "default": "stacked", "enum": [ "inline", "stacked" ] }, "font_family": { "type": "string", "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif" }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "text_color": { "type": "string", "example": "#000000", "default": "#000000" }, "character_spacing": { "type": "integer", "default": 0 }, "font_weight": { "type": "integer", "example": 400, "default": 400 }, "font_style": { "type": "string", "nullable": true }, "text_decoration": { "type": "string", "nullable": true }, "alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "center", "default": "center", "enum": [ "center", "left", "right" ] }, "line_height": { "type": "number", "example": 1.5, "default": 1.5 } } }, "RichTextMargin": { "type": "object", "properties": { "left": { "type": "integer", "default": 0, "enum": [ 0 ] }, "right": { "type": "integer", "default": 0, "enum": [ 0 ] }, "top": { "type": "integer", "default": 0, "enum": [ 0 ] }, "bottom": { "type": "integer", "default": 0 } } }, "RichTextStyle": { "type": "object", "properties": { "font_family": { "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "oneOf": [ { "type": "string", "enum": [ "Arial Black,Arial", "Arial, 'Helvetica Neue', Helvetica, sans-serif", "Century Gothic,AppleGothic,Arial", "Comic Sans MS,Comic Sans,cursive", "Courier", "Courier New", "Geneva,Arial", "Georgia", "Helvetica,Arial", "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "MS Serif,Georgia", "New York,Georgia", "Palatino Linotype,Palatino,Georgia", "Palatino,Georgia", "Tahoma,sans-serif", "Times New Roman", "Trebuchet MS", "Verdana" ], "description": "Web safe font enumeration." }, { "type": "string" } ] }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "font_weight": { "description": "Font weight enumeration.", "type": "integer", "example": 400, "default": 400, "enum": [ 100, 200, 300, 400, 500, 600, 700, 800, 900 ], "nullable": true }, "text_color": { "type": "string", "example": "#000000", "default": "#000000" }, "font_style": { "type": "string", "nullable": true }, "text_decoration": { "type": "string", "nullable": true }, "line_spacing": { "type": "number", "example": 1, "default": 1 }, "character_spacing": { "type": "integer", "default": 0, "nullable": true }, "alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "left", "default": "left", "enum": [ "center", "left", "right" ] }, "margin": { "$ref": "#/components/schemas/RichTextMargin" } } }, "RichTextStyles": { "type": "object", "properties": { "body": { "$ref": "#/components/schemas/RichTextStyle" }, "link": { "$ref": "#/components/schemas/LinkStyles" }, "h1": { "$ref": "#/components/schemas/RichTextStyle" }, "h2": { "$ref": "#/components/schemas/RichTextStyle" }, "h3": { "$ref": "#/components/schemas/RichTextStyle" }, "h4": { "$ref": "#/components/schemas/RichTextStyle" }, "h5": { "$ref": "#/components/schemas/RichTextStyle" }, "h6": { "$ref": "#/components/schemas/RichTextStyle" } } }, "Row": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "blocks": { "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/Button" }, { "$ref": "#/components/schemas/AgeGate" }, { "$ref": "#/components/schemas/Coupon" }, { "$ref": "#/components/schemas/Date" }, { "$ref": "#/components/schemas/Email" }, { "$ref": "#/components/schemas/HTMLText" }, { "$ref": "#/components/schemas/OptInCode" }, { "$ref": "#/components/schemas/PhoneNumber" }, { "$ref": "#/components/schemas/SMSConsentCheckbox" }, { "$ref": "#/components/schemas/Text" }, { "$ref": "#/components/schemas/Checkboxes" }, { "$ref": "#/components/schemas/RadioButtons" }, { "$ref": "#/components/schemas/Dropdown" }, { "$ref": "#/components/schemas/Image" }, { "$ref": "#/components/schemas/CountdownTimer" }, { "$ref": "#/components/schemas/SignupCounter" }, { "$ref": "#/components/schemas/SpinToWin" }, { "$ref": "#/components/schemas/SMSDisclosure" }, { "$ref": "#/components/schemas/BackInStockEmailConsentCheckbox" }, { "$ref": "#/components/schemas/Review" }, { "$ref": "#/components/schemas/CustomHTML" }, { "$ref": "#/components/schemas/ContinueWithShop" }, { "$ref": "#/components/schemas/MarketingTrackingConsentCheckbox" }, { "$ref": "#/components/schemas/ScratchCard" } ] } } }, "required": [ "blocks" ] }, "SMSConsentCheckbox": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "promotional_sms_checkbox" ] }, "styles": { "$ref": "#/components/schemas/SMSConsentCheckboxStyles" }, "properties": { "$ref": "#/components/schemas/SMSConsentCheckboxProperties" } }, "required": [ "type", "properties" ] }, "SMSConsentCheckboxProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "label": { "type": "string", "nullable": true }, "show_label": { "type": "boolean", "default": false }, "error_messages": { "$ref": "#/components/schemas/ErrorMessages", "nullable": true }, "required": { "type": "boolean", "default": false, "enum": [ false ] }, "property_name": { "type": "string", "example": "opt_in_promotional_sms", "default": "opt_in_promotional_sms", "enum": [ "opt_in_promotional_sms" ] }, "checkbox_text": { "type": "string" }, "placeholder": { "enum": [ null ] }, "channels": { "type": "array", "items": { "type": "string", "enum": [ "sms", "whatsapp" ], "description": "Consent channel enumeration." } } }, "required": [ "checkbox_text" ] }, "SMSConsentCheckboxStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyleOverrides", "nullable": true }, "horizontal_alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "left", "default": "left", "enum": [ "center", "left", "right" ] } } }, "SMSDisclosure": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "sms_disclosure" ] }, "styles": { "$ref": "#/components/schemas/SMSDisclosureStyles" }, "properties": { "$ref": "#/components/schemas/SMSDisclosureProperties" } }, "required": [ "type" ] }, "SMSDisclosureAccountDefault": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "account_default" ] }, "html": { "nullable": true } }, "required": [ "type" ] }, "SMSDisclosureCustom": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "custom" ] }, "compliance_company_name": { "type": "string", "example": "[company name]", "default": "[company name]" }, "privacy_policy_url": { "type": "string", "example": "[link]", "default": "[link]" }, "terms_of_service_url": { "type": "string", "example": "[link]", "default": "[link]" }, "html": { "type": "string", "default": "" } }, "required": [ "type" ] }, "SMSDisclosureLinkTextStyle": { "type": "object", "properties": { "font_family": { "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "oneOf": [ { "type": "string", "enum": [ "Arial Black,Arial", "Arial, 'Helvetica Neue', Helvetica, sans-serif", "Century Gothic,AppleGothic,Arial", "Comic Sans MS,Comic Sans,cursive", "Courier", "Courier New", "Geneva,Arial", "Georgia", "Helvetica,Arial", "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "MS Serif,Georgia", "New York,Georgia", "Palatino Linotype,Palatino,Georgia", "Palatino,Georgia", "Tahoma,sans-serif", "Times New Roman", "Trebuchet MS", "Verdana" ], "description": "Web safe font enumeration." }, { "type": "string" } ] }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "font_weight": { "description": "Font weight enumeration.", "type": "integer", "example": 400, "default": 400, "enum": [ 100, 200, 300, 400, 500, 600, 700, 800, 900 ], "nullable": true }, "character_spacing": { "type": "integer", "default": 0, "nullable": true }, "font_style": { "type": "string", "nullable": true }, "text_decoration": { "type": "string", "nullable": true }, "text_color": { "type": "string", "example": "#0066cc", "default": "#0066cc" } } }, "SMSDisclosureProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "content": { "oneOf": [ { "$ref": "#/components/schemas/SMSDisclosureCustom" }, { "$ref": "#/components/schemas/SMSDisclosureAccountDefault" } ] } } }, "SMSDisclosureStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "link_styles": { "$ref": "#/components/schemas/SMSDisclosureLinkTextStyle" }, "text_styles": { "$ref": "#/components/schemas/SMSDisclosureTextStyle" } } }, "SMSDisclosureTextStyle": { "type": "object", "properties": { "font_family": { "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "oneOf": [ { "type": "string", "enum": [ "Arial Black,Arial", "Arial, 'Helvetica Neue', Helvetica, sans-serif", "Century Gothic,AppleGothic,Arial", "Comic Sans MS,Comic Sans,cursive", "Courier", "Courier New", "Geneva,Arial", "Georgia", "Helvetica,Arial", "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "MS Serif,Georgia", "New York,Georgia", "Palatino Linotype,Palatino,Georgia", "Palatino,Georgia", "Tahoma,sans-serif", "Times New Roman", "Trebuchet MS", "Verdana" ], "description": "Web safe font enumeration." }, { "type": "string" } ] }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "font_weight": { "description": "Font weight enumeration.", "type": "integer", "example": 400, "default": 400, "enum": [ 100, 200, 300, 400, 500, 600, 700, 800, 900 ], "nullable": true }, "text_color": { "type": "string", "example": "#000000", "default": "#000000" }, "character_spacing": { "type": "integer", "default": 0, "nullable": true }, "font_style": { "type": "string", "nullable": true }, "text_decoration": { "type": "string", "nullable": true } } }, "ScratchCard": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "scratch_card" ] }, "styles": { "$ref": "#/components/schemas/ScratchCardStyles" }, "properties": { "$ref": "#/components/schemas/ScratchCardProperties" }, "action": { "nullable": true, "oneOf": [ { "$ref": "#/components/schemas/Close" }, { "$ref": "#/components/schemas/NextStep" }, { "$ref": "#/components/schemas/OpenForm" }, { "$ref": "#/components/schemas/PromotionalSMSSubscription" }, { "$ref": "#/components/schemas/Redirect" }, { "$ref": "#/components/schemas/ResendOptInCode" }, { "$ref": "#/components/schemas/SubmitOptInCode" }, { "$ref": "#/components/schemas/SubscribeViaSMS" }, { "$ref": "#/components/schemas/SubscribeViaWhatsApp" }, { "$ref": "#/components/schemas/GoToInbox" }, { "$ref": "#/components/schemas/SubmitBackInStock" }, { "$ref": "#/components/schemas/SkipToSuccess" }, { "$ref": "#/components/schemas/IafDeeplinkToScreen" }, { "$ref": "#/components/schemas/IafOpenUrl" } ] } }, "required": [ "type" ] }, "ScratchCardProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "revealed_content": { "type": "string", "default": "" }, "prompt_text": { "type": "string", "nullable": true }, "reveal_threshold": { "type": "integer", "example": 50, "default": 50 } } }, "ScratchCardStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "cover_color": { "type": "string", "example": "rgba(201,166,70,1)", "default": "rgba(201,166,70,1)" }, "cover_image": { "$ref": "#/components/schemas/BackgroundImage", "nullable": true }, "border_styles": { "$ref": "#/components/schemas/BorderStyle", "nullable": true }, "alignment": { "description": "Horizontal alignment enumeration.", "type": "string", "example": "center", "default": "center", "enum": [ "center", "left", "right" ] }, "full_width": { "type": "boolean", "example": true, "default": true }, "width": { "type": "integer", "example": 300, "default": 300 }, "height": { "type": "integer", "example": 210, "default": 210 }, "text_styles": { "$ref": "#/components/schemas/TextStyle" }, "prompt_text_styles": { "$ref": "#/components/schemas/TextStyle" } } }, "Scroll": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "scroll_percentage" ] }, "properties": { "$ref": "#/components/schemas/ScrollProperties" } }, "required": [ "type" ] }, "ScrollProperties": { "type": "object", "properties": { "percentage": { "type": "integer", "example": 30, "default": 30 } } }, "SideImageSettings": { "type": "object", "properties": { "size": { "description": "Side image size enumeration.", "type": "string", "example": "medium", "default": "medium", "enum": [ "large", "medium", "small" ] }, "alignment": { "description": "Side image alignment enumeration.", "type": "string", "example": "left", "default": "left", "enum": [ "left", "right" ] }, "device_type": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } } } }, "SignupCounter": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "signup_counter" ] }, "styles": { "$ref": "#/components/schemas/SignupCounterStyles" }, "properties": { "$ref": "#/components/schemas/SignupCounterProperties" } }, "required": [ "type", "properties" ] }, "SignupCounterProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "timeframe": { "description": "Timeframes for the signup counter lookback.", "type": "string", "enum": [ "1_hour", "24_hours", "30_days", "7_days" ] }, "min_submits": { "type": "integer" }, "content": { "type": "string" } }, "required": [ "timeframe", "min_submits", "content" ] }, "SignupCounterStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true } } }, "SkipToSuccess": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "skip_to_success" ] }, "submit": { "type": "boolean", "default": false, "enum": [ false ] }, "properties": { "$ref": "#/components/schemas/SkipToSuccessProperties" } }, "required": [ "type", "properties" ] }, "SkipToSuccessProperties": { "type": "object", "maxProperties": 0 }, "SpinToWin": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "properties": { "$ref": "#/components/schemas/SpinToWinProperties" }, "type": { "type": "string", "enum": [ "spin_to_win" ] }, "styles": { "$ref": "#/components/schemas/SpinToWinStyles" } }, "required": [ "properties", "type" ] }, "SpinToWinProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "duplicate_slices": { "type": "boolean", "default": false }, "slices": { "type": "array", "items": { "$ref": "#/components/schemas/SpinToWinSliceConfig" } } }, "required": [ "slices" ] }, "SpinToWinSliceConfig": { "type": "object", "properties": { "label": { "type": "string" }, "probability": { "type": "integer" }, "step_id": { "type": "string" } }, "required": [ "label", "probability", "step_id" ] }, "SpinToWinSliceStyle": { "type": "object", "properties": { "background_color": { "type": "string", "example": "rgba(0,0,0,1)", "default": "rgba(0,0,0,1)" }, "text_color": { "type": "string", "example": "rgba(255,255,255,1)", "default": "rgba(255,255,255,1)" } } }, "SpinToWinStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "slice_styles": { "type": "array", "items": { "$ref": "#/components/schemas/SpinToWinSliceStyle" } }, "text_styles": { "$ref": "#/components/schemas/TextStyle" }, "center_color": { "type": "string", "example": "rgba(255,255,255,1)", "default": "rgba(255,255,255,1)" }, "outline_color": { "type": "string", "example": "rgba(0,0,0,1)", "default": "rgba(0,0,0,1)" }, "outline_thickness": { "type": "integer", "example": 12, "default": 12 }, "pin_color": { "type": "string", "example": "rgba(255,255,255,1)", "default": "rgba(255,255,255,1)" }, "wheel_size": { "type": "integer", "example": 400, "default": 400 } } }, "StaticCouponConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "static" ] }, "text": { "type": "string", "nullable": true } }, "required": [ "type" ] }, "Step": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "temporary_id": { "description": "A temporary ID to use only during a create operation, so that spin to win slices can reference this step through their step_id. Existing steps should use the id field. Not allowed on update.", "type": "string", "example": "step-1", "nullable": true, "writeOnly": true }, "columns": { "type": "array", "items": { "$ref": "#/components/schemas/Column" } }, "name": { "type": "string", "nullable": true }, "steps": { "type": "array", "items": { "$ref": "#/components/schemas/Step" }, "nullable": true } }, "required": [ "columns" ] }, "SubmitBackInStock": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "submit_back_in_stock" ] }, "properties": { "$ref": "#/components/schemas/SubmitBackInStockProperties", "nullable": true }, "submit": { "type": "boolean", "example": true, "default": true, "enum": [ true ] } }, "required": [ "type" ] }, "SubmitBackInStockProperties": { "type": "object", "properties": { "list_id": { "type": "string", "nullable": true } } }, "SubmitOptInCode": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean", "example": true, "default": true, "enum": [ true ] }, "type": { "type": "string", "enum": [ "submit_opt_in_code" ] }, "properties": { "enum": [ null ] } }, "required": [ "type" ] }, "SubscribeViaSMS": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean", "example": true, "default": true, "enum": [ true ] }, "type": { "type": "string", "enum": [ "subscribe_via_sms" ] }, "properties": { "$ref": "#/components/schemas/SubscribeViaSMSProperties" } }, "required": [ "type", "properties" ] }, "SubscribeViaSMSProperties": { "type": "object", "properties": { "opt_in_keyword": { "type": "string", "nullable": true }, "opt_in_message": { "type": "string" }, "sending_number": { "type": "string", "nullable": true } }, "required": [ "opt_in_keyword", "opt_in_message", "sending_number" ] }, "SubscribeViaWhatsApp": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "submit": { "type": "boolean", "example": true, "default": true, "enum": [ true ] }, "type": { "type": "string", "enum": [ "subscribe_via_whatsapp" ] }, "properties": { "$ref": "#/components/schemas/SubscribeViaWhatsAppProperties" } }, "required": [ "type", "properties" ] }, "SubscribeViaWhatsAppProperties": { "type": "object", "properties": { "opt_in_keyword": { "type": "string", "nullable": true }, "opt_in_message": { "type": "string" }, "sending_number": { "type": "string", "nullable": true } }, "required": [ "opt_in_keyword", "opt_in_message", "sending_number" ] }, "Teaser": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "content": { "type": "string" }, "display_order": { "description": "Teaser display order enumeration.", "type": "string", "example": "after", "default": "after", "enum": [ "after", "before", "before_and_after" ] }, "teaser_type": { "description": "Teaser display order enumeration.", "type": "string", "example": "rectangle", "default": "rectangle", "enum": [ "circle", "corner", "rectangle" ] }, "location": { "description": "Display location enumeration.", "type": "string", "example": "bottom_left", "default": "bottom_left", "enum": [ "bottom_center", "bottom_left", "bottom_right", "center_left", "center_right", "top_center", "top_left", "top_right" ] }, "size": { "description": "Teaser size enumeration.", "type": "string", "example": "small", "default": "small", "enum": [ "custom", "large", "medium", "small" ] }, "custom_size": { "type": "integer", "nullable": true }, "styles": { "$ref": "#/components/schemas/TeaserStyles" }, "close_button": { "type": "boolean", "example": true, "default": true }, "device_type": { "description": "Enumeration for mobile and desktop.", "type": "string", "example": "both", "default": "both", "enum": [ "both", "desktop", "mobile" ] } }, "required": [ "content" ] }, "TeaserStyles": { "type": "object", "properties": { "background_color": { "type": "string", "example": "#FFFFFF", "default": "#FFFFFF" }, "drop_shadow": { "$ref": "#/components/schemas/DropShadow" }, "corner_radius": { "type": "integer", "example": 4, "default": 4 }, "background_image": { "$ref": "#/components/schemas/BackgroundImage", "nullable": true }, "close_button": { "$ref": "#/components/schemas/CloseButtonStyle" }, "margin": { "$ref": "#/components/schemas/Margin" } } }, "Text": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "text" ] }, "styles": { "$ref": "#/components/schemas/TextStyles" }, "properties": { "$ref": "#/components/schemas/TextProperties" } }, "required": [ "type", "properties" ] }, "TextProperties": { "type": "object", "properties": { "display_device": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." } }, "classname": { "type": "string", "nullable": true }, "block_animation": { "$ref": "#/components/schemas/Animation", "nullable": true }, "property_name": { "type": "string" }, "label": { "type": "string", "nullable": true }, "show_label": { "type": "boolean", "default": false }, "placeholder": { "type": "string", "nullable": true }, "required": { "type": "boolean", "default": false, "nullable": true }, "error_messages": { "$ref": "#/components/schemas/ErrorMessages", "nullable": true } }, "required": [ "property_name" ] }, "TextStyle": { "type": "object", "properties": { "font_family": { "example": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "default": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "oneOf": [ { "type": "string", "enum": [ "Arial Black,Arial", "Arial, 'Helvetica Neue', Helvetica, sans-serif", "Century Gothic,AppleGothic,Arial", "Comic Sans MS,Comic Sans,cursive", "Courier", "Courier New", "Geneva,Arial", "Georgia", "Helvetica,Arial", "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "MS Serif,Georgia", "New York,Georgia", "Palatino Linotype,Palatino,Georgia", "Palatino,Georgia", "Tahoma,sans-serif", "Times New Roman", "Trebuchet MS", "Verdana" ], "description": "Web safe font enumeration." }, { "type": "string" } ] }, "font_size": { "type": "integer", "example": 16, "default": 16 }, "font_weight": { "description": "Font weight enumeration.", "type": "integer", "example": 400, "default": 400, "enum": [ 100, 200, 300, 400, 500, 600, 700, 800, 900 ], "nullable": true }, "text_color": { "type": "string", "example": "#000000", "default": "#000000" }, "character_spacing": { "type": "integer", "default": 0, "nullable": true }, "font_style": { "type": "string", "nullable": true }, "text_decoration": { "type": "string", "nullable": true } } }, "TextStyleOverrides": { "type": "object", "properties": { "font_family": { "nullable": true, "oneOf": [ { "type": "string", "enum": [ "Arial Black,Arial", "Arial, 'Helvetica Neue', Helvetica, sans-serif", "Century Gothic,AppleGothic,Arial", "Comic Sans MS,Comic Sans,cursive", "Courier", "Courier New", "Geneva,Arial", "Georgia", "Helvetica,Arial", "Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "Lucida,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif", "MS Serif,Georgia", "New York,Georgia", "Palatino Linotype,Palatino,Georgia", "Palatino,Georgia", "Tahoma,sans-serif", "Times New Roman", "Trebuchet MS", "Verdana" ], "description": "Web safe font enumeration." }, { "type": "string" } ] }, "font_size": { "type": "integer", "nullable": true }, "font_weight": { "description": "Font weight enumeration.", "type": "integer", "enum": [ 100, 200, 300, 400, 500, 600, 700, 800, 900 ], "nullable": true }, "character_spacing": { "type": "integer", "nullable": true }, "text_color": { "type": "string", "nullable": true } } }, "TextStyles": { "type": "object", "properties": { "padding": { "$ref": "#/components/schemas/Padding" }, "background_color": { "type": "string", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyleOverrides", "nullable": true } } }, "TriggerBaseProperties": { "type": "object", "maxProperties": 0 }, "URLPatterns": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "type": { "type": "string", "enum": [ "url_patterns" ] }, "properties": { "$ref": "#/components/schemas/URLPatternsProperties" } }, "required": [ "type" ] }, "URLPatternsProperties": { "type": "object", "properties": { "allow_list": { "type": "array", "items": { "type": "string" }, "nullable": true }, "deny_list": { "type": "array", "items": { "type": "string" }, "nullable": true } } }, "UnidentifiedProfiles": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "string", "nullable": true }, "properties": { "$ref": "#/components/schemas/TriggerBaseProperties" }, "type": { "type": "string", "enum": [ "unidentified_profiles" ] } }, "required": [ "type" ] }, "UniqueCouponConfig": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "unique" ] }, "id": { "type": "integer", "nullable": true }, "code": { "type": "string", "nullable": true }, "fallback_coupon_code": { "type": "string", "nullable": true }, "integration": { "description": "Coupon integration types for unique coupon blocks.", "type": "string", "example": "shopify", "default": "shopify", "enum": [ "api", "magento_two", "prestashop", "shopify", "uploaded", "woocommerce" ] } }, "required": [ "type" ] }, "VariableTimerConfiguration": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "variable" ] }, "days": { "type": "integer" }, "hours": { "type": "integer" }, "minutes": { "type": "integer" } }, "required": [ "type", "days", "hours", "minutes" ] }, "VerifiedBadgeStyle": { "type": "object", "properties": { "size": { "type": "integer", "example": 10, "default": 10 }, "color_asset": { "description": "Available review verified-badge assets.", "type": "string", "example": "blue", "default": "blue", "enum": [ "blue", "dark", "light" ] } } }, "Version": { "type": "object", "properties": { "id": { "description": "Not allowed on create.", "type": "integer", "nullable": true }, "steps": { "type": "array", "items": { "$ref": "#/components/schemas/Step" } }, "triggers": { "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/AfterCloseTimeout" }, { "$ref": "#/components/schemas/CartContent" }, { "$ref": "#/components/schemas/CartItemCount" }, { "$ref": "#/components/schemas/CartProduct" }, { "$ref": "#/components/schemas/CartValue" }, { "$ref": "#/components/schemas/Channel" }, { "$ref": "#/components/schemas/CustomJavascript" }, { "$ref": "#/components/schemas/Delay" }, { "$ref": "#/components/schemas/Device" }, { "$ref": "#/components/schemas/ExitIntent" }, { "$ref": "#/components/schemas/FormEngagement" }, { "$ref": "#/components/schemas/IdentifiedProfiles" }, { "$ref": "#/components/schemas/ListsAndSegments" }, { "$ref": "#/components/schemas/Location" }, { "$ref": "#/components/schemas/PageVisits" }, { "$ref": "#/components/schemas/PreviouslySubmitted" }, { "$ref": "#/components/schemas/ProfileEventTracked" }, { "$ref": "#/components/schemas/Scroll" }, { "$ref": "#/components/schemas/UnidentifiedProfiles" }, { "$ref": "#/components/schemas/URLPatterns" }, { "$ref": "#/components/schemas/BackInStock" } ] } }, "teasers": { "type": "array", "items": { "$ref": "#/components/schemas/Teaser" } }, "dynamic_button": { "$ref": "#/components/schemas/DynamicButton", "nullable": true }, "name": { "type": "string", "nullable": true }, "styles": { "$ref": "#/components/schemas/VersionStyles" }, "properties": { "$ref": "#/components/schemas/VersionProperties" }, "type": { "description": "Form type enumeration.", "type": "string", "example": "popup", "default": "popup", "enum": [ "banner", "embed", "flyout", "full_screen", "popup" ] }, "location": { "description": "Display location enumeration.", "type": "string", "enum": [ "bottom_center", "bottom_left", "bottom_right", "center_left", "center_right", "top_center", "top_left", "top_right" ], "nullable": true }, "status": { "description": "Form status enumeration.", "type": "string", "example": "draft", "default": "draft", "enum": [ "draft", "live" ] }, "ab_test": { "type": "boolean", "default": false }, "specialties": { "type": "array", "items": { "type": "string", "enum": [ "BACK_IN_STOCK" ], "description": "Form specialty enumeration." } }, "channel": { "type": "string", "example": "WEB", "default": "WEB", "enum": [ "WEB" ] }, "message_priority": { "type": "integer", "example": 50, "default": 50 } }, "required": [ "steps" ] }, "VersionProperties": { "type": "object", "properties": { "side_image_settings": { "$ref": "#/components/schemas/SideImageSettings", "nullable": true }, "click_outside_to_close": { "type": "array", "items": { "type": "string", "enum": [ "both", "desktop", "mobile" ], "description": "Enumeration for mobile and desktop." }, "nullable": true }, "rule_based_trigger_evaluation": { "description": "Side image alignment enumeration.", "type": "string", "example": "any", "default": "any", "enum": [ "all", "any" ], "nullable": true }, "record_utm_params_on_submit": { "type": "boolean", "default": false }, "show_close_button": { "type": "boolean", "example": true, "default": true }, "accessible_name": { "type": "string", "nullable": true } } }, "VersionStyles": { "type": "object", "properties": { "wrap_content": { "type": "boolean", "default": false, "enum": [ false ] }, "border_styles": { "$ref": "#/components/schemas/BorderStyle", "nullable": true }, "close_button": { "$ref": "#/components/schemas/CloseButtonStyle" }, "margin": { "$ref": "#/components/schemas/Margin" }, "padding": { "$ref": "#/components/schemas/Padding" }, "minimum_height": { "type": "integer", "example": 250, "default": 250 }, "width": { "description": "Version width enumeration.", "type": "string", "example": "medium", "default": "medium", "enum": [ "custom", "full", "large", "medium", "small" ] }, "custom_width": { "type": "integer", "nullable": true }, "background_image": { "$ref": "#/components/schemas/BackgroundImage", "nullable": true }, "background_color": { "type": "string", "example": "#FFFFFF", "default": "#FFFFFF", "nullable": true }, "input_styles": { "$ref": "#/components/schemas/InputStyles" }, "drop_shadow": { "$ref": "#/components/schemas/DropShadow" }, "overlay_color": { "type": "string", "example": "rgba(20,20,20,0.6)", "default": "rgba(20,20,20,0.6)" }, "rich_text_styles": { "$ref": "#/components/schemas/RichTextStyles" }, "mobile_overlay": { "$ref": "#/components/schemas/MobileOverlay", "nullable": true }, "banner_styles": { "$ref": "#/components/schemas/BannerStyles", "nullable": true }, "custom_css": { "$ref": "#/components/schemas/CustomCss" } } }, "WebFormDefinition": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "web" ] }, "versions": { "description": "The form's versions (e.g. draft, live, or A/B test variations).", "type": "array", "items": { "$ref": "#/components/schemas/Version" } } }, "required": [ "type", "versions" ] } }, "securitySchemes": { "Klaviyo-API-Key": { "type": "apiKey", "in": "header", "name": "Authorization", "description": "Private key authentication for /api/ endpoints is performed by setting the `Authorization` header to `Klaviyo-API-Key your-private-api-key`