# Games catalog API

The platform can provide to Smartico with a simple HTTP REST API to expose the list of Casino games or/and Sports events.&#x20;

This information will be used to associate Missions and Tournaments with exact games on the Platform, show names and images, and link the user to the game page.

<figure><img src="/files/OCoKGwdrsPrvowSaiGyF" alt="" width="336"><figcaption><p>Example of mission widget with related games</p></figcaption></figure>

<figure><img src="/files/vceCZ5fvOK6GoLoNBAWe" alt=""><figcaption><p>Tournament setup with related games</p></figcaption></figure>

To have this option, the external system should provide REST HTTP/S API available with GET/POST methods and return a JSON array with the id/name/image/link of all games. Example of response

```json
[
    {
        "id": 123,
        "name": "Super slot",
        "link": "https://sone.com/game1",
        "image": "https://some.com/1.png",
        "enabled": true,
        "game_categories": ["Slots", "Live"],
        "game_provider": "RTG"
    },
    {
        "id": 124,
        "name": "Super slot 2",
        "link": "https://sone.com/game1",
        "image": "https://some.com/1.png",
        "enabled": true,
        "game_categories": ["Poker"],
        "game_provider": "Playtech"             
    },
    ....
]
```

Notes:

* API should be publicly available but can be protected with static keys for Basic Authorization of static secret tokens in HTTP headers.
* Game categories and provider are optional fields
* link field can be related to the root of the site, e.g. "/start-game/game1" or could be a javascript, e.g. "javascript:startGame(123)"


---

# 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://help.smartico.ai/welcome/~/changes/B87CND5z8x8BAzJwmSVQ/technical-guides/games-catalog-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.
