> For the complete documentation index, see [llms.txt](https://docs.1q.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1q.gg/documentation/1q-games-api.md).

# 1Q Games API

Everything you need to build, deploy, and manage your projects on the platform.

Integre o catálogo de jogos, crie sessões e conecte as transações à carteira do seu cassino.

{% hint style="info" %}
**Documentação v1 — rascunho para revisão.** Baseada no contrato HTTP e código de integração da 1Q. A disponibilidade de jogos reais depende do catálogo, configuração e certificação.
{% endhint %}

<button type="button" class="button primary" data-action="ask" data-icon="gitbook-assistant">Pergunte à documentação</button>

## Comece sua integração

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>🚀</td><td><strong>Início rápido</strong></td><td>Da credencial à primeira sessão.</td><td><a href="/documentation/getting-started/inicio-rapido-primeira-sessao.md">Início rápido — primeira sessão</a></td></tr><tr><td>🔐</td><td><strong>Segurança HMAC</strong></td><td>Assine chamadas corretamente.</td><td><a href="/documentation/core-concepts/autenticacao-hmac.md">Autenticação HMAC</a></td></tr><tr><td>🎮</td><td><strong>Games API</strong></td><td>Catálogo e lançamentos.</td><td><a href="/documentation/guides/guias-de-integracao.md">Guias de integração</a></td></tr><tr><td>💰</td><td><strong>Carteira</strong></td><td>Callbacks financeiros assinados.</td><td><a href="/documentation/reference/callback-financeiro-e-carteira-do-cassino.md">Callback financeiro e carteira do cassino</a></td></tr></tbody></table>

## Arquitetura

```mermaid
sequenceDiagram
 participant J as Jogador
 participant C as Backend do cassino
 participant Q as 1Q
 participant P as Provedor
 J->>C: Escolhe o jogo
 C->>Q: POST /api/v1/launches (HMAC)
 Q->>P: Solicita sessão
 P-->>Q: URL do jogo
 Q-->>C: launch_url e IDs
 C-->>J: Abre jogo
 P->>Q: Evento financeiro
 Q->>C: Callback assinado
 C-->>Q: Saldo/resultado
```

{% hint style="warning" %}
O cassino mantém a carteira autoritativa. A 1Q exige callbacks financeiros assinados e idempotentes. Esta documentação não cobre gerenciamento de Projetos por API.
{% endhint %}

[Entrar no painel](https://app.1q.gg) · [API base](https://api.1q.gg) · [Documentação](https://docs.1q.gg)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.1q.gg/documentation/1q-games-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
