Update Form
PATCHhttps://a.klaviyo.com/api/forms/{id}
Update a form's name or complete editable definition.
Only 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.
- Revision header
revision: 2026-10-15.prerequired- Scopes
forms:write- Rate limits
- Burst:
3/sSteady:60/m
Path parameters
The ID of the form.
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-10-15.pre
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
The ID of the form.
Show 2 fields
The complete form definition, which replaces the editable definition. Its type and version IDs cannot change. This field cannot be null.
Option 1:
WebFormDefinitionThe form's versions (e.g. draft, live, or A/B test variations).
Show 15 fields
Not allowed on create.
Enter a whole number. Until you do, the example request uses the example value.
Show 5 fields
Not allowed on create.
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.
Show 3 fields
Not allowed on create.
Show 2 fields
Not allowed on create.
Option 1:
ButtonNot allowed on create.
Show 12 fields
Show 4 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Valid button block widths.
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Show 7 fields
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 5 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 5 fields
Show 5 fields
Enumeration for component entrance animation types.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enumeration for component animation easing functions.
Option 2:
AgeGateNot allowed on create.
Show 3 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 10 fields
Show 5 fields
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 11 fields
Enter valid JSON. Until you do, the example request uses the example value.
SMS County Code Enum.
Option 3:
CouponNot allowed on create.
Show 5 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 5 fields
Enter valid JSON. Until you do, the example request uses the example value.
Option 4:
DateNot allowed on create.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 5:
EmailNot allowed on create.
Show 9 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 6:
HTMLTextNot allowed on create.
Option 7:
OptInCodeNot allowed on create.
Show 9 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 8:
PhoneNumberNot allowed on create.
Show 11 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 9:
SMSConsentCheckboxNot allowed on create.
Show 4 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Show 11 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 10:
TextNot allowed on create.
Show 9 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 11:
CheckboxesNot allowed on create.
Show 5 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Arrangement enumeration.
Horizontal alignment enumeration.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 12:
RadioButtonsNot allowed on create.
Show 5 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Arrangement enumeration.
Horizontal alignment enumeration.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 13:
DropdownNot allowed on create.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 14:
ImageNot allowed on create.
Show 5 fields
Horizontal alignment enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 5 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 5 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 1:
CloseEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
NextStepEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
OpenFormEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
PromotionalSMSSubscriptionEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RedirectEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
ResendOptInCodeEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
SubmitOptInCodeEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
SubscribeViaSMSEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
SubscribeViaWhatsAppEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
GoToInboxEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
SubmitBackInStockEnter valid JSON. Until you do, the example request uses the example value.
Option 12:
SkipToSuccessEnter valid JSON. Until you do, the example request uses the example value.
Option 13:
IafDeeplinkToScreenEnter valid JSON. Until you do, the example request uses the example value.
Option 14:
IafOpenUrlEnter valid JSON. Until you do, the example request uses the example value.
Option 15:
CountdownTimerNot allowed on create.
Show 6 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Show 7 fields
Enter valid JSON. Until you do, the example request uses the example value.
Options for displaying a timer.
Options for timer completion animations.
Label lengths for countdown timer units.
Option 2:
VariableTimerConfigurationEnter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Option 16:
SignupCounterNot allowed on create.
Show 6 fields
Enter valid JSON. Until you do, the example request uses the example value.
Timeframes for the signup counter lookback.
Enter a whole number. Until you do, the example request uses the example value.
Option 17:
SpinToWinNot allowed on create.
Show 5 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 9 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Option 18:
SMSDisclosureNot allowed on create.
Show 4 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 7 fields
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 7 fields
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 4 fields
Enter valid JSON. Until you do, the example request uses the example value.
Option 19:
BackInStockEmailConsentCheckboxNot allowed on create.
Show 4 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 20:
ReviewNot allowed on create.
Show 7 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 6 fields
Enter a whole number. Until you do, the example request uses the example value.
Enumeration for review shapes.
Horizontal alignment enumeration.
Enter a number. Until you do, the example request uses the example value.
Show 9 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Enter a number. Until you do, the example request uses the example value.
Show 10 fields
Enumeration for review name layouts.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Enter a number. Until you do, the example request uses the example value.
Show 11 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Option 21:
CustomHTMLNot allowed on create.
Enter valid JSON. Until you do, the example request uses the example value.
Option 22:
ContinueWithShopNot allowed on create.
Show 9 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 7 fields
Enter valid JSON. Until you do, the example request uses the example value.
Shop login button layouts.
Shop login button types supported by Continue with Shop.
Option 23:
MarketingTrackingConsentCheckboxNot allowed on create.
Show 4 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 24:
ScratchCardNot allowed on create.
Show 11 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 2 fields
Show 5 fields
Horizontal alignment enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Image position enumeration.
Vertical alignment enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 6 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Option 1:
CloseEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
NextStepEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
OpenFormEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
PromotionalSMSSubscriptionEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RedirectEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
ResendOptInCodeEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
SubmitOptInCodeEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
SubscribeViaSMSEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
SubscribeViaWhatsAppEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
GoToInboxEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
SubmitBackInStockEnter valid JSON. Until you do, the example request uses the example value.
Option 12:
SkipToSuccessEnter valid JSON. Until you do, the example request uses the example value.
Option 13:
IafDeeplinkToScreenEnter valid JSON. Until you do, the example request uses the example value.
Option 14:
IafOpenUrlEnter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 2:
CartContentNot allowed on create.
Show 3 fields
Option 11:
FormEngagementNot allowed on create.
Option 17:
ProfileEventTrackedNot allowed on create.
Show 3 fields
Not allowed on create.
Dynamic Button type enumeration.
Show 4 fields
Back In Stock Dynamic Button display type enumeration.
Show 7 fields
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 7 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Back In Stock Dynamic Button display type enumeration.
Horizontal alignment enumeration.
Show 5 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Show 17 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Version width enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 10 fields
Enter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 8 fields
Show 10 fields
Enter a whole number. Until you do, the example request uses the example value.
Font weight enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Enter a number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Horizontal alignment enumeration.
Show 4 fields
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 6 fields
Side image alignment enumeration.
Form type enumeration.
Display location enumeration.
Form status enumeration.
Enter a whole number. Until you do, the example request uses the example value.
Option 2:
InAppFormDefinitionThe form's versions.
Show 10 fields
The visual layout type for the In-App form.
Show 4 fields
The trigger that causes the form to display.
Option 1:
InAppAppOpenTriggerThe trigger type. Must be app_open.
Option 2:
InAppPerformedEventTriggerThe trigger type. Must be performed_event.
The event name to listen for.
Optional event property equality filter. At most one is supported.
Enter valid JSON. Until you do, the example request uses the example value.
Seconds to wait after the display trigger, up to 86400, or null for no delay.
Enter a whole number. Until you do, the example request uses the example value.
Minimum number of days between showing the form to the same user, or null for no minimum.
Enter a whole number. Until you do, the example request uses the example value.
Whether to stop showing the form to a user after they dismiss it.
The steps in this version.
Show 3 fields
The columns in this step.
Show 2 fields
The rows in this column, rendered top to bottom.
Show 2 fields
The content blocks in this row, rendered side by side.
Option 2:
InAppImageBlockThe block type. Must be image.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Show 7 fields
The action to perform when the block is tapped.
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.
The deep link URL to navigate to on iOS when separate iOS and Android links are used.
The deep link URL to navigate to on Android when separate iOS and Android links are used.
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.
External destination for open_url. Supports http, https, mailto, tel, and sms.
Not allowed on create.
Not allowed on create.
Option 3:
InAppButtonBlockThe block type. Must be button.
The text label displayed on the button.
Enter valid JSON. Until you do, the example request uses the example value.
Show 10 fields
Background color of the block in hex or rgba format.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Background color of the button itself in hex or rgba format.
Height of the button in pixels, or auto to fit its content.
Enter a whole number. Until you do, the example request uses the example value.
Whether the button fills its container or fits its label.
Enter valid JSON. Until you do, the example request uses the example value.
Horizontal alignment of the button.
Enter valid JSON. Until you do, the example request uses the example value.
Not allowed on create.
Option 4:
InAppCouponBlockThe block type. Must be coupon.
Enter valid JSON. Until you do, the example request uses the example value.
Message displayed after copying the code.
Enter valid JSON. Until you do, the example request uses the example value.
Not allowed on create.
Option 5:
InAppCountdownTimerBlockThe block type. Must be countdown_timer.
The timer's fixed end time or duration.
Option 1:
FixedTimerConfigurationEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
VariableTimerConfigurationEnter valid JSON. Until you do, the example request uses the example value.
The clock face style.
The timer animation, or null for no animation.
The format of the timer's unit labels.
Enter valid JSON. Until you do, the example request uses the example value.
Not allowed on create.
Option 6:
InAppReviewBlockThe block type. Must be review.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Screen position, required for flyouts and omitted for other layouts.
Enter valid JSON. Until you do, the example request uses the example value.
Show 12 fields
Width preset for the form. Full width is only supported for flyouts.
Width in pixels, required when width is custom.
Enter a whole number. Until you do, the example request uses the example value.
Minimum height of the form in pixels.
Enter a whole number. Until you do, the example request uses the example value.
Background color of the form in hex or rgba format.
Enter valid JSON. Until you do, the example request uses the example value.
Color of the overlay behind the form in rgba format.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Whether this version is part of an A/B test.
Not allowed on create.
Not allowed on create.
Enter a whole number. Until you do, the example request uses the example value.
Not allowed on create.
The name of the form. This field cannot be null.
Responses
200Success
Content type: application/vnd.api+json
Show 4 fields
The form's unique identifier.
Show 6 fields
The form's status.
Whether the form has an A/B test configured.
The form's name.
The form's creation timestamp.
The form's last update timestamp.
The form's definition.
Option 1:
WebFormDefinitionThe form's versions (e.g. draft, live, or A/B test variations).
Show 15 fields
Not allowed on create.
Show 5 fields
Not allowed on create.
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.
Show 3 fields
Not allowed on create.
Show 2 fields
Not allowed on create.
Option 1:
ButtonNot allowed on create.
Show 12 fields
Valid button block widths.
Horizontal alignment enumeration.
Show 5 fields
Option 2:
AgeGateNot allowed on create.
Show 3 fields
Show 10 fields
Show 11 fields
SMS County Code Enum.
Option 3:
CouponNot allowed on create.
Show 5 fields
Option 4:
DateNot allowed on create.
Option 5:
EmailNot allowed on create.
Option 7:
OptInCodeNot allowed on create.
Option 8:
PhoneNumberNot allowed on create.
Show 11 fields
Option 9:
SMSConsentCheckboxNot allowed on create.
Option 10:
TextNot allowed on create.
Option 11:
CheckboxesNot allowed on create.
Show 10 fields
Option 12:
RadioButtonsNot allowed on create.
Option 13:
DropdownNot allowed on create.
Option 14:
ImageNot allowed on create.
Option 1:
CloseOption 2:
NextStepOption 3:
OpenFormOption 4:
PromotionalSMSSubscriptionOption 5:
RedirectOption 6:
ResendOptInCodeOption 7:
SubmitOptInCodeOption 8:
SubscribeViaSMSOption 9:
SubscribeViaWhatsAppOption 10:
GoToInboxOption 11:
SubmitBackInStockOption 12:
SkipToSuccessOption 13:
IafDeeplinkToScreenOption 14:
IafOpenUrl
Option 15:
CountdownTimerNot allowed on create.
Show 7 fields
Options for displaying a timer.
Options for timer completion animations.
Label lengths for countdown timer units.
Option 16:
SignupCounterNot allowed on create.
Option 17:
SpinToWinNot allowed on create.
Option 18:
SMSDisclosureNot allowed on create.
Show 4 fields
Show 4 fields
Option 19:
BackInStockEmailConsentCheckboxNot allowed on create.
Option 20:
ReviewNot allowed on create.
Show 7 fields
Option 22:
ContinueWithShopNot allowed on create.
Show 7 fields
Shop login button layouts.
Shop login button types supported by Continue with Shop.
Option 23:
MarketingTrackingConsentCheckboxNot allowed on create.
Show 10 fields
Option 24:
ScratchCardNot allowed on create.
Show 11 fields
Horizontal alignment enumeration.
Option 1:
CloseOption 2:
NextStepOption 3:
OpenFormOption 4:
PromotionalSMSSubscriptionOption 5:
RedirectOption 6:
ResendOptInCodeOption 7:
SubmitOptInCodeOption 8:
SubscribeViaSMSOption 9:
SubscribeViaWhatsAppOption 10:
GoToInboxOption 11:
SubmitBackInStockOption 12:
SkipToSuccessOption 13:
IafDeeplinkToScreenOption 14:
IafOpenUrl
Option 2:
CartContentNot allowed on create.
Show 3 fields
Show 3 fields
Not allowed on create.
Dynamic Button type enumeration.
Show 4 fields
Back In Stock Dynamic Button display type enumeration.
Show 7 fields
Back In Stock Dynamic Button display type enumeration.
Horizontal alignment enumeration.
Show 17 fields
Version width enumeration.
Show 8 fields
Show 10 fields
Font weight enumeration.
Horizontal alignment enumeration.
Show 6 fields
Side image alignment enumeration.
Form type enumeration.
Display location enumeration.
Form status enumeration.
Option 2:
InAppFormDefinitionThe form's versions.
Show 10 fields
The visual layout type for the In-App form.
Show 4 fields
The trigger that causes the form to display.
Option 1:
InAppAppOpenTriggerThe trigger type. Must be app_open.
Seconds to wait after the display trigger, up to 86400, or null for no delay.
Minimum number of days between showing the form to the same user, or null for no minimum.
Whether to stop showing the form to a user after they dismiss it.
The steps in this version.
Show 3 fields
The columns in this step.
Show 2 fields
The rows in this column, rendered top to bottom.
Show 2 fields
The content blocks in this row, rendered side by side.
Option 2:
InAppImageBlockThe block type. Must be image.
Show 7 fields
The action to perform when the block is tapped.
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.
The deep link URL to navigate to on iOS when separate iOS and Android links are used.
The deep link URL to navigate to on Android when separate iOS and Android links are used.
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.
External destination for open_url. Supports http, https, mailto, tel, and sms.
Not allowed on create.
Not allowed on create.
Option 3:
InAppButtonBlockThe block type. Must be button.
The text label displayed on the button.
Show 10 fields
Background color of the block in hex or rgba format.
Background color of the button itself in hex or rgba format.
Height of the button in pixels, or auto to fit its content.
Whether the button fills its container or fits its label.
Horizontal alignment of the button.
Not allowed on create.
Option 5:
InAppCountdownTimerBlockThe block type. Must be countdown_timer.
The timer's fixed end time or duration.
Option 1:
FixedTimerConfigurationOption 2:
VariableTimerConfiguration
The clock face style.
The timer animation, or null for no animation.
The format of the timer's unit labels.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Screen position, required for flyouts and omitted for other layouts.
Show 12 fields
Width preset for the form. Full width is only supported for flyouts.
Width in pixels, required when width is custom.
Minimum height of the form in pixels.
Background color of the form in hex or rgba format.
Color of the overlay behind the form in rgba format.
Whether this version is part of an A/B test.
Not allowed on create.
Not allowed on create.
Not allowed on create.
Show 1 field
Response-level metadata
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json