Account

/v2/account/info

Retrieves information about the account.

Authentication: In order to use this method you must be authenticated using one of the supported methods.

Return Values

  • 200 - Success.
  • 401 - Credentials failed.

Content will contain

  • AccountName - the name of the account the authenticated user belongs to.
  • AccountStatus - the status of the authenticated user's account.
  • AccountType - the type of the authenticated user's account.
  • MessageCredits - the number of message credits remaining on the authenticated user's account. Will only be returned if the Account Type is PREPAID.

Example Request

GET /v2/Account/Info HTTP/1.1
Host: api.messagenet.com.au
Authorization: Bearer 12345
Accept: application/json
Content-Type: application/json

And an example response

{
    "AccountName": "MessageNet",
    "AccountStatus": "ACTIVE",
    "AccountType": "PREPAID"
    "MessageCredits": 1000
}