--- id: getchannels title: 'getChannels()' slug: /getchannels custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v2_legacy.yml --- import Tabs from '@theme/Tabs' import TabItem from '@theme/TabItem' Returns all Realtime channels. ```js const channels = supabase.getChannels() ``` ## Examples ### Get all channels ```js const channels = supabase.getChannels() ```