# Headless API

- [Overview](https://docs.tebex.io/developers/headless-api/overview.md): Tebex Headless API allows integration of your store directly into your own frontend or in-game.
- [Headers & Authentication](https://docs.tebex.io/developers/headless-api/headers-and-authentication.md)
- [Getting Your Listings](https://docs.tebex.io/developers/headless-api/getting-your-listings.md)
- [Creating a Basket](https://docs.tebex.io/developers/headless-api/creating-a-basket.md)
- [Adding Packages](https://docs.tebex.io/developers/headless-api/adding-packages.md)
- [Gifting Packages](https://docs.tebex.io/developers/headless-api/gifting-packages.md)
- [Applying Discounts / Creator Codes](https://docs.tebex.io/developers/headless-api/applying-discounts-creator-codes.md)
- [Directing to Checkout](https://docs.tebex.io/developers/headless-api/directing-to-checkout.md)
- [Tiers](https://docs.tebex.io/developers/headless-api/tiers.md): Tiers are for upgrading between different levels of subscription packages and automatically applying their deliverables.
- [Sidebar](https://docs.tebex.io/developers/headless-api/sidebar.md): Configure dynamic store-driven UI blocks to render on your frontend.
- [Endpoints](https://docs.tebex.io/developers/headless-api/endpoints.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tebex.io/developers/headless-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
