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://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": [
        "authenticated",
        "USER_ID_PRIVATE_CHANNEL",
        "channelOne",
        "channelTwo"
    ],
    "anonymous": [
        "anonymous",
        "testRoom1",
        "testRoom2"
    ]
}

Last updated