Skip to main content
GET
/
v2
/
games
List games
curl --request GET \
  --url https://api.gameboost.com/v2/games \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "slug": "<string>",
      "acronym": "<string>",
      "services": [
        "<string>"
      ],
      "game_item_collections": [
        {
          "name": "<string>",
          "slug": "<string>",
          "items_count": 123
        }
      ]
    }
  ],
  "message": "Only active games are returned"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

Search games by id, name, slug, or acronym

filter[id]
string

Filter by exact id. Supports comma-separated values for multiple matches.

Example:

"3,6,9"

filter[slug]
string

Filter by exact slug. Supports comma-separated values for multiple matches.

Example:

"example"

filter[acronym]
string

Filter by exact acronym. Supports comma-separated values for multiple matches.

Example:

"example"

sort
enum<string>
default:name

Sort by field. Prefix with - for descending order.

Available options:
id,
-id,
name,
-name,
slug,
-slug,
acronym,
-acronym,
created_at,
-created_at,
updated_at,
-updated_at
Example:

"name"

Response

A list of active games

data
object[]
message
string
Example:

"Only active games are returned"