XML API
Accounts
Create

Create account

This endpoint creates a new vPanel user account with the provided information.

HTTP Endpoint

POST https://panel.myownfreehost.net/xml-api/createacct.php

Usage

curl -X POST -u username:password -d "username=example&password=password&contactemail=example@example.com&domain=subdomain.example.com&plan=MyAwesomePlan" "https://panel.myownfreehost.net/xml-api/createacct.php"

Response

💡

The above request returns XML structured like the following:

<createacct>
     <result>
          <options>
                  <ip>n</ip>
                  <vpusername>hname_12345678</vpusername>
                  <nameserver>ns1.byet.org</nameserver>
                  <nameserver2>ns2.byet.org</nameserver2>
                  <nameserver3/>
                  <nameserver4/>
                  <nameservera/>
                  <nameservera2/>
                  <nameservera3/>
                  <nameservera4/>
                  <nameserverentry/>
                  <nameserverentry2/>
                  <nameserverentry3/>
                  <nameserverentry4/>
                  <package></package>
          </options>
          <rawout>
           account added to queue to be added
          </rawout>
          <status>1</status>
          <statusmsg>This account has been successfuly created</statusmsg>
     </result>
</createacct>