Skip to content

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

KlaviyoKlaviyoDevelopers
v2025-01-15

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

Update Flow Status

PATCHhttps://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-15required
Scopes
flows:write
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

    ID of the Flow to update. Ex: XVTP5Q

Headers

  • revision#stringrequired

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

    2025-01-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • flow
    • id#stringrequired

      ID of the Flow to update. Ex: XVTP5Q

    • attributes#objectrequired
      Show 1 field
      • status#stringrequired

        Status you want to update the flow to. ['draft', 'manual', or 'live']

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • flow
    • id#stringrequired
    • attributes#objectrequired
      Show 6 fields
      • name#stringnullable
      • status#stringnullable
      • archived#booleannullable
      • 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#stringnullable

        Corresponds to the object which triggered the flow.

        Allowed values:
        • Added to List
        • Date Based
        • Low Inventory
        • Metric
        • Price Drop
        • Unconfigured
    • relationships#object
      Show 2 fields
      • flow-actions#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • flow-action
          • id#stringrequired
      • tags#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • tag
          • id#stringrequired

4XXClient Error

Content type: application/vnd.api+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/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string