Web Playground

User Endpoint

Interactive request form for this API endpoint.

Each card below maps directly to an API endpoint. Query, path, and request body fields are generated from OpenAPI.

Request Routing

The playground switches API hosts based on your daily request count.

Under 500 requests per day, the playground routes to https://mlbb.rone.dev. Above 500 requests per day, it switches to https://openmlbb.fastapicloud.dev (recommended).

Standard

https://mlbb.rone.dev

For 0 - 500 requests per day.

Recommended

https://openmlbb.fastapicloud.dev

Best for 500+ requests per day.

Active base: https://mlbb.rone.dev Standard volume Requests: 0

GET User Privacy Settings

/web/user/privacy/settings

Open Only This

Retrieve the authenticated player's privacy settings using a valid JWT. Supports query parameter for localization (lang). Requires an Authorization header with the JWT from login.

Headers:

  • Authorization: Bearer <jwt> (JWT obtained during login).

Query parameters:

  • lang: Language code for localized content (default: en).

The response includes:

  • popup_shown: Whether the privacy popup has been shown to the user.
  • privacy: Current privacy state (true/false).
lang query

Language code for localized content.

GET /api/user/privacy/settings

POST Update User Privacy Settings

/web/user/privacy/settings

Open Only This

Update the authenticated player's privacy settings using a valid JWT. Supports query parameter for localization (lang). Requires an Authorization header with the JWT from login.

Headers:

  • Authorization: Bearer <jwt> (JWT obtained during login).

Query parameters:

  • visibility: Visibility mode. Use visible to allow friends to view your profile, and invisible to hide your profile from friends. This parameter is required.
  • lang: Language code for localized content (default: en).
visibility query

Profile visibility mode. Choose visible to let friends view your profile, or invisible to hide your profile from friends. Required.

lang query

Language code for localized content.

POST /api/user/privacy/settings