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

# Get a plugin subscription

`GET /plugins/{pluginId}/subscriptions/{id}`

## Request

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

Returns the plugin subscription.

## Path parameters

- `pluginId` string, uuid, required
- `id` string, uuid, required

## Response `200`

When request is successful. Returns a 'PluginSubscription' object.

- PluginSubscription
  - `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).

## Other responses

- `400`: When an unsupported request is made.
- `403`: When the authenticated account does not have access to the plugin subscription.
- `404`: When plugin subscription with specified id does not exist.

---

[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)
