Variables
Get flow variables
POST
/variables/:flowId/fetch
Get variables. Variables are placeholders that can be used in component config or inputs. These placeholders are replaced either at runtime by data coming from components connected back in the chain (dynamic variables) or by real values (static variables).
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
useCache | boolean | Default |
flow | boolean | Default |
components | object | |
components.IDs | array<string> | Array of component IDs |
components.links | boolean | Default |
components.properties | boolean | Default |
Response
Example:
curl --location 'https://api.YOUR_TENANT.appmixer.cloud/variables/bfc64735-7cf0-4061-844c-e15a7147cbc7/fetch'
--header 'Authorization: Bearer [ACCESS_TOKEN]'
--header 'Content-Type: application/json'
--data '{ "useCache": true, "flow": false, "components": { "IDs": [ "bd9891a7-3303-43d4-a223-714a8db11e05" ], "properties": true, "links": false } }'
Last updated