---
title: "Create an email forward"
method: POST
path: "/{account}/domains/{domain}/email_forwards"
tags: ["domain emailforwards"]
---

# Create an email forward

`POST /{account}/domains/{domain}/email_forwards`

## Request

- Base URL: `https://api.dnsimple.com/v2`
- URL: `https://api.dnsimple.com/v2/{account}/domains/{domain}/email_forwards`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/dnsimple/apis/dnsimple-api/docs/:account/domains/:domain/email_forwards/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new email forward for the domain.

## Path parameters

- `account` integer, required
- `domain` string, required

## Request body

- object
  - `alias_name` string: The receiving email recipient, the name part only without the domain. The domain is automatically appended.
  - `destination_email` string, email: The email recipient the messages are delivered to.

## Response `201`

Successfully created new email forward.

- object
  - `data` EmailForward, required
    - `id` integer, required
    - `domain_id` integer, required
    - `alias_email` string, email, required: The receiving email recipient.
    - `destination_email` string, email, required: The email recipient the messages are delivered to.
    - `created_at` string, date-time, required: A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required: A date-time value, representing when the entry was last updated, formatted as ISO 8601.

## Other responses

- `400`: A required parameter is missing or the request is invalid.
- `404`: The requested resource doesn't exist.

## Changes

- **2026-02-24** (v2) `ad25852bccde`: 2 warning
  - removed the optional property `data/from` from the response with the `201` status
  - removed the optional property `data/to` from the response with the `201` status
- **2025-07-11** (v2) `06780be0ef17`: 10 info
  - the response property `data` became required for the status `201`
  - the response property `data/alias_email` became required for the status `201`
  - the response property `data/created_at` became required for the status `201`
  - the response property `data/destination_email` became required for the status `201`
  - …6 more
- **2023-07-18** (v2) `c8591dcf8c29`: 10 breaking, 2 info
  - the response property `data` became optional for the status `201`
  - the response property `data/alias_email` became optional for the status `201`
  - the response property `data/created_at` became optional for the status `201`
  - the response property `data/destination_email` became optional for the status `201`
  - …8 more

[Operation history](https://skmtc.dev/dnsimple/apis/dnsimple-api/changes/:account/domains/:domain/email_forwards/post.md)

---

[API](https://skmtc.dev/dnsimple/apis/dnsimple-api.md) - [All operations](https://skmtc.dev/dnsimple/apis/dnsimple-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dnsimple/apis/dnsimple-api/revisions/2d2e7a8fb60a?raw)
