List public sideboard guides for a game
curl --request GET \
--url https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides \
--header 'Authorization: Bearer <token>' \
--header 'X-Partner-Id: <api-key>' \
--header 'X-Signature: <api-key>'import requests
url = "https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides"
headers = {
"X-Signature": "<api-key>",
"X-Partner-Id": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Signature': '<api-key>',
'X-Partner-Id': '<api-key>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Partner-Id: <api-key>",
"X-Signature: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Signature", "<api-key>")
req.Header.Add("X-Partner-Id", "<api-key>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides")
.header("X-Signature", "<api-key>")
.header("X-Partner-Id", "<api-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Signature"] = '<api-key>'
request["X-Partner-Id"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"author": {},
"game": "<string>",
"visibility": [
"<string>"
],
"deck_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"format": "<string>",
"views": 123,
"likes": 123,
"hasMatchups": true,
"thumbnail": "<string>",
"editedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"sourceProvider": "<string>",
"featured_cards": [
{
"slot": "<string>",
"slotKey": "<string>",
"label": "<string>",
"sortOrder": 123,
"foil": true,
"cardId": "<string>",
"name": "<string>",
"imageUrl": "<string>",
"type_line": "<string>",
"set": "<string>",
"collector_number": "<string>"
}
],
"colors": [
"<string>"
],
"matchup_count": 123
}Sideboard Guides
List public sideboard guides for a game
Returns the visible sideboard guides for a game. Anonymous callers are rejected with 401 (the endpoint requires the sideboards:read scope). Authenticated callers see public guides plus their own private guides. Archived guides are excluded.
The featured_cards, colors and matchup_count fields are only present when include=summary is passed; the default payload omits them to stay lean.
GET
/
api
/
public
/
v1
/
games
/
{game}
/
sideboard-guides
List public sideboard guides for a game
curl --request GET \
--url https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides \
--header 'Authorization: Bearer <token>' \
--header 'X-Partner-Id: <api-key>' \
--header 'X-Signature: <api-key>'import requests
url = "https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides"
headers = {
"X-Signature": "<api-key>",
"X-Partner-Id": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Signature': '<api-key>',
'X-Partner-Id': '<api-key>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Partner-Id: <api-key>",
"X-Signature: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Signature", "<api-key>")
req.Header.Add("X-Partner-Id", "<api-key>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides")
.header("X-Signature", "<api-key>")
.header("X-Partner-Id", "<api-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flexslot.gg/api/public/v1/games/{game}/sideboard-guides")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Signature"] = '<api-key>'
request["X-Partner-Id"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"author": {},
"game": "<string>",
"visibility": [
"<string>"
],
"deck_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"format": "<string>",
"views": 123,
"likes": 123,
"hasMatchups": true,
"thumbnail": "<string>",
"editedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"sourceProvider": "<string>",
"featured_cards": [
{
"slot": "<string>",
"slotKey": "<string>",
"label": "<string>",
"sortOrder": 123,
"foil": true,
"cardId": "<string>",
"name": "<string>",
"imageUrl": "<string>",
"type_line": "<string>",
"set": "<string>",
"collector_number": "<string>"
}
],
"colors": [
"<string>"
],
"matchup_count": 123
}Authorizations
PartnerHmac & PartnerSlug & PersonalAccessTokenPartnerHmac & PartnerSlugApiKeyPersonalAccessTokenOAuth2DPoP & OAuth2DPoPProofOAuth2Bearer
Query Parameters
Response
200 - application/json
Provides featured_cards for any deck serializer.
Relies on special_cards__card (and legacy commander/partner/companion
FKs) being prefetched/selected by the caller's selector. The
GameSpecialCardType lookup is cached on serializer context so a whole
page of decks costs one query, not one per deck.
Was this page helpful?