Account & models
Get account
GET
/
account
Get account
curl --request GET \
--url https://havincy.com/api/v1/account \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://havincy.com/api/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://havincy.com/api/v1/account"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "account",
"id": 42,
"name": "Acme Studio",
"kind": "organization",
"credits_balance": 2480,
"plan": { "name": "Pro", "monthly_credits": 1600 },
"social_publishing": true,
"rate_limit_per_minute": 120,
"user": { "id": 7, "email": "dev@acme.com" },
"scopes": ["read", "generate"],
"app_url": "https://havincy.com/feed"
}
Returns the connected Havincy workspace: name, credit balance, subscription plan, rate limit and granted scopes. Call it to check credits before generating.
Required permission:
read. MCP tool: get_account.
This endpoint takes no parameters.
{
"object": "account",
"id": 42,
"name": "Acme Studio",
"kind": "organization",
"credits_balance": 2480,
"plan": { "name": "Pro", "monthly_credits": 1600 },
"social_publishing": true,
"rate_limit_per_minute": 120,
"user": { "id": 7, "email": "dev@acme.com" },
"scopes": ["read", "generate"],
"app_url": "https://havincy.com/feed"
}
⌘I
Get account
curl --request GET \
--url https://havincy.com/api/v1/account \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://havincy.com/api/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://havincy.com/api/v1/account"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "account",
"id": 42,
"name": "Acme Studio",
"kind": "organization",
"credits_balance": 2480,
"plan": { "name": "Pro", "monthly_credits": 1600 },
"social_publishing": true,
"rate_limit_per_minute": 120,
"user": { "id": 7, "email": "dev@acme.com" },
"scopes": ["read", "generate"],
"app_url": "https://havincy.com/feed"
}