Skip to main content
GET
/
api
/
v1
/
mails
/
{mailServerID}
/
accounts
get all mail accounts
curl --request GET \
  --url https://mail-service.iran.liara.ir/api/v1/mails/{mailServerID}/accounts \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": {
    "domain": "<string>",
    "accounts": [
      {
        "name": "<string>",
        "createdAt": "<string>",
        "id": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

mailServerID
string
required

Response

OK

status
string
data
object