Skip to content

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

KlaviyoKlaviyoDevelopers
v2023-01-24

You're reading the reference for API revision 2023-01-24. 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/{action_id}/flow-messages/

Get all flow messages associated with the given action ID.

Flow messages can be sorted by the following fields, in ascending and descending order:

ascending: id, name, created, updated descending: -id, -name, -created, -updated

Returns a maximum of 50 flows per request, which can be paginated with offset pagination. Offset pagination uses the following parameters: page[size] and page[number]

Revision header
revision: 2023-01-24required
Scopes
Flows Read
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • action_id#stringrequired

Query parameters

  • fields[flow-message]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • channel
    • content
    • 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

  • 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])

    2023-01-24

Responses

200

Content type: application/json

  • data#object[]required
    Show 4 fields
    • 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_name#stringrequired
        2. Option 2: SMSMessageContent
          • body#stringrequired
          • media#stringrequired
      • created#string<date-time>

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

      • updated#string<date-time>

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

4XXClient Error

Content type: application/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/json

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