« Back to Documentation Overviewget_account
Section: Servers
Version: 1.5.0
Get one account on server using ACCOUNT_ID.
Parameters
|
---|
string | API_KEY |
object | |
Return Value
|
---|
object | ACCOUNT_ID | string | login | bbkr | string | status | enabled | string | email | pawel.pabian@implix.com | string | first_name | Pawel | string | last_name | Pabian | string | company_name | My company | string | country | Poland | string | country_code | PL | string | state | pomorskie | string | city | Gdansk | string | street | Zakopianska | string | zip_code | 80-124 | string | from_name | My From Name | string | from_email | me@emailaddress.com | string | phone | +48000000000 | string | affiliate | someone | string | created_ip | 91.192.79.136 | string | time_zone | Europe/Warsaw | string | created_on | 2000-01-01 00:00:00 | object | API_KEYS | object | 4626eb7f7c1cc7455fbd6657a2197798 | string | clearance | get_account_clearance__string | string | description | get_account_description__string | string | name | ak1-2 |
| object | 7151c570a1b797a8f3d6d6ddbee3449a | string | clearance | 1.2.3.4/32 | string | description | get_account_description__string | string | name | ak1-1 |
|
| array | blocked_features | | object | send_limit | integer | allowed | 1048576 | integer | current | 8192 | string | reseted_on | 2013-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 |