---
title: "Update Flow Status"
description: "How to call Update Flow Status (PATCH /api/flows/{id}) 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/update_flow"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/update_flow"
operationId: "update_flow"
method: "PATCH"
endpoint: "https://a.klaviyo.com/api/flows/{id}"
authentication: "privateKey"
scopes: ["flows:write"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
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/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_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"]
---

# Update Flow Status

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

```http
PATCH https://a.klaviyo.com/api/flows/{id}
```

Update the status of a flow with the given flow ID, and all actions in that flow.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `flows:write`
- Rate limits: Burst: `3/s`, Steady: `60/m`

## Example request

```bash
curl --request PATCH \
     --url 'https://a.klaviyo.com/api/flows/id' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "flow",
    "id": "string",
    "attributes": {
      "status": "string"
    }
  }
}'
```

## Path parameters

- `id` (string, required): ID of the Flow to update. Ex: XVTP5Q

## Headers

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

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `flow`
  - `id` (string, required): ID of the Flow to update. Ex: XVTP5Q
  - `attributes` (object, required)
    - `status` (string, required): Status you want to update the flow to. ['draft', 'manual', or 'live']

### Example request body

```json
{
  "data": {
    "type": "flow",
    "id": "string",
    "attributes": {
      "status": "string"
    }
  }
}
```

## Responses

### 200: Success

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

- `data` (object, required)
  - `type` (string, required): Allowed values: `flow`
  - `id` (string, required)
  - `attributes` (object, required)
    - `name` (string, nullable)
    - `status` (string, nullable)
    - `archived` (boolean, 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`
    - `trigger_type` (string, nullable): Corresponds to the object which triggered the flow. Allowed values: `Added to List`, `Date Based`, `Low Inventory`, `Metric`, `Price Drop`, `Unconfigured`
  - `relationships` (object)
    - `flow-actions` (object)
      - `data` (object[]): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `tags` (object)
      - `data` (object[]): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (RelationshipLinks): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `links` (object, required)
    - `self` (string<uri>, required)

#### Example response body

```json
{
  "data": {
    "type": "flow",
    "id": "string",
    "attributes": {
      "name": "string",
      "status": "string",
      "archived": true,
      "created": "2022-11-08T00:00:00+00:00",
      "updated": "2022-11-08T00:00:00+00:00",
      "trigger_type": "Added to List"
    },
    "relationships": {
      "flow-actions": {
        "data": [
          {
            "type": "flow-action",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "tags": {
        "data": [
          {
            "type": "tag",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "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"
      }
    }
  ]
}
```
