Skip to content

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

KlaviyoKlaviyoDevelopers
v2024-06-15

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

Get Flow Action Messages

GEThttps://a.klaviyo.com/api/flow-actions/{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: 2024-06-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

    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

  • page[size]#integer

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

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

    2024-06-15

Responses

200Success

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