---
title: "get all extra address to forwarding mails"
method: GET
path: "/api/v1/mails/{mailServerID}/accounts/{accountID}/forwards"
tags: ["forward"]
---

# get all extra address to forwarding mails

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

## Request

- Base URL: `https://mail-service.liara.ir`
- URL: `https://mail-service.liara.ir/api/v1/mails/{mailServerID}/accounts/{accountID}/forwards`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

## Path parameters

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

## Response `200`

OK

- MailForwards
  - `status` string
  - `data` object
    - `forwarders` object[]
      - `account` string
      - `address` string
      - `createdAt` string
      - `id` string

## Other responses

- `400`: Bad Request
- `404`: Mail Server or Mail Account not found
- `500`: Unexpected error

## Changes

- **2023-10-06** `6ba885651c6f`: 1 breaking, 1 info
  - removed the media type `*/*` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`
- **2023-10-04** `c63802bd8a38`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/changes/api/v1/mails/:mailServerID/accounts/:accountID/forwards/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion.md) - [All operations](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/revisions/0c95627fb0e1?raw)
