---
title: "Get SMTP configuration"
method: GET
path: "/api/auth/smtp-config"
tags: ["Admin"]
---

# Get SMTP configuration

`GET /api/auth/smtp-config`

Get current SMTP email configuration (admin only)

## Response `200`

SMTP configuration

- SmtpConfig
  - `id` string, uuid
  - `enabled` boolean
  - `host` string
  - `port` integer
  - `username` string
  - `hasPassword` boolean — Whether a password is set (actual password is never exposed)
  - `senderEmail` string, email
  - `senderName` string
  - `minIntervalSeconds` integer
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - Admin only

---

[API](https://skmtc.net/insforge/apis/insforge-authentication-api.md) · [All operations](https://skmtc.net/insforge/apis/insforge-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insforge/insforge-authentication-api/versions/a935bb49f932/schema)
