Check whether more expiries can be created

posthttps://api.expiryedge.com/v1/checkExpiryLimit
any role60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/checkExpiryLimit' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Response
{
  "allowed": true,
  "message": "You can create more expiries",
  "current": 42,
  "limit": 200,
  "remaining": 158,
  "planName": "StarterLite"
}

Legacy check that counts open (not archived, not done) expiries against the plan. Prefer checkResourceLimit with resourceType: expiries. Token failures return 500 (not 401) with allowed: false.

Returns

200
Limit check. allowed is false (still 200) when the limit is reached; remaining is omitted then.
  • allowedboolean
  • messagestring
  • currentinteger
  • limitinteger | null
    null when unlimited.
  • remaininginteger or string
  • planNamestring

Errors

401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
The check failed (including an invalid or missing token).