---
title: "Get Messages For Flow Action"
description: "How to call Get Messages For Flow Action (GET /api/flow-actions/{id}/flow-messages) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-07-15/reference/get_flow_action_messages_beta"
revision: "2025-07-15.pre"
latestUrl: "https://developers.klaviyo.com/en/reference"
operationId: "get_flow_action_messages_beta"
aliases: ["get_messages_for_flow_action"]
method: "GET"
endpoint: "https://a.klaviyo.com/api/flow-actions/{id}/flow-messages"
authentication: "privateKey"
scopes: ["flows:read"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
jsonApi: {"fields":{"flow-message":["created","updated","definition","definition.from_email","definition.from_label","definition.reply_to_email","definition.cc_email","definition.bcc_email","definition.subject_line","definition.preview_text","definition.template_id","definition.smart_sending_enabled","definition.transactional","definition.add_tracking_params","definition.custom_tracking_params","definition.additional_filters","definition.additional_filters.condition_groups","definition.name","definition.id","definition.to_emails","definition.title","definition.body","definition.sound","definition.badge","definition.badge_options","definition.badge_options.badge_config","definition.badge_options.value","definition.badge_options.set_from_property","definition.image_id","definition.dynamic_image","definition.on_open","definition.ios_link","definition.android_link","definition.conversion_metric_id","definition.shorten_links","definition.include_contact_card","definition.add_org_prefix","definition.add_info_link","definition.add_opt_out_language","definition.sms_quiet_hours_enabled","definition.url","definition.headers"]},"sort":["created","-created","id","-id","name","-name","updated","-updated"],"pagination":{"style":"cursor","defaultPageSize":"50"}}
related: ["https://developers.klaviyo.com/en/v2025-07-15/reference/flows-beta/llms.txt","https://developers.klaviyo.com/en/v2025-07-15/reference/get_flow_action_beta.md","https://developers.klaviyo.com/en/v2025-07-15/reference/update_flow_action_beta.md","https://developers.klaviyo.com/en/v2025-07-15/reference/get_flow_message_beta.md","https://developers.klaviyo.com/en/v2025-07-15/reference/get_action_for_flow_message_beta.md","https://developers.klaviyo.com/en/v2025-07-15/reference/get_action_id_for_flow_message_beta.md","https://developers.klaviyo.com/en/v2025-07-15/reference/get_actions_for_flow_beta.md"]
---

# Get Messages For Flow Action

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-07-15/reference/get_flow_action_messages_beta

```http
GET https://a.klaviyo.com/api/flow-actions/{id}/flow-messages
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2025-04-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


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-04-15.pre` (required)
- Scopes: `flows:read`
- Rate limits: Burst: `3/s`, Steady: `60/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/flow-actions/id/flow-messages' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-04-15.pre'
```

## Path parameters

- `id` (string, required)

## Query parameters

- `fields[flow-message]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-07-15/reference.md) Allowed values: `created`, `updated`, `definition`, `definition.from_email`, `definition.from_label`, `definition.reply_to_email`, `definition.cc_email`, `definition.bcc_email`, `definition.subject_line`, `definition.preview_text`, `definition.template_id`, `definition.smart_sending_enabled`, `definition.transactional`, `definition.add_tracking_params`, `definition.custom_tracking_params`, `definition.additional_filters`, `definition.additional_filters.condition_groups`, `definition.name`, `definition.id`, `definition.to_emails`, `definition.title`, `definition.body`, `definition.sound`, `definition.badge`, `definition.badge_options`, `definition.badge_options.badge_config`, `definition.badge_options.value`, `definition.badge_options.set_from_property`, `definition.image_id`, `definition.dynamic_image`, `definition.on_open`, `definition.ios_link`, `definition.android_link`, `definition.conversion_metric_id`, `definition.shorten_links`, `definition.include_contact_card`, `definition.add_org_prefix`, `definition.add_info_link`, `definition.add_opt_out_language`, `definition.sms_quiet_hours_enabled`, `definition.url`, `definition.headers`
- `filter` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-07-15/reference.md)\
  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](https://developers.klaviyo.com/en/v2025-07-15/reference.md)
- `page[size]` (integer): Default: 50. Min: 1. Max: 50.
- `sort` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-07-15/reference.md) Allowed values: `created`, `-created`, `id`, `-id`, `name`, `-name`, `updated`, `-updated`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-04-15.pre`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `relationships` (object)
    - `flow-action` (object)
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `template` (object)
      - `links` (RelationshipLinks): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `type` (string, required): Allowed values: `flow-message`
  - `id` (string, required)
  - `attributes` (object, required)
    - `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`
    - `definition` (oneOf, nullable): The encoded flow message definition.
      - One of:
        - Option 1: `FlowEmail` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 2: `FlowInternalAlert` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 3: `FlowPushNotification` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 4: `FlowSms` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 5: `FlowWebhook` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `first` (string<uri>)
  - `last` (string<uri>)
  - `prev` (string<uri>)
  - `next` (string<uri>)

#### Example response body

```json
{
  "data": [
    {
      "relationships": {
        "flow-action": {
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "template": {
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        }
      },
      "type": "flow-message",
      "id": "string",
      "attributes": {
        "created": "2022-11-08T00:00:00+00:00",
        "updated": "2022-11-08T00:00:00+00:00",
        "definition": {
          "from_email": "string",
          "from_label": "string",
          "reply_to_email": "string",
          "cc_email": "string",
          "bcc_email": "string",
          "subject_line": "string",
          "preview_text": "string",
          "template_id": "string",
          "smart_sending_enabled": true,
          "transactional": false,
          "add_tracking_params": false,
          "custom_tracking_params": [
            {
              "param": "string",
              "value": "string"
            }
          ],
          "additional_filters": {
            "condition_groups": [
              {
                "conditions": [
                  {
                    "type": "profile-property",
                    "property": "string",
                    "filter": {
                      "type": "string",
                      "operator": "contains",
                      "value": "string"
                    }
                  }
                ]
              }
            ]
          },
          "name": "string",
          "id": "string"
        }
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "first": "https://www.example.com",
    "last": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
