curl --location --request GET 'https://staging-api.formi.co.in/v2/interactions/454' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTAwLCJ0eXBlIjoiT1VUTEVUIiwibmFtZSI6IkVrb3N0YXkifQ.7ElxWvnf5p3_1MuXd5q-XyxFXXXHUFLgHs4YRgWuqbc'
{
"success": true,
"message": "Interaction details fetched successfully",
"payload": {
"interaction_id": 454,
"interaction_flow_type": "BIZ_START",
"interaction_modality": "CALL",
"interaction_status": "ended",
"scheduled_time": "2025-07-03 10:00:00",
"ended_time": "2025-07-03 10:12:04",
"scheduled_time_timezone": "UTC+5:30",
"variables": {
"interest": "demo",
"lead_source": "Facebook"
},
"messages": [
{
"sender": "agent",
"message": "Hello, how can I help you today?",
"timestamp": "2025-07-03T10:00:05Z"
},
{
"sender": "customer",
"message": "I want to know about your services",
"timestamp": "2025-07-03T10:00:10Z"
}
],
"transcript": "Agent greeted and introduced services. Customer showed interest.",
"customer_details": {
"customer_name": "John Doe",
"customer_phone_number": "9988776655",
"customer_email": "user@email.com"
}
}
}