> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rogeriq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List conversations

` GET /projects/{projectId}/conversations `

List conversations

## Servers

- ` https://api.rogeriq.com/api/v1 `

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` apiKey `: ` apiKey `

  - Credential: ` X-API-Key ` in ` header `

  - API key with `riq_` prefix

## Parameters

### ` projectId ` (path, required)

- ` value `: type ` string `

### ` status ` (query, optional)

- ` value `: type ` string `

  - enum: ` ["open","snoozed","resolved","closed"] `

### ` priority ` (query, optional)

- ` value `: type ` string `

  - enum: ` ["low","normal","high","urgent"] `

### ` channel ` (query, optional)

- ` value `: type ` string `

### ` assigned_to ` (query, optional)

- ` value `: type ` string `

### ` contact_id ` (query, optional)

- ` value `: type ` string `

### ` q ` (query, optional)

- ` value `: type ` string ` — Search subject/ID

### ` cursor ` (query, optional)

- ` value `: type ` string `

### ` limit ` (query, optional)

- ` value `: type ` integer `

  - default: ` 50 `

  - minimum: ` 1 `

  - maximum: ` 100 `

### ` sort ` (query, optional)

- ` value `: type ` string `

  - default: ` "created_at" `

### ` order ` (query, optional)

- ` value `: type ` string `

  - enum: ` ["asc","desc"] `

  - default: ` "desc" `

## Responses

### ` 200 ` — Paginated list of conversations

Content type: ` application/json `

- ` value `: type ` object `

  - ` data `: type ` array `

    - ` array item `: type ` object `

      - ` id `: type ` string `

      - ` project_id `: type ` string `

      - ` contact_id `: type ` string `; nullable

      - ` subject `: type ` string `; nullable

      - ` status `: type ` string `

        - enum: ` ["open","snoozed","resolved","closed"] `

      - ` priority `: type ` string `

        - enum: ` ["low","normal","high","urgent"] `

      - ` channel `: type ` string `

        - enum: ` ["email","chat","slack","discord","telegram","api","widget"] `

      - ` assigned_to `: type ` string `; nullable

      - ` tags `: type ` array `

        - ` array item `: type ` string `

      - ` ai_resolved `: type ` boolean `

      - ` created_at `: type ` string `; format ` date-time `

      - ` updated_at `: type ` string `; format ` date-time `

  - ` cursor `: type ` string `; nullable

  - ` has_more `: type ` boolean `

### ` 401 ` — Unauthorized

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `, ` code `

  - ` error `: type ` string ` — Human-readable message

  - ` code `: type ` string ` — Stable machine-readable code. Branch on this, not the message. Examples: BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, CONFLICT, RATE_LIMITED, RESOURCE_NOT_FOUND.

  - ` request_id `: type ` string ` — Echoed in X-Request-Id header. Include when reporting issues.

  - ` retry_after `: type ` integer ` — Seconds until next attempt (429 only)

  - ` issues `: type ` array ` — Field-level validation errors (only present on 400 responses)

    - ` array item `: type ` object `

      - ` path `: type ` string `

      - ` message `: type ` string `

## Request examples

### cURL

```curl
curl -X GET 'https://api.rogeriq.com/api/v1/projects/string/conversations' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://api.rogeriq.com/api/v1/projects/string/conversations', {
  method: 'GET',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN"
  }
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://api.rogeriq.com/api/v1/projects/string/conversations', headers=headers)
print(response.json())
```