List trigger rules across all expiries

gethttps://api.expiryedge.com/v1/getScheduledCollectionTriggers
any role (admin, editor or viewer) in the organization60/min
Request
curl 'https://api.expiryedge.com/v1/getScheduledCollectionTriggers?status=pending' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Response
{
  "triggers": [
    {
      "id": "trg_2Vb8",
      "organization_id": "org_northwind",
      "expiry_id": "exp_4Tq9sLm2",
      "expiry_name": "Northwind Dental - State Dental License",
      "template_id": "tpl_W9onboard",
      "template_name": "New client onboarding - Northwind Dental",
      "trigger_type": "before_expiry",
      "trigger_days": 30,
      "trigger_time": "09:00",
      "trigger_date": "2026-09-15T13:00:00.000Z",
      "contact_ids": [
        "c_8Hk2pQ"
      ],
      "group_id": null,
      "group_name": null,
      "expires_in_days": 21,
      "due_in_days": 14,
      "status": "pending",
      "created_request_ids": [],
      "run_count": 0,
      "last_triggered_at": null,
      "triggered_by": null,
      "error_message": null,
      "carry_to_renewal": true,
      "created_by": "u_71bXq",
      "created_by_name": "Priya Shah",
      "created_at": "2026-09-27T14:05:00.000Z",
      "updated_at": "2026-09-27T14:05:00.000Z"
    }
  ],
  "total": 1,
  "counts": {
    "pending": 1,
    "triggered": 3,
    "error": 0,
    "paused": 1,
    "cancelled": 0
  }
}

Non-deleted rules with the given status plus per-status counts. pending and all are sorted by trigger_date (soonest first), others by last fired. Unbounded. The handler does not check the HTTP method. status is read from the query string only.

Query parameters

  • statusstring
    AllowedpendingtriggerederrorpausedcancelledallDefault pending

Returns

200
Rules.
  • triggersarray of objectsrequired
  • totalintegerrequired
    Length of triggers.
  • countsobjectrequired

Errors

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.