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 String   0 if its a standard MPZMail account, 1 if its an agency account
agencyID String   Manually sets the ID of the agency account that the new account will be tagged under. Not needed if using an apiKey
isFreeAccount String   0 if its a normal account, 1 if it is automatically set to FREE FOREVER

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