Get plan limits and usage
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.GET
Returns the authenticated organization's plan, quotas, current usage, and remaining allowances for the current billing month — documents, BankID signatures, members, AI tokens, identity checks, and workspaces. Unlimited quotas are returned as null. Mirrors the limits shown in the dashboard; use it to gate features (e.g. BankID is unavailable on the Basic plan) and to surface remaining-document counts.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
200
application/json- response
plan*stringbalance*numberquota*usage*remaining*additionalCosts*subscription*curl -X GET 'https://app.sajn.se/api/v1/limits' \ -H 'authorization: string'Example Response
{ "plan": "string", "balance": 0, "quota": { "signatures": { "property1": 0, "property2": 0 }, "members": 0, "additionalBankidCost": 0, "smsCost": 0, "aiBudgetOre": 0, "identityChecks": 0, "documents": 0, "workspaces": 0, "parties": 0, "bankIdSignatures": 0, "aiTokens": 0 }, "usage": { "signatures": { "property1": 0, "property2": 0 }, "members": 0, "sms": 0, "aiSpentOre": 0, "aiSpentOreSigner": 0, "identityChecks": 0, "documents": 0, "workspaces": 0, "bankIdSignatures": 0, "aiTokens": 0, "aiTokensSigner": 0 }, "remaining": { "signatures": { "property1": 0, "property2": 0 }, "members": 0, "aiBudgetOre": 0, "identityChecks": 0, "documents": 0, "workspaces": 0, "bankIdSignatures": 0, "aiTokens": 0 }, "additionalCosts": { "bankIdSignatures": 0, "sms": 0, "identityChecks": 0, "total": 0 }, "subscription": { "isFreeTrial": true, "periodEnd": null, "cancelAtPeriodEnd": true }}Was this page helpful?