v13

latestOpenAPI 3.0.0raw.githubusercontent.com2023-04-201625158.8 KB
Accounts

Get Account Details

'Account details may be retrieved by issuing an HTTP GET to https://app.zencoder.com/api/v2/account. Account states are Active, Stopped, Suspended, and Cancelled. Billing states are Active, Past Due, and Cancelled.'

get/account

Headers

Content-Typestring required

Content-Type: application/json

Zencoder-Api-Keystring required

Your API key

Response

Get account details response.

account_state'active' | 'stopped' | 'suspended' | 'cancelled'

The current account state

planstring

The current account plan

billing_state'active' | 'past due' | 'cancelled'

The current billing state

minutes_usedinteger

Minutes of encoded output used this month

minutes_includedinteger

Minutes of encoded output included in the plan per month

integration_modeboolean

Whether the account is in integration (test) mode

Example response

{
  "plan": "growth",
  "minutes_used": 12549,
  "minutes_included": 25000
}