Get by Email

REST API Method: Get by Email

Returns a subaccount object if one exists for the current account

URL:

https://api.mailmonitorapp.com/mma/subaccount/{email}

HTTP Method(s):

GET

Example:

GET https://mailmonitor-api-uat.azurewebsites.net/mma/subaccount/user1@example.com

Example JSON Response:

{"loginEmail":"subacct1gexample.com",

"companyName":"Example 1 Inc",

"keySeed":"keyseed@keseed.com",

"previewSeed":"preview@preview.com",

"gmailTabSeed":"gmailtab@preview.com"}

Error Codes:

403 - If the account is not permitted to use subaccounts.

404 - If the subaccount does not exist.