---
title: "check if mail account is available"
method: GET
path: "/api/v1/mails/{mailServerID}/accounts/{accountName}/check-availability"
tags: ["accounts"]
---

# check if mail account is available

`GET /api/v1/mails/{mailServerID}/accounts/{accountName}/check-availability`

## Path parameters

- `mailServerID` string, required
- `accountName` string, required

## Response `200`

OK

- object
  - `status` string

## Other responses

- `400` — Bad Request
- `404` — Mail Server not found
- `409` — Account already taken.
- `500` — Unexpected error

## Changes

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

[Change history](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/changes/api/v1/mails/:mailServerID/accounts/:accountName/check-availability/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/899b7592e4f6?raw)
