---
title: "Create Or Update the Mobile application settings (saveMobileAppSettings)"
method: POST
path: "/api/mobile/qr/settings"
tags: ["qr-code-settings-controller"]
---

# Create Or Update the Mobile application settings (saveMobileAppSettings)

`POST /api/mobile/qr/settings`

The request payload contains configuration for android/iOS applications and platform qr code widget settings.

Available for users with 'SYS_ADMIN' authority.

## Request body

- QrCodeSettings — A JSON value representing the mobile apps configuration
  - `id` QrCodeSettingsId
    - `id` string, uuid, required — string
  - `createdTime` integer — Entity creation timestamp in milliseconds since Unix epoch
  - `tenantId` TenantId
    - `id` string, uuid, required — ID of the entity, time-based UUID v1
    - `entityType` 'TENANT', required — string
  - `useSystemSettings` boolean — Use settings from system level
  - `useDefaultApp` boolean — Type of application: true means use default Thingsboard app
  - `mobileAppBundleId` MobileAppBundleId
    - `id` string, uuid, required — ID of the entity, time-based UUID v1
    - `entityType` 'TENANT' | 'CUSTOMER' | 'USER' | 'DASHBOARD' | 'ASSET' | 'DEVICE' | 'ALARM' | 'RULE_CHAIN' | 'RULE_NODE' | 'ENTITY_VIEW' | 'WIDGETS_BUNDLE' | 'WIDGET_TYPE' | 'TENANT_PROFILE' | 'DEVICE_PROFILE' | 'ASSET_PROFILE' | 'API_USAGE_STATE' | 'TB_RESOURCE' | 'OTA_PACKAGE' | 'EDGE' | 'RPC' | 'QUEUE' | 'NOTIFICATION_TARGET' | 'NOTIFICATION_TEMPLATE' | 'NOTIFICATION_REQUEST' | 'NOTIFICATION' | 'NOTIFICATION_RULE' | 'QUEUE_STATS' | 'OAUTH2_CLIENT' | 'DOMAIN' | 'MOBILE_APP' | 'MOBILE_APP_BUNDLE' | 'CALCULATED_FIELD' | 'JOB' | 'ADMIN_SETTINGS' | 'AI_MODEL' | 'API_KEY', required
  - `qrCodeConfig` QRCodeConfig, required
    - `showOnHomePage` boolean
    - `badgeEnabled` boolean
    - `qrCodeLabelEnabled` boolean
    - `badgePosition` 'RIGHT' | 'LEFT'
    - `qrCodeLabel` string
  - `androidEnabled` boolean — Indicates if google play link is available
  - `iosEnabled` boolean — Indicates if apple store link is available
  - `googlePlayLink` string
  - `appStoreLink` string

## Response `200`

OK

- QrCodeSettings — A JSON value representing the mobile apps configuration
  - `id` QrCodeSettingsId
    - `id` string, uuid, required — string
  - `createdTime` integer — Entity creation timestamp in milliseconds since Unix epoch
  - `tenantId` TenantId
    - `id` string, uuid, required — ID of the entity, time-based UUID v1
    - `entityType` 'TENANT', required — string
  - `useSystemSettings` boolean — Use settings from system level
  - `useDefaultApp` boolean — Type of application: true means use default Thingsboard app
  - `mobileAppBundleId` MobileAppBundleId
    - `id` string, uuid, required — ID of the entity, time-based UUID v1
    - `entityType` 'TENANT' | 'CUSTOMER' | 'USER' | 'DASHBOARD' | 'ASSET' | 'DEVICE' | 'ALARM' | 'RULE_CHAIN' | 'RULE_NODE' | 'ENTITY_VIEW' | 'WIDGETS_BUNDLE' | 'WIDGET_TYPE' | 'TENANT_PROFILE' | 'DEVICE_PROFILE' | 'ASSET_PROFILE' | 'API_USAGE_STATE' | 'TB_RESOURCE' | 'OTA_PACKAGE' | 'EDGE' | 'RPC' | 'QUEUE' | 'NOTIFICATION_TARGET' | 'NOTIFICATION_TEMPLATE' | 'NOTIFICATION_REQUEST' | 'NOTIFICATION' | 'NOTIFICATION_RULE' | 'QUEUE_STATS' | 'OAUTH2_CLIENT' | 'DOMAIN' | 'MOBILE_APP' | 'MOBILE_APP_BUNDLE' | 'CALCULATED_FIELD' | 'JOB' | 'ADMIN_SETTINGS' | 'AI_MODEL' | 'API_KEY', required
  - `qrCodeConfig` QRCodeConfig, required
    - `showOnHomePage` boolean
    - `badgeEnabled` boolean
    - `qrCodeLabelEnabled` boolean
    - `badgePosition` 'RIGHT' | 'LEFT'
    - `qrCodeLabel` string
  - `androidEnabled` boolean — Indicates if google play link is available
  - `iosEnabled` boolean — Indicates if apple store link is available
  - `googlePlayLink` string
  - `appStoreLink` string

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
