# Get a setting

Canonical: https://docs.shumoku.dev/en/server/0.3.0-beta.4/api/getSettingsByKey
Language: en
Server documentation version: 0.3.0-beta.4
Product version: 0.3.0-beta.4
Channel: beta

This documentation describes a prerelease Server build.

Shumoku Server API · 0.3.0-beta.4 · Settings

# Get a setting

[OpenAPI source](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0-beta.4/apps/server/api/openapi.json)

```
GET /api/settings/{key}
```

## Authentication

sessionCookie / bearerAuth

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Setting | `Setting` |
| `401` | Authentication is required | `Error` |
| `404` | The setting does not exist | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0-beta.4/apps/server/api/openapi.json)
