> ## Documentation Index
> Fetch the complete documentation index at: https://285e39fd5e337e58f16290.sightscreen.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Fixtures

> Fixture import, sync, and management endpoints.

## Endpoint reference

| Method | Route                    | Auth  | Purpose                         |
| ------ | ------------------------ | ----- | ------------------------------- |
| `POST` | `/admin/fixtures/import` | Admin | Import fixtures from SportMonks |
| `POST` | `/admin/fixtures/sync`   | Admin | Trigger fixture sync            |
| `GET`  | `/admin/fixtures`        | Admin | List fixtures                   |

***

### POST /admin/fixtures/import `Admin`

Import fixtures from SportMonks for a specific league and season. Creates match records in DynamoDB.

<ParamField body="leagueId" type="string" required>
  The internal league ID to import fixtures for.
</ParamField>

### POST /admin/fixtures/sync `Admin`

Manually trigger the fixture sync job. Updates start times, venue changes, and other metadata from SportMonks.

### GET /admin/fixtures `Admin`

List all fixtures with optional filtering.

<ParamField query="leagueId" type="string">
  Filter by league.
</ParamField>

<ParamField query="from" type="string">
  ISO 8601 date. Fixtures starting after this date.
</ParamField>

<ParamField query="to" type="string">
  ISO 8601 date. Fixtures starting before this date.
</ParamField>
