# Feature Status

## Feature Status

Check whether a particular feature is enabled for the authenticated user.

### Request

| Name   | Value                                                  |
| ------ | ------------------------------------------------------ |
| URL    | `https://dev.pulsoid.net/api/v1/features/{feature_id}` |
| Method | `GET`                                                  |

#### Headers

| Name          | Value                   | Description                                                                                     |
| ------------- | ----------------------- | ----------------------------------------------------------------------------------------------- |
| Authorization | `Bearer {access_token}` | [How to obtain an access token](https://docs.pulsoid.net/#how-to-obtain-an-authorization-token) |

#### Path Parameters

| Name         | Type   | Description                                           |
| ------------ | ------ | ----------------------------------------------------- |
| `feature_id` | string | The feature identifier. See Available Features below. |

### Available Features

| `feature_id`                          | Description                 | Condition                                                                                         |
| ------------------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------- |
| `gd_mod`                              | Geometry Dash Mod           | Enabled with active premium (subscription, trial, or lifetime). Can also be granted individually. |
| `premium_widgets`                     | Premium Widgets             | Enabled with any active premium plan (subscription, trial, or lifetime).                          |
| `stream_deck_ingestion_pause_feature` | Stream Deck Ingestion Pause | Always enabled for all users.                                                                     |
| `discord_rich_presence`               | Discord Rich Presence       | Enabled with active premium (subscription, trial, or lifetime). Can also be granted individually. |

### Response

{% hint style="info" %}
Returns `404 Not Found` if the `feature_id` is not recognized.
{% endhint %}

```json
{
  "id": "premium_widgets",
  "enabled": true
}
```

| Field     | Type    | Description                                  |
| --------- | ------- | -------------------------------------------- |
| `id`      | string  | The requested feature identifier.            |
| `enabled` | boolean | Whether the feature is enabled for the user. |

### Example

**cURL Request**

```bash
curl --request GET \
  --url https://dev.pulsoid.net/api/v1/features/premium_widgets \
  --header 'Authorization: Bearer 052b0236-eac4-45c7-b889-556ececd4e90'
```

**Response**

```json
{
  "id": "premium_widgets",
  "enabled": true
}
```
