curl 'https://api.clever.nivara.io/conversations'
[
{
"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
},
{
"conversation_id": "conv_789xyz012uvw",
"response": "Could you please describe the issue you're experiencing?",
"status": "in_progress",
"customer_info": {
"name": "Jane Doe",
"phone": "+0987654321",
"address": "456 Oak Ave, Town",
"issue": null,
"role": null,
"priority": null,
"type": null,
"date_time": "2024-03-21T10:40:00Z",
"submission_date_time": null
},
"is_complete": false
}
]
API Reference
List Conversations
List all active conversations
GET
/
conversations
curl 'https://api.clever.nivara.io/conversations'
[
{
"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
},
{
"conversation_id": "conv_789xyz012uvw",
"response": "Could you please describe the issue you're experiencing?",
"status": "in_progress",
"customer_info": {
"name": "Jane Doe",
"phone": "+0987654321",
"address": "456 Oak Ave, Town",
"issue": null,
"role": null,
"priority": null,
"type": null,
"date_time": "2024-03-21T10:40:00Z",
"submission_date_time": null
},
"is_complete": false
}
]
Retrieve a list of all active conversations in the system.
Response
Returns an array of conversation objects, each containing:string
Unique identifier for the conversation
string
Last response from the agent
string
Current status of the conversation
object
Customer information for this conversation
boolean
Whether all required information has been collected
curl 'https://api.clever.nivara.io/conversations'
[
{
"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
},
{
"conversation_id": "conv_789xyz012uvw",
"response": "Could you please describe the issue you're experiencing?",
"status": "in_progress",
"customer_info": {
"name": "Jane Doe",
"phone": "+0987654321",
"address": "456 Oak Ave, Town",
"issue": null,
"role": null,
"priority": null,
"type": null,
"date_time": "2024-03-21T10:40:00Z",
"submission_date_time": null
},
"is_complete": false
}
]