Retrieves the details of the account.
API Endpoint
https://api.plivo.com/v1/Account/{auth_id}/
Arguments
No arguments need to be passed.
Returns
Returns an Account
object.
Request
import plivo
client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.account.get()
print(response)
Response
{
"account_type": "standard",
"address": "Wayne Enterprises Inc.",
"api_id": "150892a0-922a-11e7-b6f4-061564b78b75",
"auth_id": "MA2025RK4E639VJFZAGV",
"auto_recharge": false,
"billing_mode": "prepaid",
"cash_credits": "1.80900",
"city": "Gotham",
"name": "Bruce Wayne",
"resource_uri": "/v1/Account/MA2025RK4E639VJFZAGV/",
"state": "NY",
"timezone": "America/New_York"
}