Skip to main content
GET
/
api
/
public
/
v1
/
games
/
{game}
/
decks
/
{id}
Get a single deck
curl --request GET \
  --url https://api.flexslot.gg/api/public/v1/games/{game}/decks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Partner-Id: <api-key>' \
  --header 'X-Signature: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "author": {},
  "game": "<string>",
  "visibility": [
    "<string>"
  ],
  "format": {},
  "archetype": "<string>",
  "views": 123,
  "likes": 123,
  "hasGuide": true,
  "hasSideboardGuide": true,
  "hasVideo": true,
  "editedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "sourceProvider": "<string>",
  "notes": "<string>",
  "featured_cards": [
    {}
  ],
  "sourceExternalId": "<string>",
  "sourceExternalUrl": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.flexslot.gg/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Signature
string
header
required

HMAC-SHA256 over canonical request string. Format: v1.<unix_seconds>.<hex_hmac_sha256>.

X-Partner-Id
string
header
required

Partner identifier slug. Required alongside X-Signature for HMAC auth.

Authorization
string
header
required

User-issued personal access token (format: flx_pat_).

Path Parameters

game
string
required
id
string<uuid>
required

Query Parameters

expand
enum<string>

Optional. Pass cards to include the deck's full card inventory.

Available options:
cards

Response

200 - application/json
id
string<uuid>
required
read-only
name
string
required
read-only
author
object
required
read-only
game
string
required
read-only
visibility
string[]
required
read-only
format
object
required
read-only
archetype
string | null
required
read-only
views
integer
required
read-only
likes
integer
required
read-only
hasGuide
boolean
required
read-only
hasSideboardGuide
boolean
required
read-only
hasVideo
boolean
required
read-only
editedAt
string<date-time>
required
read-only
createdAt
string<date-time>
required
read-only
sourceProvider
string | null
required
read-only
notes
string
required
read-only
sourceExternalId
string | null
required
read-only
sourceExternalUrl
string | null
required
read-only