GetMX-API
  1. Email
GetMX-API
  • Domain
    • Get Domains
      POST
    • Add Domain
      POST
    • Delete Domain
      POST
    • Get Domain Detail
      POST
    • Bind Domain to Group-Pay
      POST
    • Unbind Domain from Group-Pay
      POST
    • Update Domain
      POST
  • Group Pay
    • Get Group-Pays
      POST
    • Add Group-Pay
      POST
    • Update Group-Pay
      POST
  • Email
    • Get Emails (V1)
      POST
    • Get Emails (V2)
      POST
    • Add Email
      POST
    • Delete Email
      POST
    • Update Email
      POST
    • Clean up Email
      POST
    • Get Emails Total
      POST
  • Message
    • Get Messages
      POST
    • Get Message Detail
      POST
    • Delete Message
      POST
    • Flagged Message
      POST
    • Seen Message
      POST
    • Answered Message
      POST
    • Get Folders
      POST
    • Move Message Folder
      POST
  • Alias
    • Get Aliases
    • Add Alias
    • Delete Alias
    • Update Alias
  • Message Notice
    • Get Message Notices
    • Add Message Notice
    • Delete Message Notice
    • Check Message Notice
    • Update Message Notice
  • SMTP Rule
    • Get Smtp Rules
    • Add Smtp Rule
    • Update Smtp Rule
    • Delete Smtp Rule
  • Scale
    • Query Remaining Space
    • Server Reboot
    • Server Reset
    • Server Cleanup (Deprecated)
  1. Email

Get Emails (V1)

POST
/v1/mail/list
Current API returns total, which may cause performance issues when the mailbox contains a large number of emails. In the future, the total field will no longer be returned. If you need to retrieve the list, please use the V2 version instead.

Request

Body Params multipart/form-data

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://domain-open-api.getmx.com/v1/mail/list' \
--form 'token="token"' \
--form 'domain_id="12345678"' \
--form 'page="1"' \
--form 'limit="20"' \
--form 'sort_value="created_at"' \
--form 'sort_type="desc"' \
--form 'mail="[email protected]"' \
--form 'mark="mark"'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "msg": "string",
    "data": {}
}
Modified at 2025-08-24 13:25:54
Previous
Update Group-Pay
Next
Get Emails (V2)
Built with