Login

Get list of email address redirections

HTTP method

GET

URL

https://api.zilore.com/dns/v1/domains/{domain_name}/mail_forwarding

Request parameters

Parameter

Description

domain_name

Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format.

Additional parameters

Parameter

Description

offset

Omission of the stated number of records in the response

limit

Limit on the number of records returned

order_by

Sort parameter, accepts values:

  • idn_source — Address from which mail will be redirected
  • idn_destination — Redirection mail address

order_param

Sort parameter, accepts values:

  • asc — alphabetical order (A-Z)
  • desc — reverse alphabetical order (Z-A)

Response fields

Parameter

Description

mf_address_id

Identifier of mail address redirection

status

Address redirection status:

  • enabled — address redirection on
  • disabled — address redirection off

source

Address from which mail will be redirected (in full, including @example.com)

destination

Redirection mail address

Request example

GET https://api.zilore.com/dns/v1/domains/example.com/mail_forwarding
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0

Response example

{
"status": "ok",
"response": [{
"mf_address_id": "24",
"status": "enabled",
"source": "email@example.com",
"destination": "email1@example1.com"
}]
}