Skip to main content
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>"
  ],
  "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

Authorization
string
header
required

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.

id
string<uuid>
required
read-only
slug
string
required
read-only
Pattern: ^[-a-zA-Z0-9_]+$
name
string
required
read-only
contact_email
string<email>
required
read-only
website_url
string<uri>
required
read-only
api_key_prefix
string
required
read-only
scopes
string[]
required
read-only
Maximum string length: 64
game_scopes
string[]
required
read-only
Maximum string length: 32
Pattern: ^[-a-zA-Z0-9_]+$
allowed_origins
string<uri>[]
required
read-only
Maximum string length: 200
rate_limit_tier
enum<string>
required
  • standard - Standard (1000/min)
  • premium - Premium (20000/min)
Available options:
standard,
premium
status
enum<string>
required
  • active - Active
  • suspended - Suspended
  • revoked - Revoked
Available options:
active,
suspended,
revoked
secret_rotated_at
string<date-time> | null
required
read-only
last_used_at
string<date-time> | null
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only