> ## Documentation Index
> Fetch the complete documentation index at: https://rideshare.docs.sumit-dhondikar.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Settings

> Retrieve the current settings for the authenticated user.

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`**

```http theme={null}
Authorization: Bearer <token>
```

## Response

<ResponseField name="id" type="integer">
  Unique identifier for the settings record.
</ResponseField>

<ResponseField name="userId" type="integer">
  ID of the user these settings belong to.
</ResponseField>

<ResponseField name="tripSharingDefault" type="boolean">
  Whether trip sharing is enabled by default when starting a ride. Defaults to `true`.
</ResponseField>

<ResponseField name="hidePhoneNumber" type="boolean">
  Whether your phone number is hidden from drivers. Defaults to `false`.
</ResponseField>

<ResponseField name="emergencyContact" type="string">
  Your emergency contact phone number or name (up to 40 characters).
</ResponseField>

<ResponseField name="defaultPaymentMethod" type="string">
  Your default payment method (e.g. `upi`, `card`). Defaults to `"upi"`.
</ResponseField>

<ResponseField name="autoTipEnabled" type="boolean">
  Whether automatic tipping is enabled after a ride. Defaults to `false`.
</ResponseField>

<ResponseField name="invoiceEmailEnabled" type="boolean">
  Whether ride invoices are sent to your email address. Defaults to `true`.
</ResponseField>

<ResponseField name="mapStyle" type="string">
  Your preferred map rendering style (e.g. `standard`, `satellite`). Defaults to `"standard"`.
</ResponseField>

<ResponseField name="avoidTolls" type="boolean">
  Whether route planning should avoid toll roads. Defaults to `false`.
</ResponseField>

<ResponseField name="avoidHighways" type="boolean">
  Whether route planning should avoid highways. Defaults to `false`.
</ResponseField>

<ResponseField name="navigationVoiceLanguage" type="string">
  BCP 47 language code for navigation voice prompts (up to 12 characters). Defaults to `"en"`.
</ResponseField>

<ResponseField name="preferredVehicleType" type="string">
  Your preferred vehicle category for ride requests (e.g. `mini`, `sedan`, `suv`). Defaults to `"mini"`.
</ResponseField>

<ResponseField name="acPreference" type="string">
  Your air conditioning preference (e.g. `any`, `ac`, `non_ac`). Defaults to `"any"`.
</ResponseField>

<ResponseField name="quietRide" type="boolean">
  Whether you prefer a quiet ride with minimal conversation. Defaults to `false`.
</ResponseField>

<ResponseField name="deleteAccountRequested" type="boolean">
  Whether an account deletion request is pending. Defaults to `false`.
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp of when the settings record was first created.
</ResponseField>

<ResponseField name="updatedAt" type="string">
  ISO 8601 timestamp of the most recent update to any setting.
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET http://localhost:8080/user-settings \
    -H "Authorization: Bearer <token>"
  ```

  ```json Response theme={null}
  {
    "id": 3,
    "userId": 7,
    "tripSharingDefault": true,
    "hidePhoneNumber": false,
    "emergencyContact": "+91 98765 43210",
    "defaultPaymentMethod": "upi",
    "autoTipEnabled": false,
    "invoiceEmailEnabled": true,
    "mapStyle": "standard",
    "avoidTolls": false,
    "avoidHighways": false,
    "navigationVoiceLanguage": "en",
    "preferredVehicleType": "mini",
    "acPreference": "any",
    "quietRide": false,
    "deleteAccountRequested": false,
    "createdAt": "2026-01-15T08:00:00Z",
    "updatedAt": "2026-04-01T14:22:10Z"
  }
  ```
</CodeGroup>
