The access token you are using
const url = 'https://api.gampeon.com/v1/token';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/token \ --header 'Authorization: Bearer <token>'Name, scopes and expiry of the access token sent with this request. Works with every valid access token, whatever its scopes. MCP clients and tools use it to check a token and to offer only what it allows. With a portal session: 400 not_an_access_token.
Access tokens: every valid token, no scope needed.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Token
object
First characters of the token
Unix time in milliseconds
Unix time in milliseconds
Example
{ "scopes": [ "profile:read" ]}Error codes: not_an_access_token
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: unauthorized
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes:
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}