Skip to Content

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
/api/v1/limits

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.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
plan*string
balance*number
quota*
usage*
remaining*
additionalCosts*
subscription*
Example Request
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?