Personal tools

From HEXONET Wiki

Jump to: navigation, search
(Created page with "{{Sidebar}} __NOTOC__ <h1>email API / mailrobot </h1> All API commands can be executed via email templates sent to [mailto:[email protected] [email protected]]. ca...")
 

Latest revision as of 13:27, 28 August 2012


email API / mailrobot

All API commands can be executed via email templates sent to [email protected]. [email protected] 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 [email protected] 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