Headers
Your API key for authentication.
Path Parameters
The unique identifier of the subaccount.
Response
Whether the subaccount creation succeeded.
The affected subaccount’s unique identifier.
The new API key for the subaccount.
curl --request GET \
--url https://api.bland.ai/v1/subaccounts/{subaccount_id} \
--header 'authorization: <authorization>'
{
"status": "success",
"subaccount": {
"subaccount_id": "1234567890",
"first_name": "John",
"last_name": "Doe",
"balance": 150,
"api_key": "sub-sk-1234567890"
}
}
View a subaccount’s details.
curl --request GET \
--url https://api.bland.ai/v1/subaccounts/{subaccount_id} \
--header 'authorization: <authorization>'
{
"status": "success",
"subaccount": {
"subaccount_id": "1234567890",
"first_name": "John",
"last_name": "Doe",
"balance": 150,
"api_key": "sub-sk-1234567890"
}
}
{
"status": "success",
"subaccount": {
"subaccount_id": "1234567890",
"first_name": "John",
"last_name": "Doe",
"balance": 150,
"api_key": "sub-sk-1234567890"
}
}
Was this page helpful?