Accounts
Get account usage
Changed onThe workspace's plan and what is left of it, for a plan and credit meter. Nothing about prices or payments: those stay in Get current subscription. Not available to third-party OAuth applications (403), whatever their scopes: this is billing data. Assinafy's own apps can read it with the account:read scope.
get/v1/accounts/{accountId}/usage
Request
- Base URLhttps://api.assinafy.com.br
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Workspace account ID.
Response
The usage
Example response
{
"status": 200,
"data": {
"plan": "Pro",
"documents_renewal_date": "2026-12-01",
"balances": {
"documents": {
"balance": 100,
"limit": 100
},
"credits": {
"balance": 100,
"limit": 100
}
}
}
}Changes
- info
endpoint added
- info