[
{
"var_name": "string",
"var_type": "string",
"description": "string",
"variable_id": 0,
"destination_ids": [
0
]
}
]
curl --location --request GET 'https://staging-api.formi.co.in/v2/post_call/data/variables' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"var_name": "string",
"var_type": "string",
"description": "string",
"variable_id": 0,
"destination_ids": [
0
]
}
]'
{
"message": "success",
"payload": [
{
"var_name": "name",
"var_type": "string",
"description": "Name of the customer",
"variable_id": 54,
"destination_ids": [
4,
5
]
},
{
"var_name": "email_id",
"var_type": "string",
"description": "Email of the user",
"variable_id": 55,
"destination_ids": [
4,
5
]
},
{
"var_name": "phone_number",
"var_type": "string",
"description": "phone number of the user",
"variable_id": 56,
"destination_ids": [
4,
4,
5
]
},
{
"var_name": "enquiry_type",
"var_type": "string",
"description": "enquiry asked by the user",
"variable_id": 57,
"destination_ids": [
4,
5
]
},
{
"var_name": "occasion",
"var_type": "string",
"description": "occasion mentioned by the user",
"variable_id": 58,
"destination_ids": [
4,
5
]
},
{
"var_name": "call_summary",
"var_type": "string",
"description": "Summary of the entire conversation with the user , described in around 30-40 words",
"variable_id": 60,
"destination_ids": [
4,
5
]
}
]
}