Get current account info

The GetCurrentAccountInfo method can be used to get a sumamry of information about the current status of the account.

This will return an array of account properties; one such notable properties is APICallsInLast24Hours which lets you know how many API calls you have made in the last 24 hours, thus helping you stick within the API use limit.

Parameters

username string This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com required
password string This is the password from your API key. required

Return values

The result is an array of APIAccountProperty objects, each consisting of.

Name String The name of the property. Current properties returned are: Name, MainMobilePhoneNumber, MainEmail, APICallsInLast24Hours and APICallsRemaining.
Type String The type of the property as a string, e.g. Int, String, ComplexType
Value String The string representation of the property value (e.g. “10”, “dmUser@test.com”).

Error responses

  • ERROR_APIUSAGE_EXCEEDED
  • ERROR_INVALID_LOGIN
  • ERROR_PARAMETER_INVALID
  • ERROR_SYSTEM_SERVICETEMPORARILYUNAVAILABLE
  • ERROR_UNKNOWN

Request

Example of use in C# .NET

Example of use in VB.NET

Sample request

Sample response

Get started with dotMailer:

Small & Medium businesses Large businesses
Call the team on 0845 337 9170
What our clients say:

“dotMailer has changed our complete marketing process for the better. It's one of the easiest apps I have used and allows us to do things we have only dreamed of before."

Amberley Shermon, Cazenove+Loyd