Dynamic Variables
Create Dynamic Variable
Create a new dynamic variable for an agent
POST
Create a dynamic variable that your AI agent will extract from conversations. Dynamic variables let you capture structured data (names, emails, order numbers, etc.) during calls.
Request Body
UUID of the agent this variable belongs to
Variable name (e.g.,
caller_name, order_id). Used as the key in extracted data.Description of what this variable captures. The AI uses this to know what to extract.
Data type:
text, number, boolean, or enumRequired when
var_type is enum. List of allowed values.Response
UUID of the created variable
UUID of the agent
Variable name
Variable description
Data type (text, number, boolean, enum)
Allowed values (only for enum type)
ISO 8601 timestamp