Skip to main content
GET
/
api
/
v1
/
mails
/
{mailServerID}
/
smtp-credentials
get credential to connect to mail server with SMTP
curl --request GET \
  --url https://mail-service.iran.liara.ir/api/v1/mails/{mailServerID}/smtp-credentials \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": {
    "credentials": [
      {
        "description": "<string>",
        "createdAt": "<string>",
        "username": "<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