GET /mail/{id}/stats

Returns information about the usage on your mail accounts.

Path parameters

  • id integer Required

    Mail ID number

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer Required
    • status string Required
    • username string Required
    • password string
    • comment string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
  • 404 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /mail/{id}/stats
curl \
 --request GET 'https://my.interserver.net/apiv2/mail/{id}/stats' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  {
    "id": 1234,
    "status": "active",
    "username": "mb1234",
    "password": "guest123",
    "comment": "main mail account"
  }
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}
Response examples (404)
{
  "code": "string",
  "message": "string"
}