curl 'https://api.clever.nivara.io/conversation/conv_123abc456def'
{
"conversation_id": "conv_123abc456def",
"response": "Thank you for providing all the information. I'll create a maintenance ticket for you now.",
"status": "completed",
"customer_info": {
"name": "John Smith",
"phone": "+1234567890",
"address": "123 Main St, City",
"issue": "Heating system not working",
"role": "tenant",
"priority": "high",
"type": "maintenance",
"date_time": "2024-03-21T10:30:00Z",
"submission_date_time": "2024-03-21T10:35:00Z"
},
"is_complete": true
}
API Reference
Get Conversation
Get conversation status and information
GET
/
conversation
/
{conversation_id}
curl 'https://api.clever.nivara.io/conversation/conv_123abc456def'
{
"conversation_id": "conv_123abc456def",
"response": "Thank you for providing all the information. I'll create a maintenance ticket for you now.",
"status": "completed",
"customer_info": {
"name": "John Smith",
"phone": "+1234567890",
"address": "123 Main St, City",
"issue": "Heating system not working",
"role": "tenant",
"priority": "high",
"type": "maintenance",
"date_time": "2024-03-21T10:30:00Z",
"submission_date_time": "2024-03-21T10:35:00Z"
},
"is_complete": true
}
Retrieve the current status and information for a specific conversation.
URL Parameters
string
required
The unique identifier of the conversation to retrieve
Response
string
Unique identifier for the conversation
string
Last response from the agent
string
Current status of the conversation
object
Customer information collected so far
boolean
Whether all required information has been collected
curl 'https://api.clever.nivara.io/conversation/conv_123abc456def'
{
"conversation_id": "conv_123abc456def",
"response": "Thank you for providing all the information. I'll create a maintenance ticket for you now.",
"status": "completed",
"customer_info": {
"name": "John Smith",
"phone": "+1234567890",
"address": "123 Main St, City",
"issue": "Heating system not working",
"role": "tenant",
"priority": "high",
"type": "maintenance",
"date_time": "2024-03-21T10:30:00Z",
"submission_date_time": "2024-03-21T10:35:00Z"
},
"is_complete": true
}