githubEdit

Get active channels

The API endpoint /message/channels will return all current active channels.

A channel is considered active if there is at least one client connected to it.

API: Return active channels

POST https://portal.yourdomain.com/message/channels

Headers

Name
Type
Description

content-type

string

application/json

accept

string

application/json

Request Body

Name
Type
Description

apiKey

string

the API key for your BF app

{
    "authenticated": [
        "channelOne",
        "channelTwo"
    ],
    "anonymous": [
        "testRoom1",
        "testRoom2"
    ]
}

Notes

  • Results are scoped to the current domain host.

  • The response groups active channel names under authenticated and anonymous.

Last updated

Was this helpful?