> ## Documentation Index
> Fetch the complete documentation index at: https://docs.patch.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Ask Patch to support a game

> For a game Patch can't find and can't add by a store id (POST /host-games), or one it has that a mod needs more for, such as its mod folders or a loader. Give its name or slug, its store page when there is one, and what the mod needs. It never holds up publishing. Asking again about a game while a request for it is open gives that request back.



## OpenAPI

````yaml /api-reference/openapi.json post /game-requests
openapi: 3.1.0
info:
  title: Patch API
  version: 1.0.0
  description: >-
    The public API behind patch.gg, the desktop app and pch. Changes within v1
    are additive only. Errors are { error: { code, message, details } }; branch
    on code.
servers:
  - url: https://patch.gg/api/v1
security: []
paths:
  /game-requests:
    post:
      tags:
        - Host games
      summary: Ask Patch to support a game
      description: >-
        For a game Patch can't find and can't add by a store id (POST
        /host-games), or one it has that a mod needs more for, such as its mod
        folders or a loader. Give its name or slug, its store page when there is
        one, and what the mod needs. It never holds up publishing. Asking again
        about a game while a request for it is open gives that request back.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                game:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: Its name, or its slug on Patch
                  example: 'Hollow Knight: Silksong'
                store_url:
                  type: string
                  format: uri
                note:
                  type: string
                  maxLength: 1000
                  description: What the mod needs from Patch for it, in a sentence or two
              required:
                - game
      responses:
        '200':
          description: A request for it was open already
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GameRequest'
        '201':
          description: Asked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GameRequest'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Not signed in
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    GameRequest:
      type: object
      properties:
        id:
          type: string
          format: uuid
        game:
          type: string
        host_game:
          type:
            - string
            - 'null'
          description: Its slug, when Patch has the game
        store_url:
          type:
            - string
            - 'null'
        note:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - open
            - done
            - declined
        answer:
          type:
            - string
            - 'null'
          description: What Patch's team said
        created_at:
          type: string
        answered_at:
          type:
            - string
            - 'null'
      required:
        - id
        - game
        - host_game
        - store_url
        - note
        - status
        - answer
        - created_at
        - answered_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: version_exists
            message:
              type: string
            details: {}
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: An API key (pch_...) or the token from pch login.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.