Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow_message.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 Flow Message

GEThttps://a.klaviyo.com/api/flow-messages/{id}

Get the flow message of a flow with the given message ID.

Revision header
revision: 2025-01-15required
Scopes
flows:read
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[flow-action]#string[]

    For more information please visit API overview

    Show 18 allowed values
    • action_type
    • status
    • created
    • updated
    • settings
    • tracking_options
    • tracking_options.add_utm
    • tracking_options.utm_params
    • tracking_options.is_tracking_opens
    • tracking_options.is_tracking_clicks
    • send_options
    • send_options.use_smart_sending
    • send_options.is_transactional
    • render_options
    • render_options.shorten_links
    • render_options.add_org_prefix
    • render_options.add_info_link
    • render_options.add_opt_out_language
  • 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
  • fields[template]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • editor_type
    • html
    • text
    • amp
    • created
    • updated
  • include#string[]

    For more information please visit API overview

    Allowed values:
    • flow-action
    • template

Headers

  • revision#stringrequired

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

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • relationships#object
      Show 2 fields
      • flow-action#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • flow-action
          • id#stringrequired
      • template#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • template
          • id#stringrequired
    • 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

  • included#oneOf[]

    One of:

    1. Option 1: FlowActionResponseObjectResource
      • type#stringrequired
        Allowed values:
        • flow-action
      • id#stringrequired
      • attributes#objectrequired
        Show 8 fields
        • action_type#stringnullable
        • status#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

        • settings#objectnullable
        • tracking_options#oneOfnullable

          One of:

          1. Option 1: FlowEmailTrackingOptions
            • add_utm#booleanrequired
            • utm_params#object[]required
              Show 2 fields
              • name#stringrequired
              • value#stringrequired
            • is_tracking_opens#booleanrequired
            • is_tracking_clicks#booleanrequired
          2. Option 2: FlowsSMSTrackingOptions
            • add_utm#booleanrequired
            • utm_params#UtmParamInfo[]required

              Same fields as the first UtmParamInfo above.

        • send_options#object
          Show 2 fields
          • use_smart_sending#booleanrequired
          • is_transactional#booleanrequired
        • render_options#object
          Show 4 fields
          • add_org_prefix#booleanrequired
          • add_opt_out_language#booleanrequired
    2. Option 2: TemplateResponseObjectResource
      • type#stringrequired
        Allowed values:
        • template
      • id#stringrequired

        The ID of template

      • attributes#objectrequired
        Show 7 fields
        • name#stringrequired

          The name of the template

        • editor_type#stringrequired

          editor_type has a fixed set of values:

          • SYSTEM_DRAGGABLE: indicates a drag-and-drop editor template
          • SIMPLE: A rich text editor template
          • CODE: A custom HTML template
          • USER_DRAGGABLE: A hybrid template, using custom HTML in the drag-and-drop editor
        • html#stringrequired

          The rendered HTML of the template

        • text#stringnullable

          The template plain_text

        • amp#stringnullable

          The AMP version of the template. Requires AMP Email to be enabled to access in-app. Refer to the AMP Email setup guide at Send AMP emails in Klaviyo

        • created#string<date-time>nullable

          The date the template was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

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

        • updated#string<date-time>nullable

          The date the template was updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

          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