Chat channels

List chat channels

Changed on

Lists the chat channels in an account.

Required permissions:

  • chat:read
get/chat_channels

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/chat_channels
  • Auth: HTTP bearer

Query parameters

afterstring

Returns the elements in the list that come after the specified cursor.

beforestring

Returns the elements in the list that come before the specified cursor.

firstinteger

Returns the first n elements from the list.

Example:42
lastinteger

Returns the last n elements from the list.

Example:42
product_idstring

The unique identifier of a product to filter by. When set, only chat channels connected to this product are returned.

Example:prod_xxxxxxxxxxxxx
account_idstring required

The unique identifier of the company to list chat channels for.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

Example response

{
  "data": [
    {
      "experience": {
        "id": "exp_xxxxxxxxxxxxxx",
        "name": "Trading Signals Chat"
      },
      "user_posts_cooldown_seconds": 42
    }
  ]
}

Changes

    • breaking

      added the new required query request parameter account_id

    • warning

      deleted the query request parameter company_id