---
title: "add address endpoint to forwarding mails"
method: POST
path: "/api/v1/mails/{mailServerID}/accounts/{accountID}/forwards"
tags: ["forward"]
---

# add address endpoint to forwarding mails

`POST /api/v1/mails/{mailServerID}/accounts/{accountID}/forwards`

## Path parameters

- `mailServerID` string, required
- `accountID` string, required

## Request body

- Model6
  - `address` string, required

## Response `201`

OK

- object
  - `status` string

## Other responses

- `400` — Bad Request
- `403` — Reached maximum mail forwarder per account.
- `404` — Mail Server or Mail Account not found
- `409` — Address endpoint already exists
- `500` — Unexpected error

---

[API](https://skmtc.net/liara-cloud/apis/liara-mail-api-documentaion.md) · [All operations](https://skmtc.net/liara-cloud/apis/liara-mail-api-documentaion/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liara-cloud/liara-mail-api-documentaion/versions/5ae39ee353b2/schema)
