---
title: "Retrieves list of all inbox conversations"
method: GET
path: "/chat/conversations"
tags: ["Conversation"]
---

# Retrieves list of all inbox conversations

`GET /chat/conversations`

## Query parameters

- `page` integer
- `items_per_page` integer
- `status` string[]
- `type` string[]
- `user_id` string[]
- `sortBy` string[]
- `created_at_from` string, date-time
- `created_at_to` string, date-time
- `closed_at_from` string, date-time
- `closed_at_to` string, date-time
- `medium` string[]
- `team_team_id_exists` boolean
- `team_team_id` string[]
- `chatterbox_profiles_exists` boolean
- `chatterbox_profiles_entity_id` string[]
- `closed_by_user_id` string[]

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string

## Response `200`

List of all inbox conversations will be returned

- object[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `conversation_uuid` string, uuid
  - `medium` 'sms' | 'chat' | 'whatsapp'
  - `participants` object[]
    - `user_id` string, required
  - `chatterbox_profiles` object[], required
    - `contact_person_id` string
    - `user_id` string
    - `entity_id` string
    - `entity_type` string
  - `type` 'candidate_support' | 'system_support' | 'candidate_support_initiated' | 'system_support_initiated' | 'client_support_initiated' | 'client_support' | 'guest_support'
  - `name` string
  - `first_message` string
  - `channel_id` string, required
  - `channel_attributes` object, required
  - `status` 'open' | 'closing' | 'closed' | 'orphan' | 'archived', required
  - `created_by` object, required
    - `user_id` string, required
    - `context_type` string, required
    - `context_id` string
  - `note_channel_id` string, required
  - `note_channel_attributes` object, required
  - `team` object
    - `team_id` string
    - `team_name` string
  - `owner` object, required
    - `resource_type` 'agency' | 'agencygroup' | 'systemadmin', required
    - `resource_id` string
  - `guest_reason` string
  - `closed_by_user_id` string
  - `closed_at` string, date-time
  - `bots` object[]
    - `_id` string, required
    - `name` string, required
    - `avatar` string, required

## Other responses

- `204` — No Content. There were no records to return based on your query.
- `400` — Validation error on get list
- `401` — Failed to authenticate the user making the request
- `403` — Permission denied error
- `409` — Failed when some conflicts occurred with the data
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
