# List events

Page: https://app.myclaimhouse.com/docs/api/listEvents

`GET /api/v1/events`

The events of the key's organization in the key's mode, newest first. An event says that something happened (an eligibility check finished, an API key was created or revoked) and carries facts about it, never a patient's name, date of birth or member ID: read the resource by its ID for those. Filter by type, by the resource an event is about, or by creation time.

Needs a key with `read` permission.

## Request

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | No | How many items to return, from 1 to 100. Default 25. At least 1. At most 100. |
| `cursor` | string | No | The next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged. |
| `type` | string | No | Only events of this type. One of: `eligibility.completed`, `api_key.created`, `api_key.revoked`, `claim.validated`, `claim.needs_attention`, `claim.queued`, `claim.submitted`, `claim.accepted`, `claim.rejected`, `claim.status_updated`, `claim.voided`, `batch.acknowledged`, `attachment.completed`, `payer_request.received`, `era.received`, `claim.paid`, `claim.denied`, `claim.payment_reversed`, `predetermination.returned`, `sftp.file_received`, `sftp.file_refused`, `eligibility.batch.completed`, `office.attachment_registration.updated`, `statement.paid`, `enrollment.updated`. |
| `resource_id` | string | No | Only events about this resource: an eligibility check (elg_...) or an API key (key_...). |
| `created_after` | string (date-time) | No | Only events created after this instant (ISO 8601 with an offset, such as 2026-10-01T00:00:00Z). |

## Response

A page of events. Status `200`.

| Name | Type | Description |
| --- | --- | --- |
| `data` | array of value |  |
| `next_cursor` | value | Pass as cursor to get the next page; null when there is no next page. |

## Errors

| HTTP status | Code | What it means |
| --- | --- | --- |
| 401 | `UNAUTHORIZED` | A valid API key is required. Send it as "Authorization: Bearer <key>". |
| 403 | `PERMISSION_DENIED` | This API key is not allowed to do that. |
| 422 | `INVALID_REQUEST` | The request is not valid. |
| 429 | `TOO_MANY_REQUESTS` | Too many requests of this kind lately. Wait, then try again. |
| 504 | `TIMEOUT` | The request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>. |
| 500 | `INTERNAL` | Something went wrong on our side. Quote the request ID if you contact us. |

## Example

### Example request

```bash
curl "https://app.myclaimhouse.com/api/v1/events?type=eligibility.completed&limit=10" \
  -H "Authorization: Bearer $CLAIMHOUSE_KEY"
```

### Example response: 200

```json
{
  "data": [
    {
      "id": "evt_01JM000000E008000000000020",
      "object": "event",
      "type": "eligibility.completed",
      "sequence": 1,
      "created_at": "2026-03-10T15:30:00.430000+00:00",
      "data": {
        "id": "elg_01JM000000E00800000000000G",
        "object": "eligibility_check",
        "office_id": "off_01JM000000E008000000000003",
        "payer": {
          "id": "pyr_01JM000000E008000000000004",
          "payer_id": "00000",
          "name": "Example Dental Plan"
        },
        "state": "completed",
        "outcome": "answered",
        "status": "active",
        "billing": {
          "charged": false,
          "state": "not_billable",
          "reason": "test_mode",
          "label": "Not billed: test mode"
        },
        "cache": {
          "state": "fresh",
          "source_id": null
        },
        "parent_id": null,
        "request_id": "req_01JM000000E008000000000010",
        "tenant_reference": "visit-1042",
        "created_at": "2026-03-10T15:30:00.250000+00:00",
        "completed_at": "2026-03-10T15:30:00.430000+00:00"
      }
    }
  ],
  "next_cursor": null
}
```
