GET
/
v1
/
subaccounts
curl --request GET \
  --url https://api.bland.ai/v1/subaccounts \
  --header 'authorization: <authorization>'
{
    "status": "success",
    "subaccounts": [
        {
            "subaccount_id": "1234567890",
            "first_name": "John",
            "last_name": "Doe",
            "balance": 150,
            "api_key": "sub-sk-1234567890"
        },
        {
            "subaccount_id": "0987654321",
            "first_name": "Jane",
            "last_name": "Doe",
            "balance": 200,
            "api_key": "sub-sk-0987654321"
        }
    ]
}

Headers

authorization
string
required

Your API key for authentication.

Response

status
string

Whether the subaccount creation succeeded.

subaccounts
array[object]

An array of your subaccounts.