live chat
24/7 Emergency Hotline USA

Domain Email Forward List

Resource path /Domain/EmailForward/List

https://testapi.internet.bs/Domain/EmailForward/List?apiKey=testapi&password=testpass...

The command is intended to retrieve the list of email forwarding rules for a domain.
HTTPS POST/GET Request parameters:

Parameter name Description

ApiKey

The API key that we provided to you when you requested API access for your account

Password

The password we provided when you requested API access for your account

Domain

The domain name for which the Email Forwarding rules have to be retrieved

rangeFrom
(optional)

and
rangeTo
(optional)

By default we return all rules. If you want the results paginated use these two parameters.

ResponseFormat
(optional)

This specifies how the response will be returned. Possible values are TEXT, JSON and XML.
The default value is TEXT however we encourage you to use JSON for easier result parsing (please refer to http://www.json.org for more details about JSON).

Returned data:

STATUS=SUCCESS or FAILURE
RULE_[x]_SOURCE = the source for the rule [x] where [x] is a number starting with 1 and incrementing for each rule
RULE_[x]_DESTINATION = the destination for rule [x]

Example:

https://testapi.internet.bs/Domain/EmailForward/List?apiKey=testapi&password=testpass&domain=test-api-domain7.net


The result for this request is:

transactid=b88831878b31225bd9c743b28ac52bf7
total_rules=3
rule_1_source=bbb@test-api-domain7.net
rule_1_destination=myemail@example.com
rule_2_source=@test-api-domain7.net
rule_2_destination=updatedmyemail@example.com
rule_3_source=aaa@test-api-domain7.net
rule_3_destination=myemail@example.com
status=SUCCESS