---
title: "Update a sender address"
description: "Change a sender's display name, the only field that changes: a different mailbox is a new sender. `PATCH /api/v1/email/senders/{id}`"
url: https://www.unitpost.com/docs/email/patch-email-senders-id
section: "Email API reference"
updated: 2026-10-13
---
# Update a sender address

`PATCH /api/v1/email/senders/{id}`

Change a sender's display name, the only field that changes: a different mailbox is a new sender. Requires the `domains:write` capability.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | — |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `display_name` | string \| null | yes | The new display name; `null` or `""` clears it. |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `domain_id` | string | yes | — |
| `address` | string | yes | `local_part@domain`. |
| `display_name` | string \| null | yes | — |
| `from` | string | yes | The From value to send with: `Display Name <address>`, or the address alone. |
| `source` | enum | yes | `manual` (saved by someone) or `api` (seen on a send through the API). One of: `manual`, `api`. |
| `created_at` | string | yes | — |
| `updated_at` | string | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 200 | The sender. |
| 400 | The body isn't JSON. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | Sender not found. |
| 422 | A bad `display_name`, or an unknown key. |

## Example request

```bash
curl -X PATCH 'https://www.unitpost.com/api/v1/email/senders/sndr_123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0' \
  -H 'Content-Type: application/json' \
  -d '{
    "display_name": "Acme Support"
  }'
```

## Example response (200)

```json
{
  "object": "sender",
  "id": "id_123",
  "domain_id": "domain_123",
  "address": "string",
  "display_name": "string",
  "from": "you@yourdomain.com",
  "source": "manual",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/email/patch-email-senders-id
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
