---
title: "Update domain settings (sender info, primary status)"
method: PATCH
path: "/v1/brands/{brandId}/domains/{domainId}"
tags: ["domains"]
---

# Update domain settings (sender info, primary status)

`PATCH /v1/brands/{brandId}/domains/{domainId}`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/brands/{brandId}/domains/{domainId}`
- Auth: `session-token` (a scheme the document does not define)

## Path parameters

- `brandId` string, required
- `domainId` string, required

## Request body

- UpdateDomainDto
  - `fromEmail` string: The sender email address (must match domain, outbound only)
  - `fromName` string: The sender display name (outbound only)
  - `isPrimary` boolean: Set this domain as the primary for its type
  - `replyMode` 'SINGLE' | 'MATCH': How to determine the reply-from address (SINGLE = use fromEmail, MATCH = match original recipient)

## Response `200`

Domain updated

## Other responses

- `404`: Domain not found

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/529e6717d295?raw)
