Skip to main content
POST
/
api
/
public
/
v1
/
games
/
{game}
/
decks
/
export
/
text
Export a deck as plain text
curl --request POST \
  --url https://api.flexslot.gg/api/public/v1/games/{game}/decks/export/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Partner-Id: <api-key>' \
  --header 'X-Signature: <api-key>' \
  --data '
{
  "deck_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "deck_payload": {}
}
'
"<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

Game slug (e.g. magic-the-gathering).

Body

deck_id
string<uuid> | null
deck_payload
object

Response

Plain-text deck list.