---
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-01-15/reference/get_flow_action_messages"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_flow_action_messages"
operationId: "get_flow_action_messages"
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
jsonApi: {"fields":{"flow-message":["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"]},"sort":["created","-created","id","-id","name","-name","updated","-updated"],"pagination":{"style":"cursor","defaultPageSize":"50"}}
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/flows/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flows.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/update_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow_action.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow_message.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_actions_for_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_action_ids_for_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_tags_for_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_tag_ids_for_flow.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow_for_flow_action.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flow_id_for_flow_action.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_message_ids_for_flow_action.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_action_for_flow_message.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_action_id_for_flow_message.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_template_for_flow_message.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_template_id_for_flow_message.md"]
---

# Get Messages For Flow Action

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

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

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-01-15` (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-01-15'
```

## Path parameters

- `id` (string, required)

## Query parameters

- `fields[flow-message]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) 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`
- `filter` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-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-01-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-01-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-01-15`

## 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)
    - `name` (string, required)
    - `channel` (string, required)
    - `content` (oneOf, required)
      - One of:
        - Option 1: `EmailMessageContent` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 2: `SMSMessageContent` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 3: `MobilePushMessageContent` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `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`
  - `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": {
        "name": "string",
        "channel": "string",
        "content": {
          "subject": "string",
          "preview_text": "string",
          "from_email": "string",
          "from_label": "string",
          "reply_to_email": "string",
          "cc_email": "string",
          "bcc_email": "string"
        },
        "created": "2022-11-08T00:00:00+00:00",
        "updated": "2022-11-08T00:00:00+00:00"
      },
      "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"
      }
    }
  ]
}
```
