# All registrations
Retrieve a list of registrations for a specific event.

GET /registration

## Query Parameters
- eventId (string, required): Filter by event ID (required)
- limit (number): Maximum number of registrations to return (1-100)

## Authorization
read:participants

## Request Examples

### curl
```curl
curl -H "Authorization: Bearer INTERVALS_PARTNER_API_KEY" \
  https://api.intervals.run/registration?eventId=e72tuv901wxy234
```

### JavaScript
```javascript
const eventId = "e72tuv901wxy234";
const res = await fetch(
  `https://api.intervals.run/registration?eventId=${eventId}`,
  {
  headers: { Authorization: "Bearer INTERVALS_PARTNER_API_KEY" },
  }
);
const { data } = await res.json();
```

## Responses

### 200 (200)
```json
{
  "data": [
    {
      "_id": "p89xyz345uvw678",
      "eventId": "e72tuv901wxy234",
      "eventRunId": "r41abc567def890",
      "email": "runner@example.com",
      "name": "Alex Johnson",
      "registrationType": "free",
      "registrationStatus": "confirmed",
      "checkedIn": false
    }
  ]
}
```

### 404 (404)
```json
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Event not found"
  }
}
```