---
title: "How an application's end user notices are sent"
method: GET
path: "/applications/{id}/email-sender"
tags: ["Applications"]
---

# How an application's end user notices are sent

`GET /applications/{id}/email-sender`

## Request

- Base URL: `https://api.customdomain.ai/v1`
- URL: `https://api.customdomain.ai/v1/applications/{id}/email-sender`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns the application's email sender setting. With no setting saved the mode is `default` (the CustomDomain™ transactional sender). The SMTP password is write only: it is never returned, only `password_set`. Requires `app:read`.

## Path parameters

- `id` string, required

## Response `200`

The setting.

- EmailSender
  - `application_id` string, required
  - `mode` 'default' | 'smtp' | 'none', required
  - `smtp_host` string, required
  - `smtp_port` integer, required
  - `smtp_username` string, required
  - `password_set` boolean, required: Whether a password is stored. The password itself is never returned.
  - `tls` 'implicit' | 'starttls', required
  - `from_address` string, required
  - `from_name` string, required
  - `reply_to` string, required
  - `verified_at` string, date-time, nullable, required
  - `last_error` string, required: The last failure
  - `last_error_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable

## Other responses

- `401`: Error envelope: {code, title, details}.
- `403`: Error envelope: {code, title, details}.
- `404`: Error envelope: {code, title, details}.

---

[API](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api.md) · [All operations](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/revisions/34d89cb7a7cd?raw)
