Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow_action_messages.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

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: 2025-01-15required
Scopes
flows:read
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[flow-message]#string[]

    For more information please visit API overview

    Show 21 allowed values
    • name
    • channel
    • content
    • content.subject
    • content.preview_text
    • content.from_email
    • content.from_label
    • content.reply_to_email
    • content.cc_email
    • content.bcc_email
    • content.body
    • content.media_url
    • content.title
    • content.sound
    • content.badge
    • content.dynamic_image
    • content.ios_link
    • content.android_link
    • content.on_open
    • created
    • updated
  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    id: any
    name: contains, ends-with, equals, starts-with
    created: equals, greater-or-equal, greater-than, less-or-equal, less-than
    updated: equals, greater-or-equal, greater-than, less-or-equal, less-than

    Example: any(id,['example'])

  • page[cursor]#string

    For more information please visit API overview

  • page[size]#integer

    Default: 50. Min: 1. Max: 50.

  • sort#string

    For more information please visit API overview

    Allowed values:
    • created
    • -created
    • id
    • -id
    • name
    • -name
    • updated
    • -updated

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 5 fields
    • relationships#object
      Show 2 fields
      • flow-action#object
        Show 1 field
      • template#object
        Show 1 field
    • type#stringrequired
      Allowed values:
      • flow-message
    • id#stringrequired
    • attributes#objectrequired
      Show 5 fields
      • name#stringrequired
      • channel#stringrequired
      • content#oneOfrequired

        One of:

        1. Option 1: EmailMessageContent
          • subject#stringrequired
          • preview_text#stringrequired
          • from_email#stringrequired
          • from_label#stringrequired
          • reply_to_email#stringnullable
          • cc_email#stringnullable
          • bcc_email#stringnullable
        2. Option 2: SMSMessageContent
          • body#stringrequired
          • media_url#stringnullable
        3. Option 3: MobilePushMessageContent
          • title#stringrequired
          • body#stringrequired
          • sound#boolean

            Default: false

          • badge#boolean

            Default: false

          • media_url#stringnullable
          • dynamic_image#stringnullable
          • on_open#string

            Default: home

            Example: home

      • created#string<date-time>nullable

        Example: 2022-11-08T00:00:00+00:00

      • updated#string<date-time>nullable

        Example: 2022-11-08T00:00:00+00:00

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string