Skip to main content
Fetch all preference and configuration settings for your account. You must include a valid Bearer token — the response contains only your own settings.

Request

GET /user-settings
Authorization: Bearer <token>

Response

id
integer
Unique identifier for the settings record.
userId
integer
ID of the user these settings belong to.
tripSharingDefault
boolean
Whether trip sharing is enabled by default when starting a ride. Defaults to true.
hidePhoneNumber
boolean
Whether your phone number is hidden from drivers. Defaults to false.
emergencyContact
string
Your emergency contact phone number or name (up to 40 characters).
defaultPaymentMethod
string
Your default payment method (e.g. upi, card). Defaults to "upi".
autoTipEnabled
boolean
Whether automatic tipping is enabled after a ride. Defaults to false.
invoiceEmailEnabled
boolean
Whether ride invoices are sent to your email address. Defaults to true.
mapStyle
string
Your preferred map rendering style (e.g. standard, satellite). Defaults to "standard".
avoidTolls
boolean
Whether route planning should avoid toll roads. Defaults to false.
avoidHighways
boolean
Whether route planning should avoid highways. Defaults to false.
navigationVoiceLanguage
string
BCP 47 language code for navigation voice prompts (up to 12 characters). Defaults to "en".
preferredVehicleType
string
Your preferred vehicle category for ride requests (e.g. mini, sedan, suv). Defaults to "mini".
acPreference
string
Your air conditioning preference (e.g. any, ac, non_ac). Defaults to "any".
quietRide
boolean
Whether you prefer a quiet ride with minimal conversation. Defaults to false.
deleteAccountRequested
boolean
Whether an account deletion request is pending. Defaults to false.
createdAt
string
ISO 8601 timestamp of when the settings record was first created.
updatedAt
string
ISO 8601 timestamp of the most recent update to any setting.

Example

curl -X GET http://localhost:8080/user-settings \
  -H "Authorization: Bearer <token>"