# Retrieve an administrator

`GET https://api.cademi.com.br/api/v3/administrators/{administrator_id}`

Operation ID: `administrators.get` · API v3

Retrieves an administrator by its public ID.

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

Administrators in the trash are not returned by this operation.

Required permissions: `administrators.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `administrator_id` | path | string | yes |  |

## Responses

### 200

Returns the requested administrator.

Body: `data`: Administrator.

Fields of Administrator:

| Field | Type | Required | Description |
|---|---|---|---|
| `created_at` | string (date-time) | yes |  |
| `deleted` | boolean | yes |  |
| `email` | string (email) | yes |  |
| `id` | string | yes |  |
| `last_login_at` | string or null (date-time) | yes |  |
| `name` | string | yes |  |
| `object` | string, one of `administrator` | yes |  |
| `product_ids` | array of string | yes |  |
| `revision` | string | yes |  |
| `role` | string, one of `root`, `admin`, `product_admin`, `master_admin`, `support`, `designer` | yes |  |
| `status` | string, one of `active`, `inactive` | yes |  |
| `two_factor_enabled` | boolean | yes |  |
| `updated_at` | string (date-time) | 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.

### 404

The administrator was not found, is in the trash, or is not accessible with the current credentials.

Body: Error.

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