Skip to main content
curl --request GET \
  --url https://api.longshot.xyz/v1/user/preferences \
  --header 'Authorization: Bearer <session_token>'
{
  "notifications_enabled": true,
  "quote_tolerance": "normal",
  "anonymous_mode_enabled": false
}
curl --request GET \
  --url https://api.longshot.xyz/v1/user/preferences \
  --header 'Authorization: Bearer <session_token>'
{
  "notifications_enabled": true,
  "quote_tolerance": "normal",
  "anonymous_mode_enabled": false
}

Endpoint

GET https://api.longshot.xyz/v1/user/preferences
Authorization: Bearer <session_token>

Headers

Authorization
string
required
Bearer <session_token> from wallet auth or Privy session auth.

Query Parameters

No query parameters.

Response Fields

notifications_enabled
boolean
Whether user notifications are enabled.
quote_tolerance
string
Quote tolerance for new bets: strict, normal, or lenient.
anonymous_mode_enabled
boolean
Whether anonymous mode is enabled for new bets.