---
title: "Get Action for Flow Message"
description: "How to call Get Action for Flow Message (GET /api/flow-messages/{id}/flow-action) 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_action_for_flow_message"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_action_for_flow_message"
operationId: "get_action_for_flow_message"
aliases: ["get_flow_message_action"]
method: "GET"
endpoint: "https://a.klaviyo.com/api/flow-messages/{id}/flow-action"
authentication: "privateKey"
scopes: ["flows:read"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"fields":{"flow-action":["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"]}}
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_flow_action_messages.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_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 Action for Flow Message

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

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

Get the flow action for a flow message with the given message ID.

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

## 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` (object)
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `flow-messages` (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-action`
  - `id` (string, required)
  - `attributes` (object, required)
    - `action_type` (string, nullable)
    - `status` (string, nullable)
    - `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` (object, nullable)
    - `tracking_options` (oneOf, nullable)
      - One of:
        - Option 1: `FlowEmailTrackingOptions` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 2: `FlowsSMSTrackingOptions` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `send_options` (object)
      - `use_smart_sending` (boolean, required)
      - `is_transactional` (boolean, required)
    - `render_options` (object)
      - `shorten_links` (boolean, required)
      - `add_org_prefix` (boolean, required)
      - `add_info_link` (boolean, required)
      - `add_opt_out_language` (boolean, required)
  - `links` (object, required)
    - `self` (string<uri>, required)

#### Example response body

```json
{
  "data": {
    "relationships": {
      "flow": {
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "flow-messages": {
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "type": "flow-action",
    "id": "string",
    "attributes": {
      "action_type": "string",
      "status": "string",
      "created": "2022-11-08T00:00:00+00:00",
      "updated": "2022-11-08T00:00:00+00:00",
      "settings": {},
      "tracking_options": {
        "add_utm": true,
        "utm_params": [
          {
            "name": "string",
            "value": "string"
          }
        ],
        "is_tracking_opens": true,
        "is_tracking_clicks": true
      },
      "send_options": {
        "use_smart_sending": true,
        "is_transactional": true
      },
      "render_options": {
        "shorten_links": true,
        "add_org_prefix": true,
        "add_info_link": true,
        "add_opt_out_language": true
      }
    },
    "links": {
      "self": "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"
      }
    }
  ]
}
```
