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:Unique identifier for the conversation
Last response from the agent
Current status of the conversation
Customer information for this conversation
Show properties
Show properties
Customer’s name
Contact phone number
Service address
Description of the issue
Customer’s role (optional)
Ticket priority (optional)
Request type (optional)
Timestamp of conversation
When ticket was submitted (optional)
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
}
]
⌘I