MPZ API > Obtaining API Key

You can retrieve API Keys for user accounts by submitting a request with the Username and Password of an MPZMail account.
You can alternatively ask users to retrieve their own API Keys manually via the "My Account" area of the MPZMail control panel.

Request

Submit an XML Request with the following details:
Post URL: https://mpzmail.com/api/v3.0/auth/
Fields to Post
username String The username of the MPZMail user
password String The password of the MPZMail user

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 user here.

Sample request XML

<xml>
     <username>your@username.com</username>
     <password>password</password>
</xml>

Sample response XML

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

Comments