Skip to main content
POST
Move a flow to another Agent Studio folder

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

flow_id
string
required

Body

application/json
folder
string | null

The folder to put it in, by its name exactly as GET /v1/automations/folders lists it

Required string length: 1 - 255
folder_id
string | null

Or the folder's id (GET /v1/automations/folders)

Response

200 - application/json

Successful Response

flow_id
string
required
folder
string
required

The folder it is in now

moved
boolean
required

False when it was already there