MPZ API > Retrieve Customers

Use the MPZ Api to retrieve a list of customers along with their API Keys, who have signed up to an agency account.

Request

Submit an XML Request with the following details:
Post URL: https://mpzmail.com/api/v3.0/account/getCustomers/
Fields to Post
apiKey String REQUIRED The APIKey of the requesting agency.

Response

Data Sent Back
error Int Indicates 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.
userCnt Int The number of user accounts returned
users    
----> user    
--------> fullName String The full name of the user account
--------> emailAddress String The email address of the user account
--------> apiKey String The API Key for the user account.

Sample request XML

<xml>
     <apiKey>44-121312131223</apiKey>
</xml>

Sample response XML

<xml>
     <error>0</error>
     <status>success</status>
     <userCnt>1</userCnt>
     <users>
          <user>
               <fullName>Test User</fullName>
               <emailAddress>test@user.com</emailAddress>
               <apiKey>11-223441561616</apiKey>
          </user>
     </users>
</xml>

Comments