--- title: "Settings" slug: "settings-management-api" status: "update" updated: 2026-09-14T21:59:42Z published: 2026-09-14T21:59:42Z canonical: "developer.rocket.chat/settings-management-api" --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Settings Use the Settings APIs to configure, secure, and manage your Rocket.Chat workspace. These endpoints provide administrative control over workspace behavior, infrastructure, security policies, and user management. ## The setting object Each workspace setting is a simple object identified by its `_id`. An example from [Get Setting](https://developer.rocket.chat/apidocs/get-setting): ```json {  "_id": "Livechat_enabled",  "value": false,  "success": true } ``` Fields you use most often: - `_id`: The setting ID. It matches the setting's identifier in the admin area, such as `Site_Url` or `Accounts_AllowUserProfileChange`. - `value`: The current value. Its type depends on the setting: boolean, string, number, or object. ## Settings API - Update workspace settings programmatically. - Retrieve public and private settings. - View settings modified within a specific timeframe. **Read and update workspace settings** 1. [Get a setting](https://developer.rocket.chat/apidocs/get-setting) by its ID, or [get all public settings](https://developer.rocket.chat/apidocs/get-public-settings) to read workspace configuration from a client. 2. [Update the setting](https://developer.rocket.chat/apidocs/update-setting) with the new value. 3. [Update settings in bulk](https://developer.rocket.chat/apidocs/update-settings-in-bulk) to change several settings in one request. **Configure a custom OAuth provider** 1. [Add a custom OAuth service](https://developer.rocket.chat/apidocs/add-custom-oauth), then set its URLs and credentials with the settings endpoints. 2. [Get the OAuth settings](https://developer.rocket.chat/apidocs/get-oauth-settings) or [refresh the OAuth services](https://developer.rocket.chat/apidocs/refresh-oauth-services) to apply and verify the configuration. 3. [Remove the custom OAuth service](https://developer.rocket.chat/apidocs/remove-custom-oauth) when it is no longer needed. ## Cloud API - Register and connect your workspace to [Rocket.Chat Cloud](https://docs.rocket.chat/docs/rocketchat-cloud) services. - Manually register a workspace if it was not registered during deployment. ## DNS API - Resolve DNS records for a hostname. - Retrieve TXT and URL records. ## End-to-End Encryption (E2E) API - Configure and manage encryption keys for users and rooms. - Retrieve keys and identify rooms without encryption enabled. > [!NOTE] > See the [E2EE configuration user guides](https://docs.rocket.chat/docs/configure-e2e-encryption) for more details. ## Import and Bulk User Import APIs - Upload import files containing users, rooms, and related data. - Track import progress and review file details > [!NOTE] > See the [Data Migration](https://docs.rocket.chat/docs/data-migration) documentation for more details. ## Instances API - Retrieve details about the instances running in your workspace. ## Federation API - Add and manage federated servers. - Search for and join public rooms across federated environments. ## Moderation API - View reported messages and their metadata. - Dismiss or delete reports as needed. > [!NOTE] > See the [Moderation user guide](https://docs.rocket.chat/docs/moderation) for more details. **Moderate reported content** 1. [Get reported messages](https://developer.rocket.chat/apidocs/get-reported-messages) and [the reports of a message](https://developer.rocket.chat/apidocs/get-reports-of-a-message) to review them. 2. [Dismiss the reports](https://developer.rocket.chat/apidocs/dismiss-reports), or [delete the reported messages of a user](https://developer.rocket.chat/apidocs/delete-reported-messages-of-a-user). ## Device Management API - View active and historical user sessions. - Log out sessions remotely when necessary. > [!NOTE] > See the [Device Management user guide](https://docs.rocket.chat/docs/device-management) for more details. **Manage user sessions** 1. [Get all user sessions](https://developer.rocket.chat/apidocs/get-all-current-user-sessions) in the workspace, or [the current user's sessions](https://developer.rocket.chat/apidocs/get-current-user-sessions). 2. [Log out a session](https://developer.rocket.chat/apidocs/logout-session) remotely by its session ID. ## Password Policy API - Retrieve the configured password policy to validate compliance. > [!NOTE] > See the [Password Policy user guide](https://docs.rocket.chat/docs/set-password-policy-and-history) for more details. ## Conventions - Setting IDs match the identifiers shown in the workspace admin area, so you can look up a setting in the UI and manage it by the same ID through the API. - Reading private settings and updating settings require admin permissions such as `view-privileged-setting` and `edit-privileged-setting`. Each endpoint page lists its required permissions. - [Get Public Settings](https://developer.rocket.chat/apidocs/get-public-settings) returns only settings marked public and can be called without authentication. - Sensitive administrative operations may require [two-factor authentication headers](https://developer.rocket.chat/apidocs/two-factor-authentication-api).