Back to Documentation Overview
getAccountDetails
public static getAccountDetails(string apikey)
Retrieve lots of account information including payments made, plan info, some account stats, installed modules, contact info, and more. No private information like Credit Card numbers is available.
- Section:
- Helper
- Parameters:
- apikey a valid API Key for your user account. Get by calling login()
- Returns:
- array - containing the details for the account tied to this API Key
- Returned Fields:
string username The Account username string user_id The Account user unique id (for building some links) bool is_trial Whether the Account is in Trial mode (can only send campaigns to less than 100 emails) string timezone The timezone for the Account - default is "US/Eastern" string plan_type Plan Type - "monthly", "payasyougo", or "free" int plan_low only for Monthly plans - the lower tier for list size int plan_high only for Monthly plans - the upper tier for list size datetime plan_start_date only for Monthly plans - the start date for a monthly plan int emails_left only for Free and Pay-as-you-go plans emails credits left for the account bool pending_monthly Whether the account is finishing Pay As You Go credits before switching to a Monthly plan datetime first_payment date of first payment datetime last_payment date of most recent payment int times_logged_in total number of times the account has been logged into via the web datetime last_login date/time of last login via the web string affiliate_link Monkey Rewards link for our Affiliate program array contact Contact details for the account, including: First & Last name, email, company name, address, phone, and url array addons Addons installed in the account and the date they were installed. array orders Order details for the account, include order_id, type, cost, date/time, and any credits applied to the order
|
Add New Note
User Contributed Notes for
getAccountDetails |
|---|
| No notes, yet... Will you be the first?? |