Skip to main content
GET
/
api
/
v1
/
mails
/
{mailServerID}
/
counts
count number of sent mails every day
curl --request GET \
  --url https://mail-service.iran.liara.ir/api/v1/mails/{mailServerID}/counts \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": {
    "emailPerDay": [
      {
        "count": 123,
        "date": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

mailServerID
string
required

Query Parameters

lastNDays
number
default:30
Required range: 1 <= x <= 180

Response

OK

status
string
data
object