« Back to Documentation Overview

get_account

Section: Servers
Version: 1.5.0


Get one account on server using ACCOUNT_ID.


Parameters
stringAPI_KEY
object
stringaccountACCOUNT_ID
Return Value
objectACCOUNT_ID
stringloginbbkr
stringstatusenabled
stringemailpawel.pabian@implix.com
stringfirst_namePawel
stringlast_namePabian
stringcompany_nameMy company
stringcountryPoland
stringcountry_codePL
stringstatepomorskie
stringcityGdansk
stringstreetZakopianska
stringzip_code80-124
stringfrom_nameMy From Name
stringfrom_emailme@emailaddress.com
stringphone+48000000000
stringaffiliatesomeone
stringcreated_ip91.192.79.136
stringtime_zoneEurope/Warsaw
stringcreated_on2000-01-01 00:00:00
objectAPI_KEYS
object4626eb7f7c1cc7455fbd6657a2197798
stringclearanceget_account_clearance__string
stringdescriptionget_account_description__string
stringnameak1-2
object7151c570a1b797a8f3d6d6ddbee3449a
stringclearance1.2.3.4/32
stringdescriptionget_account_description__string
stringnameak1-1
arrayblocked_features
stringMultimedia
objectsend_limit
integerallowed1048576
integercurrent8192
stringreseted_on2013-01-01 00:00:00

Example Request JSON

[
    "API_KEY",
    {
        "account": "ACCOUNT_ID"
    }
]

Example Response JSON

{
    "ACCOUNT_ID": {
        "login": "bbkr",
        "status": "enabled",
        "email": "pawel.pabian@implix.com",
        "first_name": "Pawel",
        "last_name": "Pabian",
        "company_name": "My company",
        "country": "Poland",
        "country_code": "PL",
        "state": "pomorskie",
        "city": "Gdansk",
        "street": "Zakopianska",
        "zip_code": "80-124",
        "from_name": "My From Name",
        "from_email": "me@emailaddress.com",
        "phone": "+48000000000",
        "affiliate": "someone",
        "created_ip": "91.192.79.136",
        "time_zone": "Europe\/Warsaw",
        "created_on": "2000-01-01 00:00:00",
        "API_KEYS": {
            "4626eb7f7c1cc7455fbd6657a2197798": {
                "clearance": null,
                "description": null,
                "name": "ak1-2"
            },
            "7151c570a1b797a8f3d6d6ddbee3449a": {
                "clearance": "1.2.3.4\/32",
                "description": null,
                "name": "ak1-1"
            }
        },
        "blocked_features": [
            "Multimedia"
        ],
        "send_limit": {
            "allowed": 1048576,
            "current": 8192,
            "reseted_on": "2013-01-01 00:00:00"
        }
    }
}

Example Error Response JSON

{
    "code": -1,
    "message": "Owner privilege missing"
}
Method-specific Errors
Owner privilege missing
API-wide Errors
API key verification failed API key verification failed
API client IP not allowed API client IP not allowed
Invalid params Attribute params must be reference to hash