Your account
const url = 'https://api.gampeon.com/v1/me';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/me \ --header 'Authorization: Bearer <token>'Your account with the 50 newest notifications.
Access tokens: scope profile:read.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Account
object
Account ID
Email address. Only visible to the account itself with a portal session, never with an access token.
Unix time in milliseconds
Profiles on other platforms, at most one per platform (up to 10).
object
Name on the platform. YouTube uses @name or channel/<id>, Facebook a username or a numeric profile ID.
Profile page, built by GAMPEON from the name. Never a link the person entered.
protected: under 16 or birth month unknown. Stricter privacy defaults apply.
object
Version in force
false: show the terms and ask the person to accept them (POST /v1/me/terms)
The 50 newest notifications
object
For example achievement_unlocked, content_blocked, studio_invite, appeal_decided, page_hidden, token_created.
JSON-encoded details. The shape depends on kind.
Unix time in milliseconds
Example
{ "role": "user", "links": [ { "platform": "twitch" } ], "ageGroup": "protected"}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: insufficient_scope, token_not_allowed
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"}