# GET /auto-queues/:id/enrollments

**Resource:** [Auto Queues](./auto-queues.md)  
**Scopes:** `automations:read`  
**Write operation:** no

List enrollment timer tasks for an auto queue. Shows all scheduled step executions with their status, scheduled_for time, enrollment_time (the anchor time used for delay calculation when set via attach_to_event_queue action config), and linked CRM entity IDs (contact, customer, deal). Supports optional status filter and cursor pagination.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | uuid | yes | Auto queue ID |
| `status` | query | string | no | Filter by status: pending, processing, completed, cancelled, failed |
| `limit` | query | number | no | Max results per page (1-100, default 25) |
| `after` | query | string | no | Cursor for next page |

## Request example

```bash
curl -X GET \
  "https://api.trustpager.com/functions/v1/api/v1/auto-queues/QUEUE_ID/enrollments?status=pending&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response example

```json
{
  "data": [
    {
      "id": "a1b2c3d4-...",
      "automation_id": "b2c3d4e5-...",
      "task_type": "event_queue_step",
      "scheduled_for": "2026-03-25T10:00:00Z",
      "status": "pending",
      "enrollment_id": "c3d4e5f6-...",
      "enrollment_time": "2026-03-22T10:00:00Z",
      "event_queue_step_id": "d4e5f6a7-...",
      "related_contact_id": "e5f6a7b8-...",
      "related_customer_id": null,
      "related_deal_id": null,
      "cancel_group": "enroll-uuid",
      "retry_count": 0,
      "last_error": null,
      "created_at": "2026-03-22T09:55:00Z",
      "updated_at": "2026-03-22T09:55:00Z"
    }
  ],
  "pagination": {
    "limit": 10,
    "has_more": false,
    "next_cursor": null,
    "prev_cursor": null
  },
  "meta": { "credits_remaining": 9490 }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`