---
id: getsubscriptions
title: 'getSubscriptions()'
slug: getsubscriptions
custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v1_legacy.yml
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'

Returns an array of all your subscriptions.

```js
const subscriptions = supabase.getSubscriptions()
```

## Examples

### Get all subscriptions

```js
const subscriptions = supabase.getSubscriptions()
```
