---
title: "get public chats for current app"
method: GET
path: "/v1/chats/public"
tags: ["Chats"]
---

# get public chats for current app

`GET /v1/chats/public`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v1/chats/public`
- Auth: HTTP bearer

**Auth**: User JWT

get public chats for current app

## Response `200`

```
{
  ok: boolean,
}
```

- PublicChatsResponse
  - `limit` integer, required
  - `offset` integer, required
  - `total` integer, required
  - `items` ChatRecord[], required
    - `_id` string, nullable
    - `name` string
    - `title` string, nullable
    - `description` string, nullable
    - `type` string, nullable
    - `picture` string, nullable
    - `appId` string, nullable
    - `createdBy` string, nullable
    - `e2ee` boolean, nullable
    - `reported` boolean, nullable
    - `members` UserPublic[], nullable
      - `_id` string
      - `uuid` string, nullable
      - `xmppUsername` string
      - `email` string, nullable
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `username` string, nullable
      - `profileImage` string, nullable
      - `profilePicture` string, nullable
      - `description` string, nullable
      - `tags` string[], nullable
    - `createdAt` string, nullable
    - `updatedAt` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: ``` { error: 'Forbidden' } ```
- `404`: Not Found
- `422`: ``` { error: string } ```
- `500`: Internal Server Error

---

[API](https://skmtc.dev/ethora/apis/platform-api.md) · [All operations](https://skmtc.dev/ethora/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ethora/apis/platform-api/revisions/01b6e64378ee?raw)
