Skip to main content
The Account object lets you perform actions on your Plivo account. You can retrieve and update account details using this API. API Endpoint

The Account Object

Attributes

string
Account type. Values: standard for paid accounts, developer for free trial.
string
Postal address of the account, displayed on invoices.
string
Auth ID of the account.
boolean
Whether automatic recharge is enabled when credits fall below threshold.
string
Billing mode. Values: prepaid or postpaid.
string
Account credits in USD.
string
City of the account holder.
string
Name of the account holder.
string
URI of the account resource.
string
State or region of the account.
string
Time zone used in the Plivo dashboard. See IANA Time Zone Database.

Example Object


Retrieve Account Details

Retrieves the details of your account.

Arguments

No arguments required.

Example

Response

string
Account type. Values: standard for paid accounts, developer for free trial.
string
Postal address of the account, displayed on invoices.
string
Unique identifier for the API request.
string
Auth ID of the account.
boolean
Whether automatic recharge is enabled when credits fall below threshold.
string
Billing mode. Values: prepaid or postpaid.
string
Account credits in USD.
string
City of the account holder.
string
Name of the account holder.
string
URI of the account resource.
string
State or region of the account.
string
Time zone used in the Plivo dashboard. See IANA Time Zone Database.

Update Account Details

Updates the Account object. Parameters not provided remain unchanged.

Arguments

string
Postal address of the account, displayed on invoices.
string
Name of the account holder.
string
City of the account holder.
string
State or region of the account.
string
Time zone for the Plivo dashboard. See IANA Time Zone Database.

Example

Response

string
Unique identifier for the API request.
string
Status of the request. Returns changed on a successful update.