---
title: "Get mail status"
method: GET
path: "/api/admin/system/mail"
tags: ["Admin"]
---

# Get mail status

`GET /api/admin/system/mail`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/admin/system/mail`
- Auth: API key in cookie `hk_token`

Returns configured mail driver, host, port, encryption, sender identity, masked username, password presence, and last test result.

## Response `200`

System mail status

- SystemMailStatus
  - `configured` boolean
  - `driver` string
  - `encryption` string
  - `from_address` string
  - `from_name` string
  - `host` string
  - `last_test_at` string, date-time
  - `last_test_ok` boolean
  - `password_set` boolean
  - `port` integer
  - `username` string

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
