# Requests

## Content type

Send request bodies as JSON with `Content-Type: application/json`. Responses are JSON.

```bash
curl -X POST https://api.fanovate.io/dashboard/api/v1/... \
  -H "X-API-Key: $FANOVATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"example": true}'
```

Bodies are validated. An invalid body returns `400`, see [Errors](/errors).

## IDs

IDs are opaque strings. Store them as given and pass them back unchanged in paths and bodies.
Do not parse them.

## Dates and times

Timestamps are ISO-8601 in UTC, for example `2026-12-02T13:54:00.000Z`. Send timestamps in the
same form.

## Empty responses

Operations that succeed without a result return `204 No Content` with no body.

## Parameters

Path, query and body parameters of each operation are listed in the [API Reference](/api).
