MPZ API > Create an Account

You can create new MPZMail accounts automatically via the API. Please use the following details to create accounts...

Request

Submit an XML Request with the following details:
Post URL: https://mpzmail.com/api/v3.0/account/createaccount/
Fields to Post
emailaddress String REQUIRED The username of the new MPZMail user
password String REQUIRED The password for the new MPZMail user
fullname String REQUIRED The full name of the new MPZMail user
apiKey String REQUIRED The API Key of your existing MPZMail account.
agencyAccount Int   0 if its a standard MPZMail account, 1 if its an agency account
isFreeAccount Int   0 if its a normal account, 1 if it is automatically set to FREE FOREVER
userLanguage String   Sets the initial user language. Default is English (en). Supported values are:
en, fi, fr, de, it, pt, ru
autoApproved Int   0 to leave unapproved until manually checked (Default). 1 to auto approve new accounts.

Response

Data Sent Back
error Int Indicated wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.
apiKey String If successful you will receive the APIKEY of the new user here.
userID String If successful you will receive the USERID of the new user here

Sample request XML

<xml>
     <apiKey>553-1123-32131231</apiKey>
     <emailaddress>your@username.com</emailaddress>
     <password>password</password>
     <fullname>John Smith</fullname>
</xml>

Sample response XML

<xml>
     <error>0</error>
     <status>Success</status>
     <apiKey>44-121312131223</apiKey>
     <userID>123123</userID>
</xml>

Comments