REST API
- Written for
- + Written for
- Deprecated
- + Deprecated
- Applies to
- + Applies to
REST API
Base URL: https://api.coolgptgames.com (prod). Locally it's http://localhost:5001.
Method & path | Purpose |
|---|---|
| Create a game (draft). Body: |
| Start a bundle upload. Body: |
| Upload the zipped bundle bytes ( |
| Finalize → runs moderation. Body: |
| Your games (id, slug, title, status, plays, rating) — drafts included. (Public |
| Full manage view: versions, moderation feedback (verdict, confidence), analytics. |
| Edit metadata ( |
| Upload a new version (re-moderated). Same body fields as |
| Delist / soft-delete a game (also removes an unpublished draft). |
| Lifetime/last-30d earnings, available balance, plays, games. |
| Per-day earnings series. |
| Payout history + accrued balance. |
| Player reports across your games. |
| Manage API keys. |
A published game's manage view exposes a playUrl carrying a short-lived access ticket (?t=…); that's what the portal embeds. Direct/deep-linked bundle URLs without a fresh ticket are rejected by the CDN.