Chat icon

Chat

Interact with the Chat API

Actions253

Chat Room → List

AI-generated

Summary

List chat rooms for a selected account

Inputs

  • accountId (required) — Select the account to use.

Output shape

list of chat room objects

Returns an array of chat room records; pagination details are not specified.

Examples

Example 1: Fetch all chat rooms for an account

Select an account ID; the operation returns a list of chat rooms.

Example 2: Retrieve chat rooms to prepare for adding members

Choose an account; the resulting list can be used before calling addMembers.

Example 3: Check chat room existence before sending a message

List chat rooms for the chosen account to verify the target room exists.

Links

Discussion