> 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/fetch-modules-by-program-identifier.md).

# Fetch Modules

## Get Cakes

<mark style="color:blue;">`GET`</mark> `{{BASE_URL}}/api/v1/fe/program/modules?program_identifier=[program_id]`

This endpoint allows you to get free cakes.

#### Path Parameters

| Name                | Type   | Description             |
| ------------------- | ------ | ----------------------- |
| program\_identifier | string | Program Identifier UUID |

#### Headers

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

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{
    "status": 200,
    "message": "Modules successfully fetched",
    "data": [
        {
            "identifier": "31b2166c-dccf-4c92-a124-209c1d86c07c",
            "description": "Credit Scores & CRBs Tips",
            "more_details": "More Details about Module"
        },
        {
            "identifier": "3a45b50b-ca48-4616-9c5a-6f2568079304",
            "description": "General Financial Tips",
            "more_details": "More Details about Module"
        }
    ]
}

```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{
    "status": 404,
    "message": "Modules Not Found"
}

```

{% endtab %}
{% endtabs %}
