[{
"var_name": "escalated_2",
"var_type": "boolean",
"description": "If the user asks to speak to a human or the agent asks for a callback from our team, this should be true;",
"variable_id": 2,
"agent_id":2,
"destination_ids": []
}]curl --location --request PUT 'https://staging-api.formi.co.in/v2/post_call/data/variables?agent_id=2' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxIiwianRpIjoiMDBhNzJmZDFhZTU0NDE4ZGFkMWQzMmY4YzAzOGYyYjgiLCJ2ZXIiOjIsImlhdCI6MTc3NzIyMzgwOCwiZXhwIjoxNzc3MjMxMDA4LCJ0eXBlIjoiT1VUTEVUIn0.MfqKGL-W-9YJ2hOV9NS_f3oADRqLmI2jaSjFFzR68es' \
--header 'Content-Type: application/json' \
--data-raw '[{
"var_name": "escalated_2",
"var_type": "boolean",
"description": "If the user asks to speak to a human or the agent asks for a callback from our team, this should be true;",
"variable_id": 2,
"agent_id":2,
"destination_ids": []
}]'[
{
"var_name": "is_manager_call",
"var_type": "string",
"description": "Whether the call was escalated to a manager",
"variable_id": 67,
"destination_ids": [
6
]
}
]