> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minestorecms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Learn more about MineStoreCMS REST API Endpoints and how to use them.

<Note>
  This documentation **may contain mistakes or inaccuracies**. Please, report **any issues to us**, and we will fix them as soon as possible.

  If you have any questions or need help, **please feel free to reach out to us.**
</Note>

## Welcome

**Welcome to the MineStoreCMS REST API documentation.** Here you will find all the information you need to interact with our API. The API is organized around **REST**. Our API has predictable **resource-oriented URLs**, accepts **form-encoded request bodies**, returns **JSON-encoded responses**, and uses **standard HTTP response codes, authentication, and verbs.**

## Authentication

You need to authenticate user to allow them purchase packages, view their cart, and more. To authenticate a user, you need to use the **Bearer Token**. You can get the token by using the **Authorization** endpoint.

You also need to include the **Bearer Token** in the **Authorization** header of your request by using **Cookies** or **Headers**.

<CardGroup cols={1}>
  <Card title={'Authorization'} icon={'lock'} description={'Authenticate a user to get the Bearer Token'} href={'/rest-api/endpoint/auth/username'}>
    Learn more about the Authorization endpoint.
  </Card>
</CardGroup>

<Warning>
  You can check how we implemented the **Authorization** endpoint in our [Official Template Repository](https://github.com/MineStoreCMS/minestore-next-official).
</Warning>
