Your privacy settings
const url = 'https://api.gampeon.com/v1/me/social-settings';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/social-settings \ --header 'Authorization: Bearer <token>'Defaults: friend requests from everyone, connections visible to friends. Under 16 (and without a birth month): friend requests only from friends_of_friends, connections private, and only these stricter levels can be chosen. options lists what you can choose.
Not available with access tokens.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Settings
object
Who can send you friend requests
Who can see your friends and follows. Also decides whether you appear in other people’s lists
Your friends see when you are online (active on the website or in the launcher in the last 3 minutes). Nobody else sees it
object
Example
{ "friendRequests": "everyone", "showConnections": "public", "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: 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"}