Retrieve the account

GET/account

Returns a read-only overview of the account associated with the current credentials: identity, student quota, billing status, and replica and sandbox relationships.

Billing information does not include amounts, plan details, or payment methods.

Requires the account.read permission.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/account"
{  "data": {    "billing": {      "blocked": {        "dashboard": true,        "students": true      },      "status": "active"    },    "created_at": "2019-08-24T14:15:22Z",    "domain_id": "string",    "environment": "production",    "id": "string",    "name": "string",    "object": "account",    "replica": {      "has_children": true,      "is_child": true,      "note": "string"    },    "sandbox": {      "has_sandbox": true,      "is_sandbox": true    },    "students": {      "has_room": true,      "limit": 0,      "total": 0    },    "subdomain": "string",    "subdomain_url": "string"  }}