Skip to main content
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

string
required
UUID of the agent this variable belongs to
string
required
Variable name (e.g., caller_name, order_id). Used as the key in extracted data.
string
Description of what this variable captures. The AI uses this to know what to extract.
string
default:"text"
Data type: text, number, boolean, or enum
array
Required when var_type is enum. List of allowed values.

Response

string
UUID of the created variable
string
UUID of the agent
string
Variable name
string
Variable description
string
Data type (text, number, boolean, enum)
array
Allowed values (only for enum type)
string
ISO 8601 timestamp