> For the complete documentation index, see [llms.txt](https://docs.patascore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patascore.com/financial-education-1/subscriptions/fetch-websocket-conversaction.md).

# User Subscriptions

<mark style="color:blue;">`GET`</mark> `{{BASE_URL}}/api/subscriptions/user-subscriptions`

#### Path Parameters

| Name       | Type    | Description             |
| ---------- | ------- | ----------------------- |
| lesson\_id | integer | ID of the lesson to get |

#### Headers

| Name           | Type   | Description                                                    |
| -------------- | ------ | -------------------------------------------------------------- |
| Authentication | string | Authentication token to track down who is emptying our stocks. |

{% tabs %}
{% tab title="200 OK" %}

```json
{
  "status": 200,
  "response_code": 0,
  "success": true,
  "errors": [],
  "message": "Subscriptions retrieved successfully",
  "data": [
    {
      "id": 301,
      "type": "single",
      "amount_paid": 2500.0,
      "original_price": 2500.0,
      "created_date": "2024-03-15T10:30:00.000Z",
      "status": "active",
      "courses": [
        {
          "id": 45,
          "name": "Personal Finance Fundamentals",
          "price": 2500.0,
          "description": "Master the basics of personal finance"
        }
      ]
    },
    {
      "id": 302,
      "type": "bundle",
      "amount_paid": 7500.0,
      "original_price": 7500.0,
      "created_date": "2024-03-20T14:15:00.000Z",
      "status": "pending",
      "courses": [
        {
          "id": 46,
          "name": "Investment Strategies",
          "price": 3500.0,
          "description": "Learn advanced investment techniques"
        },
        {
          "id": 47,
          "name": "Business Finance",
          "price": 4000.0,
          "description": "Financial management for entrepreneurs"
        }
      ]
    }
  ]
}
```

{% endtab %}
{% endtabs %}
