GetMX-API
  1. Alias
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
      POST
    • Add Email
      POST
    • Delete Email
      POST
    • Update Email
      POST
    • Clean up Email
      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
      POST
    • Add Alias
      POST
    • Delete Alias
      POST
    • Update Alias
      POST
  • 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 Cleanup
  1. Alias

Get Aliases

POST
/v1/alias/list

Request

Body Params multipart/form-data
token
string 
required
Token generated by the management backend.
Example:
{{token}}
page
integer 
optional
Page
Example:
1
limit
integer 
optional
Number of entries per page (maximum of 20)
Example:
20
domain_id
string 
optional
Domain ID (can be obtained from the GetMX management backend or through the /v1/domain/list endpoint; the 'id' field is the 'domain_id')
Example:
12345678
group_pay_id
string 
optional
Filter by group_pay_id (group_pay_id can be obtained from the GetMX backend or through the /v1/group-pay/list endpoint, with the 'id' field corresponding to 'group_pay_id').
Example:
1
mark
string 
optional
Filter by remarks
Example:
mark

Request 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/alias/list' \
--form 'token="token"' \
--form 'page="1"' \
--form 'limit="20"' \
--form 'domain_id="12345678"' \
--form 'group_pay_id="1"' \
--form 'mark="mark"'

Responses

🟢200成功
application/json
Body
code
integer 
required
msg
string 
required
data
null 
required
Example
{
  "code": 0,
  "msg": "string",
  "data": null
}
Previous
Move Message Folder
Next
Add Alias
Built with