Skip to main content
A submission sends one release to review. A deploy sends the release to review by itself once it is ready, and review runs by itself. When details are still owed, or the jam is offered, the submission then waits until you confirm the details, and enter the jam, on the deploy page the certifyUrl names, or with POST /api/v1/submissions/{id}/publish and a token holding submit. An update of a game that is already live publishes by itself. POST /api/v1/submissions is for sending a release again after review returned it, or for the QA destination. While a jam runs, only admins and accounts OpenGame lists as publishers publish outside it: any other account’s original game goes live only as a jam entry. Mods and decomps publish under Just for fun at any time and never enter the jam. Authentication covers each credential, and errors covers the JSON error body.

Send a release to review

POST https://opengame.io/api/v1/submissions Authentication: A creator token or a signed-in browser session. A deploy sends the release to review by itself once it is ready, so this is for sending a release again after review returned it, or for the QA destination. Needs the submit scope on the release’s game and an Idempotency-Key. A retry with the same key and body returns the stored submission with 200. The server chooses the destination, a jam or the marketplace, and you cannot override it; GET /api/v1/jams names which. When statements still need certifying, the submission’s state is needs_certification and certifyUrl is the browser page to do it. A browser session must send Origin set to the OpenGame origin.

Parameters

Headers

string
required
Generate once per submission and reuse it on each retry. 1 to 128 characters. Matches ^[A-Za-z0-9._:-]+$. Example: cli-20261021-7c9e6679.

Body

Sent as application/json.
string (uuid)
required
Example: c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345.
object or null
The jam answers, from GET /api/v1/jams/{slug}/form. Null or absent when the destination is the marketplace. Null or absent with destination: "qa". When it is a jam, null is rejected with submission_destination_mismatch, and leaving it out sends empty answers, which the form then checks.
object
The browser’s review of the release, with a jam entry. It does not change the release. Each selected sponsor needs an account email, and termsAccepted is true. A marketplace or QA submit omits it; sending it there does not store it.
string
Always qa. Ask for the QA destination: the submission enters no jam, goes through the same scan, playtest and review, and is published unlisted if a reviewer approves it. The server checks the account’s QA grant, which an OpenGame owner sets in the console, and refuses with qa_destination_not_permitted without one. Leave it out for the server’s usual destination.

Request

cURL

Response 200

Nothing new was submitted. Either this is a retry under the same key (submission.replayed), or the release already has a review open (submission.existing), usually the one the deploy started by itself once it was ready. With existing, the jam answers and metadata in this request were not used: once review passes, the details and any jam entry are confirmed with POST /api/v1/submissions/{id}/publish, or on the page certifyUrl names.

Response 201

Submitted.

Errors

Read a submission

GET https://opengame.io/api/v1/submissions/{id} Authentication: A creator token or a signed-in browser session. Needs read or submit on the submission’s game. Each read also advances review and publication, so poll this to follow a submission.

Parameters

Path

string
required
Submission UUID. Example: 6b0d3f9e-2a7c-4d18-9f4b-3e6a1c8d5b02.

Request

cURL

Response 200

The submission.

Errors

Publish a release that passed review

POST https://opengame.io/api/v1/submissions/{id}/publish Authentication: A creator token or a signed-in browser session. Confirms the details of a release waiting on the creator (state awaiting_details) and publishes it, as Confirm and publish does on the deploy’s page, through the same confirmation. Needs the submit scope on the submission’s game. An update of a game that is already live publishes by itself once it passes, so this is for a first publish, or a release that waits on an answer only the creator gives, such as the jam’s track. Each field is optional: one left out is what the deploy’s page would have sent untouched, which is the game’s own words and genre, and review’s choice for anything the deploy left to Auto. Words the game has already are not changed here; PATCH /api/v1/games/{id} changes them. A release with nothing left to confirm (publishing, published, returned) is answered with where it stands. A browser session must send Origin set to the OpenGame origin. Then poll GET /api/v1/submissions/{id} until state is published, when live.url is the address to share.

Parameters

Path

string
required
Submission UUID. Example: 6b0d3f9e-2a7c-4d18-9f4b-3e6a1c8d5b02.

Body

Sent as application/json.
string
The title, only when the deploy guessed it. At most 80 characters.
string
The tagline, only when the game has none. At most 280 characters.
string
The description, 40 to 500 characters, only when the game has none of the yet. Left out, review’s when it wrote one. At most 1000 characters.
boolean
Keep the creator’s own words as written, instead of the tidied copy review offers on a first publish.
string
One of shooter-survival, action-adventure, rpg, platformer, strategy, simulation-management, racing-sports, fighting, puzzle-casual or party-social-sandbox. Left out: the genre the release was deployed with, or review’s when the deploy left it to Auto.
string or null
A subgenre under that genre, or null for none. At most 40 characters.
boolean
Whether the game supports a gamepad.
string
One of directed or classic. How OpenGame draws the game’s banner: directed, art directed in several passes from the frames and code, or classic, one picture made from the frames. Left out: the game’s own choice, or the account’s default. Saved before the release is published, so the banner is drawn that way; a change on a game that is already live also redraws the live banner, which can be rejected with rate_limited.
object
How the game is played, as players in opengame.json names it. Left out: what the deploy said, or review’s reading when the deploy left it to Auto.
object or null
The jam’s answers, when the release enters the jam, from GET /api/v1/jams/{slug}/form. Null publishes to the gallery instead, rejected with marketplace_closed while a new game or an update goes on OpenGame only as a jam entry, and with submission_destination_mismatch for a release already entered in a jam, which publishes as that entry. Left out: the jam only when it is the one place this release can go, and then the answers are owed (jam_answers_required).

Request

cURL

Response 200

Confirmed, and publishing (or already where it stands). The submission’s state is publishing until the game is live.

Errors