Skip to main content
What you will learn: This page explains how conversations work in ZappWay, how to list and manage them, how to update their status in bulk, how to export them, and how to use the AI summary feature.

🔢 Table of Contents

  1. Overview
  2. Endpoint Reference
  3. Listing Conversations
  4. Managing a Conversation
  5. Bulk Status Update
  6. Export Conversations
  7. Evaluating Answers
  8. Response Format
  9. Best Practices
  10. Troubleshooting

1. Overview

What is a Conversation?

A Conversation in ZappWay is a complete thread of messages between a contact and your organization — mediated by an AI Employee, a human agent, or both. Conversations can originate from:
  • 💬 WhatsApp (Business API)
  • 📧 Email Inbox
  • 🌐 Widget (website chat)
  • 📱 TikTok DMs
  • 🔌 Any connected integration
Every conversation has:
  • A contact — who the conversation is with
  • A channel — where the conversation is happening
  • A statusopen, resolved, or snoozed
  • An AI Employee assignment (optional)
  • A full message thread with timestamps

AI and Human Collaboration

Conversations support a hybrid model: the AI Employee can handle messages automatically, and a human agent can take over at any point. The AI’s messages and human messages both appear in the same thread.

2. Endpoint Reference


3. Listing Conversations

List Conversations

Supports optional authentication — authenticated requests return organization conversations; unauthenticated requests may return public widget conversations. Query Parameters: Example:
Response:
cURL:
TypeScript:

4. Managing a Conversation

Get a Conversation

Returns the full conversation object, including all messages and contact details.

Update a Conversation

Request Body: Example — Resolve a conversation:
Example — Assign to AI Employee:
Example — Snooze:

Delete a Conversation

⚠️ Deleting a conversation permanently removes all associated messages. This action is irreversible.

5. Bulk Status Update

Update the status of multiple conversations at once.
Request Body: Example — Resolve multiple conversations:
cURL:

Mark as Unread in Bulk

Request Body:

6. Export Conversations

Download conversations as a file for reporting, compliance, or analysis.
Query Parameters: Example:
The response contains the file as a downloadable attachment.

7. Evaluating Answers

Use the evaluation endpoint to rate the quality of AI-generated answers. This feedback is used to improve AI performance over time.
Request Body: Example:

8. Response Format

Conversation Object

Status Codes


9. Best Practices

Status Management

Tips:
  • Use bulk status update for end-of-day queue management
  • Set snoozeUntil to the next business day for low-priority conversations
  • Resolve conversations promptly to keep your queue clean
  • Combine filters (e.g., status=open&channel=whatsapp&agentId=agent_123) for precise results
  • Use search for keyword lookup when you remember conversation content but not the contact
  • Export filtered subsets for specific reporting needs

AI Answer Evaluation

  • Rate AI answers regularly to improve model performance
  • Provide written feedback for negative ratings — this helps identify patterns
  • Focus on rating answers where the AI made a factual error or missed the intent

10. Troubleshooting