Get Messages For Flow Action
GEThttps://a.klaviyo.com/api/flow-actions/{id}/flow-messages
Get all flow messages associated with the given flow action ID.
Returns a maximum of 50 flow message relationships per request, which can be paginated with cursor-based pagination.
- Revision header
revision: 2026-07-15required- Scopes
flows:read- Rate limits
- Burst:
3/sSteady:60/m
Path parameters
Query parameters
For more information please visit API overview
For more information please visit API overview
Allowed field(s)/operator(s):id:any(string)name:contains,ends-with,equals,starts-with(string)created:equals,greater-or-equal,greater-than,less-or-equal,less-than(date-time)updated:equals,greater-or-equal,greater-than,less-or-equal,less-than(date-time)For more information please visit API overview
Default: 50. Min: 1. Max: 50.
Enter a whole number. Until you do, the example request uses the example value.
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-07-15
Responses
200Success
Content type: application/vnd.api+json
Show 5 fields
Show 4 fields
The encoded flow message definition.
Option 1:
FlowEmailShow 1 field
Show 1 field
Option 1:
ProfilePropertyConditionThe profile property to check. Use one of the well-known property names (e.g.
email,first_name) or, for custom profile properties, the formproperties['property name'].Option 3:
StringPhoneOperatorStringArrayFilterOperators for phone string array filters.
Example condition using this filter: { "type": "profile-property", "field": "phone", "filter": { "type": "string", "operator": "phone-country-code-in", "value": ["US", "GB"] } }
Option 5:
ProfilePostalCodeDistanceConditionUnits for profile postal code distance conditions.
Option 6:
ProfilePredictiveAnalyticsDateConditionDimension for date profile predictive analytics conditions.
Option 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilter
Option 7:
ProfilePredictiveAnalyticsStringConditionDimension for string profile predictive analytics conditions.
Option 9:
ProfilePredictiveAnalyticsChannelAffinityPriorityConditionPossible dimension for channel affinity criterion.
Possible channels in a channel affinity definition.
Option 10:
ProfilePredictiveAnalyticsChannelAffinityRankConditionPossible dimension for channel affinity criterion.
Possible channels in a channel affinity definition.
Option 11:
ProfileMarketingConsentConditionOption 1:
HasEmailMarketingConsentOption 2:
HasEmailMarketingSubscribedOption 2:
StatusDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilter
Option 2:
NoEmailMarketingConsentOption 1:
NoEmailMarketingOption 1:
BounceDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilter
Option 2:
ManualSuppressionDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilterOption 8:
IsSetExistenceFilter
Option 3:
InvalidEmailDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilterOption 8:
IsSetExistenceFilter
Option 3:
HasSMSMarketingConsentShow 2 fields
Option 1:
StatusDateFilterOption 2:
FormMethodFilterOption 3:
ManualImportManualMethodFilterOption 4:
ManualAddManualMethodFilterOption 6:
InboundMessageMethodFilterOption 7:
PreferencePageMethodFilterOption 8:
SftpMethodFilterOption 9:
ShopifyIntegrationMethodFilter
Option 4:
NoSMSMarketingConsentOption 1:
NoSMSMarketingOption 2:
NoSMSMarketingUnsubscribedOption 1:
StatusDateFilterOption 2:
FormMethodFilterOption 3:
ManualImportManualMethodFilterOption 4:
ManualAddManualMethodFilterOption 5:
ManualRemoveMethodFilterOption 7:
CheckoutMethodFilterOption 8:
InboundMessageMethodFilterOption 9:
PreferencePageMethodFilterOption 10:
SftpMethodFilterOption 16:
ShopifyIntegrationMethodFilter
Option 3:
NoSMSMarketingNeverSubscribed
Option 12:
FlowsProfileMetricConditionMeasurements for profile metrics.
Option 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilter
Show 2 fields
Option 1:
StringOperatorStringFilterOption 2:
StringArrayOperatorStringArrayFilterOption 3:
ExistenceOperatorExistenceFilterOption 5:
ListLengthFilterOption 7:
BooleanFilterOption 8:
NumericOperatorNumericFilter
Option 14:
ProfileHasCustomObjectConditionShow 2 fields
Option 1:
StringOperatorStringFilterOption 2:
StringArrayOperatorStringArrayFilterOption 3:
NumericOperatorNumericFilterOption 5:
BooleanFilterOption 6:
StaticDateFilterOption 7:
StaticDateRangeFilterOption 8:
RelativeDateOperatorBaseRelativeDateFilterOption 9:
RelativeAnniversaryDateFilterOption 10:
RelativeDateRangeFilterOption 11:
ListContainsOperatorListContainsFilterOption 12:
ListLengthFilterOption 13:
ExistenceOperatorExistenceFilter
Option 15:
ProfilePermissionsConditionOption 1:
ExplicitlyReachableOption 1:
EffectiveDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilter
Option 2:
RecordedDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseRelativeDateFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilter
Option 2:
ImplicitlyReachableOption 3:
ImplicitlyOrExplicitlyReachableOption 5:
ImplicitlyUnreachableOption 6:
ImplicitlyOrExplicitlyUnreachable
Possible channels for profile permissions criterion.
Not allowed on create.
Option 3:
FlowPushNotificationThe id of an ImageAsset. If provided, this will take precedence over a dynamic_image.
A dynamic image asset to include in the push notification.
The ULID of a video asset. If provided, videos and images are mutually exclusive.
See PushLinkAction in app.
This is not a flow action, but the literal action that should be taken when the push notification is tapped.
The type of push notification to send.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsDateConditionOption 7:
ProfilePredictiveAnalyticsStringConditionOption 8:
ProfilePredictiveAnalyticsNumericConditionOption 9:
ProfilePredictiveAnalyticsChannelAffinityPriorityConditionOption 10:
ProfilePredictiveAnalyticsChannelAffinityRankConditionOption 11:
ProfileMarketingConsentConditionOption 12:
FlowsProfileMetricConditionOption 13:
ProfileRandomSampleConditionOption 14:
ProfileHasCustomObjectConditionOption 15:
ProfilePermissionsConditionOption 16:
ProfileHasNotReceivedEmailMessageConditionOption 17:
ProfileHasNotReceivedSmsMessageConditionOption 18:
ProfileHasNotReceivedPushMessageCondition
Not allowed on create.
Option 4:
FlowSmsThe id of an ImageAsset. If provided, this will take precedence over a dynamic_image.
A dynamic image asset to include in the SMS message.
The message hierarchy (fallback chain): exactly one RCS entry followed by one SMS entry, in priority order. Rendering selects the first entry whose format the recipient supports.
Option 1:
MessageHierarchyRcsItemThe plain text message content. Often empty for RCS when rich_content is used.
The format of this message (always 'RCS' for RCS entries).
Show 3 fields
List of cards in this rich content. At most 10.
Show 7 fields
Unique identifier for this card.
Optional title for the card. 200 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.
The text content/description of the card. 2000 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.
Additional card-specific metadata (e.g., product info). Optional.
Optional image for this card.
Option 1:
ImageAssetThe unique identifier for this image asset. Not allowed on update.
The file path of the image in Klaviyo's storage.
The human-readable name of the image.
The image file format.
The size of the image file in bytes.
Timestamp when the image was last updated.
The origin/source of the image (e.g., UI, API, AI, etc.).
The full URL to access the image.
The type of image (static or dynamic).
Localization key for this image asset, if applicable.
Option 2:
SlimImageReferenceID of the static image asset when the card uses a library image.
Dynamic image template (e.g. Django tags) for the card image.
Pre-rendered image URL when available.
Optional video for this card. May be a hydrated MediaAsset or a reference-style payload (e.g. static_asset_id), matching MMS
MessageHierarchySmsItem.mediabehavior.Option 1:
MediaAssetThe unique identifier for this media asset. Not allowed on update.
The company ID that owns this media.
The full URL to access the media.
The media type (e.g., 'video' for video assets).
The human-readable name of the media.
The size of the media file in bytes.
Optional thumbnail URL for video previews in RCS cards.
Localization key for this media asset, if applicable.
Optional action buttons for this card. At most 4.
Show 5 fields
Unique identifier for this suggestion/button.
The display text for the suggestion button. 25 characters is the rendered-length budget; the stored value may be longer because it is template-evaluated before it reaches the carrier.
The type of action this suggestion performs.
The URL to open (required for OPEN_URL type).
How the URL opens on the device for OPEN_URL suggestions (browser vs webview size). Emitted to Infobip as openIn. Absent means browser.
List of suggestion buttons for user interaction. At most 11.
Additional metadata for RCS messages. Legacy placement. This is typically used in rich_content.cards.extra.
Option 2:
MessageHierarchySmsItemThe plain text SMS message content.
The format of this message (always 'SMS' for SMS entries).
Additional metadata for SMS messages (e.g., should_use_same_content flag).
Image reference for MMS messages. Mutually exclusive with media.
Video media for MMS messages as either a hydrated MediaAsset or a reference-style payload. Mutually exclusive with image.
Option 1:
MediaAssetOption 2:
MediaAssetReference
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsDateConditionOption 7:
ProfilePredictiveAnalyticsStringConditionOption 8:
ProfilePredictiveAnalyticsNumericConditionOption 9:
ProfilePredictiveAnalyticsChannelAffinityPriorityConditionOption 10:
ProfilePredictiveAnalyticsChannelAffinityRankConditionOption 11:
ProfileMarketingConsentConditionOption 12:
FlowsProfileMetricConditionOption 13:
ProfileRandomSampleConditionOption 14:
ProfileHasCustomObjectConditionOption 15:
ProfilePermissionsConditionOption 16:
ProfileHasNotReceivedEmailMessageConditionOption 17:
ProfileHasNotReceivedSmsMessageConditionOption 18:
ProfileHasNotReceivedPushMessageCondition
Not allowed on create.
Option 6:
FlowWhatsAppNot allowed on create.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsDateConditionOption 7:
ProfilePredictiveAnalyticsStringConditionOption 8:
ProfilePredictiveAnalyticsNumericConditionOption 9:
ProfilePredictiveAnalyticsChannelAffinityPriorityConditionOption 10:
ProfilePredictiveAnalyticsChannelAffinityRankConditionOption 11:
ProfileMarketingConsentConditionOption 12:
FlowsProfileMetricConditionOption 13:
ProfileRandomSampleConditionOption 14:
ProfileHasCustomObjectConditionOption 15:
ProfilePermissionsConditionOption 16:
ProfileHasNotReceivedEmailMessageConditionOption 17:
ProfileHasNotReceivedSmsMessageConditionOption 18:
ProfileHasNotReceivedPushMessageCondition
Option 7:
FlowWhatsAppWithACNot allowed on create.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsDateConditionOption 7:
ProfilePredictiveAnalyticsStringConditionOption 8:
ProfilePredictiveAnalyticsNumericConditionOption 9:
ProfilePredictiveAnalyticsChannelAffinityPriorityConditionOption 10:
ProfilePredictiveAnalyticsChannelAffinityRankConditionOption 11:
ProfileMarketingConsentConditionOption 12:
FlowsProfileMetricConditionOption 13:
ProfileRandomSampleConditionOption 14:
ProfileHasCustomObjectConditionOption 15:
ProfilePermissionsConditionOption 16:
ProfileHasNotReceivedEmailMessageConditionOption 17:
ProfileHasNotReceivedSmsMessageConditionOption 18:
ProfileHasNotReceivedPushMessageCondition
Show 1 field
Response-level metadata
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json