Get plan limits with current expiry and contact counts
post
https://api.expiryedge.com/v1/getSubscriptionLimitsany role60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/getSubscriptionLimits' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Response
{
"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.
200
Plan limits and counts.
planNamestringlimitsobjectPlan limits. Unlimited values serialize asnull.storageis in bytes;ai_scansandcollection_requestsare per calendar month.currentobjectremainingobject
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. |
