# Retrieve authentication settings

`GET https://api.cademi.com.br/api/v3/settings/authentication`

Operation ID: `settings.authentication.get` · API v3

Returns the authentication settings of the account: password rules, reCAPTCHA, two-factor authentication for administrators, Google sign-in, the device limit, and the layout of the access screens.

Secrets are never returned; the `configured` fields indicate whether they have been set.

The response includes an `ETag` representing the current revision. Send this value in the `If-Match` header when updating these settings to avoid overwriting a newer version.

Required permissions: `settings.read`.

## Responses

### 200

Returns the authentication settings.

Body: `data`: SettingsAuthentication.

Fields of SettingsAuthentication:

| Field | Type | Required | Description |
|---|---|---|---|
| `access_screens` | object | yes |  |
| `admin_two_factor_available` | boolean | yes |  |
| `defaults` | object | yes |  |
| `effects` | object | yes |  |
| `google_login` | object | yes |  |
| `max_devices` | integer | yes |  |
| `object` | string, one of `settings` | yes |  |
| `password` | object | yes |  |
| `propagation` | object | yes |  |
| `recaptcha` | object | yes |  |
| `replica` | object | yes |  |
| `revision` | string | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
