Skip to main content
POST
/
api
/
public
/
v1
/
oauth
/
token
OAuth2 token endpoint (RFC 6749 §4.1.3 + §6)
curl --request POST \
  --url https://api.flexslot.gg/api/public/v1/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=<string>' \
  --data 'code=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'code_verifier=<string>' \
  --data 'refresh_token=<string>' \
  --data 'scope=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123,
  "refresh_token": "<string>",
  "scope": "<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.

Body

application/x-www-form-urlencoded
grant_type
string
required

'authorization_code' or 'refresh_token'.

Minimum string length: 1
code
string

Authorization-code grant only.

Minimum string length: 1
redirect_uri
string

Authorization-code grant only.

Minimum string length: 1
code_verifier
string

Authorization-code grant only (PKCE).

Minimum string length: 1
refresh_token
string

Refresh-token grant only.

Minimum string length: 1
scope
string

Optional refresh-token scope narrowing.

Minimum string length: 1
client_id
string

When not using HTTP Basic.

Minimum string length: 1
client_secret
string

Confidential client only.

Minimum string length: 1

Response

access_token
string
required
token_type
string
required
expires_in
integer
required
refresh_token
string
required
scope
string
required