Get plan limits with current expiry and contact counts

posthttps://api.expiryedge.com/v1/getSubscriptionLimits
any role60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/getSubscriptionLimits' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "planName": "StarterLite",
  "limits": {
    "name": "Starter Lite",
    "expiries": 200,
    "contacts": 50,
    "storage": 1073741824,
    "users": 2,
    "teams": 1,
    "categories": 15,
    "email_credits": null,
    "message_credits": 85,
    "workflows": 5,
    "workflow_runs": 50,
    "ai_scans": 0
  },
  "current": {
    "expiries": 42,
    "contacts": 18
  },
  "remaining": {
    "expiries": 158,
    "contacts": 32
  }
}

Legacy endpoint; getUsageSummary covers every resource. Unlimited values serialize as null in limits and as the string Unlimited in remaining.

Rückgabe

200
Plan limits and counts.
  • planNamestring
  • limitsobject
    Plan limits. Unlimited values serialize as null. storage is in bytes; ai_scans and collection_requests are per calendar month.
  • currentobject
  • remainingobject

Fehler

401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.