---
title: "Get available users"
method: GET
path: "/chat-app/chats/users"
tags: ["💬 Chat App"]
---

# Get available users

`GET /chat-app/chats/users`

This API endpoint enables developers to retrieve a list of users who are available for chat interactions.

The endpoint facilitates the identification of potential chat partners or group members for the logged-in user.

It provides a seamless way to explore and initiate conversations, fostering a dynamic and engaging chat environment within the application.

## Response `200`

Get available users

- object
  - `data` object[]
    - `__v` number
    - `_id` string
    - `avatar` object
      - `_id` string
      - `localPath` string
      - `url` string
    - `createdAt` string
    - `email` string
    - `isEmailVerified` boolean
    - `loginType` string
    - `password` string
    - `role` string
    - `updatedAt` string
    - `username` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
