v1
latestOpenAPI 3.1.02026-07-22115189303.8 KBWorkflows
Get workflow variables
Retrieve all variables available in a workflow, including both fixed system variables and variables discovered from execution history.
Returns two categories of variables:
- Fixed variables: Built-in system and context variables always available (flow_id, started_at, channel, phone_number, etc.)
- Discovered variables: User-defined variables observed during workflow executions, with sample values and usage statistics
Use this endpoint to:
- Understand what variables are available for use in workflow steps
- Review variable types and sample values for debugging
- Build autocomplete for variable references in workflow editors
get/workflows/{workflow_id}/variables
Response
Variables retrieved successfully