Skip to content

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

KlaviyoKlaviyoDevelopers
v2023-01-24

You're reading the reference for API revision 2023-01-24. 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: 2023-01-24required
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])

    2023-01-24

Request body

Content type: application/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

200

Content type: application/json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • flow
    • id#stringrequired
    • attributes#objectrequired
      Show 6 fields
      • name#string
      • status#string
      • archived#boolean
      • created#string<date-time>

        Example: 2022-11-08T00:00:00

      • updated#string<date-time>

        Example: 2022-11-08T00:00:00

      • trigger_type#string

4XXClient Error

Content type: application/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/json

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