---
title: 'Schnellstart'
description: 'Erste Anfrage an die API'
---

## API-Schlüssel

Im Dashboard: **Einstellungen → Organisation → Schlüssel**. Typ **Lesen** oder **Schreiben** wählen.

## Produkte listen

```bash
curl -sS \
  -H "Authorization: Bearer YOUR_API_KEY" \
  "https://dashboard.scango.ch/api/v1/products?limit=5"
```

```json
{
  "data": [{ "id": "…", "name": "…", "price": 120 }],
  "meta": { "total": 1, "returned": 1, "limit": 5 }
}
```

## Bestellungen

`start`, `end` und `paymentState` sind Pflicht:

```bash
curl -sS \
  -H "Authorization: Bearer YOUR_API_KEY" \
  "https://dashboard.scango.ch/api/v1/orders?start=2024-01-01T00:00:00.000Z&end=2024-01-02T00:00:00.000Z&paymentState=successful&limit=100"
```
