Get Trigger Enrollments
List trigger enrollments with filtering and pagination
Returns trigger enrollments for the organization with optional filters for status, billing customer, and billable item. Supports pagination.
Requires a valid `api_key` in the JSON request body
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
api_key |
body | string |
Yes | Your API key. |
org_id |
body | string |
Yes | Organization UUID. |
status |
body | string |
No | Filter by enrollment status: `active`, `paused`, or `cancelled`. Omit for all. |
billing_customer_id |
body | string |
No | Filter by billing customer UUID. |
billable_item_id |
body | string |
No | Filter by billable item UUID. |
limit |
body | integer |
No | Maximum results per page. Default: `50`. |
offset |
body | integer |
No | Pagination offset. Default: `0`. |
Code Samples
bash
curl -s -X POST "https://app.zyntrohq.com/public/edge/getEnrollments" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_API_KEY",
"org_id": "org_xxx",
"status": "active"
}'
Response
200
Enrollments returned
json
{
"data": [
{
"ts_dt": "2026-03-28 09:00:00",
"ts_id": "ts_xxx",
"ts_contid": "cont_xxx",
"ts_status": "active",
"ts_billable_item_id": "bi_xxx",
"ts_last_triggered_at": "2026-03-30 10:22:00",
"ts_last_charge_status": "succeeded",
"ts_billing_customer_id": "bc_xxx",
"ts_consecutive_failures": 0
}
],
"count": 3,
"status": "success"
}