Get setting by id

Gets the setting for the provided _id.

URLRequires AuthHTTP Method

/api/v1/settings/:_id

yes

GET

Payload

ArgumentExampleRequiredDescription

_id

Livechat_enabled

Required

The setting's _id field

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     http://localhost:3000/api/v1/settings/Livechat_enabled

Example Result

{
  "_id": "Livechat_enabled",
  "value": false,
  "success": true
}

Change Log

VersionDescription

0.42.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.