Early-bird discount eligibility

gethttps://api.expiryedge.com/v1/getEarlyBirdStatus
any role60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getEarlyBirdStatus' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "eligible": true,
  "discount_pct": 30,
  "discount_period": "yearly",
  "expires_at": "2026-09-30T14:05:00.000Z"
}

Trial organizations that subscribe within 72 hours of signup get 30% off yearly. The organization is always the caller's own; an org_id query parameter is ignored.

Rückgabe

200
Eligibility.
  • eligiblebooleanerforderlich
  • reasonstring
    Why the organization is not eligible.
    Erlaubtpromo_activereferral_activenot_on_trialno_created_atwindow_expired
  • discount_pctinteger
  • discount_periodstring
    Erlaubtyearly
  • expires_atstring
    UTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).
    format: date-time

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
404
The record does not exist or is not in your organization.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.