Skip to main content
GET
/
games
List available games
curl --request GET \
  --url https://api.spikelabs.com/v1/games \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "game_tictactoe",
      "name": "Tic Tac Toe",
      "type": "turn_based",
      "description": "<string>",
      "min_players": 123,
      "max_players": 123,
      "rules": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Use your secret key (starts with sk_) as a Bearer token.

Response

200 - application/json

List of games

data
object[]
required