Personal tools

From HEXONET Wiki

Jump to: navigation, search


email API / mailrobot

All API commands can be executed via email templates sent to call@mrobot.ispapi.net. call@mrobot.ispapi.net will also be the sender email address of HEXONET´s API call answers. To send emails to the API in OT&E mode, please use call_ote@mrobot.ispapi.net as recipient address. Please note that you first have to create an OT&E account before you start with testing. Get your OT&E account now!


Your login credentials and the API command which should be executed has to be submitted in the message body. Further you can submit some kind of transaction ID in the subject line. The HEXONET system will pass this subject to the response email.


Example of an email to register a domain

 s_login = login.id
 s_pw = secret_password
 s_user = subuser.id
 
 [COMMAND]
 command = Addomain
 domain  = reseller.com
 ownercontact0=(CONTACT)
 admincontact0=(CONTACT)
 techcontact0=(CONTACT)
 billingcontact0=(CONTACT)
 ...
 nameserver0=(yournameserver.com)
 ...
 nameserver12=(yournameserver.com)
 EOF