---
title: "List who is in a chat"
method: POST
path: "/v1/actions/list_chat_participants"
tags: ["Messages"]
---

# List who is in a chat

`POST /v1/actions/list_chat_participants`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/list_chat_participants`
- Auth: HTTP bearer

List who is in one conversation.

isSelf is 1 on your own row.

Docs: https://heyreagent.com/docs/actions/list_chat_participants

## Request body

- object
  - `chatId` string, required: The conversation id (from list_chats).
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: returned, nextCursor, participants[].id, participants[].providerId, participants[].name, participants[].isSelf, participants[].hidden, participants[].pictureUrl, participants[].profileUrl.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

[API](https://skmtc.dev/heyreagent/apis/heyreagent-api.md) · [All operations](https://skmtc.dev/heyreagent/apis/heyreagent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heyreagent/apis/heyreagent-api/revisions/917360c5f841?raw)
