Skip to main content
POST
Run a flow

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Path Parameters

flow_id
string
required

The flow's flow_id.

Query Parameters

dry_run
boolean

true returns the price of the request instead of running it. Nothing is charged or created.

Body

application/json
inputs
string[]
required

The flow's inputs by id, as GET /v2/flows/{flow_id} lists them; {} for a flow without inputs. A brand kit input is {"brand_kit_id": "…", "brand_kit_template_slug": "…"}.

folder_reference
string

The reference of the project or folder to save the result in. Default: your Personal project.

Maximum string length: 64

Response

With dry_run=true: what the request would cost. Nothing is charged or created.

data
object
required