palbaseDocs

Palbase Realtime · API

GET/realtime/channels

Read the channel declaration

The project's channels, in the order they are matched: the first pattern that matches a channel decides it.

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/realtime/channels" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The declaration

401No key, or not a key of this project, or a token that is not valid (the edge's answer)

403Not the project's secret key

429The project's request rate, its realtime quota for the period, or the connections it allows are used up; Retry-After says when to try again

503The platform could not answer now; retrying is safe (Retry-After)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetChannels of realtime's contract.