What are Departments?
Departments allow you to organize your team into groups (e.g., Sales, Support, Finance) and control which conversations each group can view.Organization
Group users by function or area of expertise
Visibility
Operators only see conversations from their department
Visibility Rules
| Role | Visible Conversations |
|---|---|
| Owner / Admin | All conversations (with optional department filter) |
| Operator with department | Their department’s conversations + unassigned conversations |
| Operator without department | Only unassigned conversations |
Department Model
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /backend/departments | List departments |
GET | /backend/departments/my | My departments |
POST | /backend/departments | Create department |
GET | /backend/departments/{id} | Get department |
PUT | /backend/departments/{id} | Update department |
DELETE | /backend/departments/{id} | Delete department |
GET | /backend/departments/{id}/members | List members |
POST | /backend/departments/{id}/members | Add member |
DELETE | /backend/departments/{id}/members/{userId} | Remove member |
Permissions (RBAC)
- Admin/Owner: Full access (department and member CRUD)
- Operator: Only
GET /departments/my(view their own departments)