List trigger rules for an expiry
get
https://api.expiryedge.com/v1/getCollectionTriggerRulesany role (admin, editor or viewer) in the organization60/min
Request
curl 'https://api.expiryedge.com/v1/getCollectionTriggerRules?expiryId=exp_4Tq9sLm2' \
-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"
}
]
}Non-deleted rules on the expiry, newest first; unbounded. The handler does not check the HTTP method. expiryId is read from the query string only.
expiryIdstringrequired
200
Rules.
triggersarray of objectsrequired
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. |
