Skip to main content
POST
Create a deck

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

Body

name
string
required
Required string length: 1 - 255
notes
string | null
Maximum string length: 50000
visibility
string[]
Minimum string length: 1
format
string<uuid> | null

Format UUID for the deck.

youtube_url
string<uri>
Maximum string length: 500
thumbnail
string
Maximum string length: 255
source_provider
enum<string>
  • piltover - Piltover
  • moxfield - Moxfield
  • archidekt - Archidekt
  • cube_cobra - Cube Cobra
  • mtggoldfish - MTGGoldfish
  • tappedout - TappedOut
  • deckstats - Deckstats
  • edhrec - EDHREC
  • mtg_arena - MTG Arena
  • mtgo - MTGO
  • forge - Forge
  • carde_io - Carde.io
  • manual - Manual
Available options:
piltover,
moxfield,
archidekt,
cube_cobra,
mtggoldfish,
tappedout,
deckstats,
edhrec,
mtg_arena,
mtgo,
forge,
carde_io,
manual
source_external_id
string
Maximum string length: 128
source_external_version
string
Maximum string length: 32
source_external_url
string<uri>

Response

id
string<uuid>
required
read-only
name
string | null
required
read-only
notes
string | null
required
read-only
visibility
string[]
required
read-only
format
string<uuid> | null
required
read-only
youtube_url
string<uri> | null
required
read-only
thumbnail
string | null
required
read-only
is_archived
boolean
required
read-only
likes
integer
required
read-only
pageviews
integer
required
read-only
version
integer
required
read-only
source_provider
string
required
read-only
source_external_id
string
required
read-only
source_external_version
string
required
read-only
source_external_url
string
required
read-only
source_imported_at
string<date-time> | null
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only