---
title: "PUT /team/email-sender"
method: PUT
path: "/team/email-sender"
tags: ["team"]
---

# PUT /team/email-sender

`PUT /team/email-sender`

## Request

- Base URL: `https://api.scalar.com/core`
- URL: `https://api.scalar.com/core/team/email-sender`
- Auth: HTTP bearer

Set the name, reply-to and address local part login portal emails are sent with. The team's domain is left as it is

## Request body

- object
  - `fromName` string, nullable
  - `replyTo` string, email
  - `localPart` string, nullable

## Response `200`

Default Response

- TeamEmailSender
  - `fromName` string, nullable
  - `replyTo` string, email
  - `localPart` string, nullable
  - `domain` string, nullable
  - `postmarkDomainId` integer, nullable
  - `domainStatus` 'pending' | 'active' | 'failed', nullable
  - `dkim` object, nullable
    - `host` string, required
    - `value` string, required
  - `returnPath` object, nullable
    - `host` string, required
    - `target` string, required
  - `returnPathVerified` boolean, nullable
  - `checkedAt` integer
  - `claimedAt` integer

## Other responses

- `400`: Bad request
- `401`: No auth
- `403`: Forbidden
- `404`: Not found
- `422`: Invalid payload
- `500`: Uncaught error

## Changes

- **2026-10-19** `8768b07df13f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scalar/apis/core/changes/team/email-sender/put.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) - [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) - [OpenAPI document](https://skmtc.dev/scalar/apis/core/revisions/b3aa8493faa8?raw)
