---
title: "Get plugin subscriptions"
method: GET
path: "/plugins/{pluginId}/subscriptions"
tags: ["Plugins"]
---

# Get plugin subscriptions

`GET /plugins/{pluginId}/subscriptions`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/plugins/{pluginId}/subscriptions`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Returns plugin subscriptions for the account.

## Path parameters

- `pluginId` string, uuid, required

## Query parameters

- `Offset` integer
- `Limit` integer

## Response `200`

When request is successful. Returns a paged collection of 'PluginSubscription' objects.

- PluginSubscriptionPagedCollection
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `value` PluginSubscription[], nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
    - `self` Link
      - `id` string, nullable
      - `href` string, nullable
      - `relation` string, nullable
      - `method` string, nullable
    - `id` string, nullable: Unique identifier of the subscription.
    - `pluginId` string, nullable: Unique identifier of the plugin.
    - `pluginVersionId` string, nullable: Unique identifier of the plugin version. Can be null.
    - `createdDate` string, date-time: Plugin subscription created date in UTC.
    - `lastUpdatedDate` string, date-time: Plugin subscription last updated date in UTC.
    - `isDisabled` boolean: True when the subscription is disabled (the plugin will not function for the user).
  - `offset` integer, nullable
  - `limit` integer, nullable
  - `size` integer
  - `first` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `previous` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `next` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `last` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable

## Other responses

- `400`: When an unsupported request is made.
- `403`: When the authenticated account does not have access to plugin subscriptions.
- `404`: When required resources are not found.

---

[API](https://skmtc.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
