Skip to content

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

KlaviyoKlaviyoDevelopers
v2023-10-15

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

Get Flow Action

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

Get a flow action from a flow with the given flow action ID.

Revision header
revision: 2023-10-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 14 allowed values
    • action_type
    • status
    • created
    • updated
    • settings
    • tracking_options
    • 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

    Allowed values:
    • name
    • channel
    • content
    • created
    • updated
  • fields[flow]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • status
    • archived
    • created
    • updated
    • trigger_type
  • include#string[]

    For more information please visit API overview

    Allowed values:
    • flow
    • flow-messages

Headers

  • revision#stringrequired

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

    2023-10-15

Responses

200Success

Content type: application/json

  • data#objectrequired
    Show 5 fields
    • relationships#object
      Show 2 fields
      • flow#object
        Show 2 fields
        • data#objectrequired
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • flow
          • id#stringrequired
      • flow-messages#object
        Show 2 fields
        • data#object[]required
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • flow-message
          • id#stringrequired
    • type#stringrequired
      Allowed values:
      • flow-action
    • id#stringrequired
    • attributes#objectrequired
      Show 8 fields
      • action_type#string
      • status#string
      • created#string<date-time>

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

      • updated#string<date-time>

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

      • settings#object
      • tracking_options#oneOf

        One of:

        1. Option 1: EmailTrackingOptions
          • 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: SMSTrackingOptions
          • 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
  • included#oneOf[]

    One of:

    1. Option 1: FlowResponseObjectResource
      • type#stringrequired
        Allowed values:
        • flow
      • id#stringrequired
      • attributes#objectrequired
        Show 6 fields
        • name#string
        • status#string
        • archived#boolean
        • created#string<date-time>

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

        • updated#string<date-time>

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

        • trigger_type#string

          Corresponds to the object which triggered the flow.

          Allowed values:
          • Added to List
          • Date Based
          • Metric
          • Price Drop
          • Unconfigured
    2. Option 2: FlowMessageResponseObjectResource
      • 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#string
            • cc_email#string
            • bcc_email#string
          2. Option 2: SMSMessageContent
            • body#stringrequired
            • media_url#string
        • 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