Zum Hauptinhalt springen

List mail addresses

GET/mail-addresses//
v2
GET
mail-list-mail-addresses-for-user

Request

Responses

Response-Header

  • X-Pagination-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountinteger

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

application/json

OK

  • Array[
    • *object
      • addressstring (idn-email)
        required
      • archiveobject
        required
        • activeboolean
          required

          shows if the mail-archive is enabled

        • quotainteger (int64)
          required

          maximum available mail-archive storage in bytes

        • usedBytesinteger (int64)
          required

          current mail-archive usage in bytes

      • autoResponderobject
        required
        • activeboolean
          required
        • expiresAtstring (date-time)
        • messagestring
        • startsAtstring (date-time)
      • forwardAddressesarray of string (idn-email)
        required
        • Array[
          • *string (idn-email)
          ]
      • idstring (uuid)
        required
      • isArchivedboolean
        required
      • isBackupInProgressboolean
        required
      • isCatchAllboolean
        required
      • mailboxobject
        • namestring
          required
        • passwordUpdatedAtstring (date-time)
          required
        • sendingEnabledboolean
          required
        • spamProtectionobject
          required
          • activeboolean
            required
          • autoDeleteSpamboolean
            required
          • folderstring (one of: spam, inbox)
            required
          • relocationMinSpamScoreinteger
            required
        • storageInBytesobject
          required
          • currentobject
            required
            • updatedAtstring (date-time)
              required
            • valueinteger (int64)
              required
          • limitinteger (int64)
            required
      • projectIdstring
        required
      • receivingDisabledboolean
        required
      • updatedAtstring (date-time)
        required
    ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/mail-addresses/?projectId=string&search=string&forwardAddress=true&catchAll=true&autoResponder=true&mailArchive=true&limit=50&page=1&sort=address.domain&order=asc