Read the calling user's partner row
curl --request GET \
--url https://api.flexslot.gg/api/public/v1/me/partner \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flexslot.gg/api/public/v1/me/partner"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flexslot.gg/api/public/v1/me/partner', 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/me/partner",
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>"
],
]);
$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/me/partner"
req, _ := http.NewRequest("GET", url, nil)
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/me/partner")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flexslot.gg/api/public/v1/me/partner")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"contact_email": "jsmith@example.com",
"website_url": "<string>",
"api_key_prefix": "<string>",
"scopes": [
"<string>"
],
"game_scopes": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"rate_limit_tier": "standard",
"status": "active",
"secret_rotated_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Me
Read the calling user's partner row
Returns the Partner row owned by the user attached to the calling PAT. Never returns the signing-secret hash or the API-key hash. Use this to read scopes, allowed_origins, rate_limit_tier, etc. before deciding whether to issue a rotation or scope-change request.
GET
/
api
/
public
/
v1
/
me
/
partner
Read the calling user's partner row
curl --request GET \
--url https://api.flexslot.gg/api/public/v1/me/partner \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flexslot.gg/api/public/v1/me/partner"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flexslot.gg/api/public/v1/me/partner', 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/me/partner",
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>"
],
]);
$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/me/partner"
req, _ := http.NewRequest("GET", url, nil)
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/me/partner")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flexslot.gg/api/public/v1/me/partner")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"contact_email": "jsmith@example.com",
"website_url": "<string>",
"api_key_prefix": "<string>",
"scopes": [
"<string>"
],
"game_scopes": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"rate_limit_tier": "standard",
"status": "active",
"secret_rotated_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Authorizations
PersonalAccessTokenOAuth2Bearer
User-issued personal access token (format: flx_pat_).
Response
200 - application/json
Self-serializer for /me/partner.
Returns only what's safe to surface to the partner owner. The signing secret hash and API key hash are NEVER included — they're sha256 outputs but exposing them would let an attacker who exfiltrated a hash independently verify guesses against the auth backend without ever hitting the rate limiter, so we treat them as secrets too.
Pattern:
^[-a-zA-Z0-9_]+$Maximum string length:
64Maximum string length:
32Pattern:
^[-a-zA-Z0-9_]+$Maximum string length:
200standard- Standard (1000/min)premium- Premium (20000/min)
Available options:
standard, premium active- Activesuspended- Suspendedrevoked- Revoked
Available options:
active, suspended, revoked Was this page helpful?