---
title: "Domains auflisten"
description: "Gibt alle eigenen App-Domains der Organisation zurück. Es werden nur Domains mit der Rolle app zurückgegeben. Erfordert die Admin-Rolle."
---

`GET /api/organization/whitelabel/domains`

## Beispiel (cURL)

```bash
curl -X GET "$BASE_URL/api/organization/whitelabel/domains" \
  -H "Cookie: $SESSION_COOKIE" \
  -H "Accept: application/json"
```

## Antwort (Response)

```json
{
  "domains": [
    {
      "id": 1,
      "hostname": "app.deinkunde.com",
      "status": "active",
      "role": "app",
      "isPrimary": true,
      "verificationToken": "abc123-def456",
      "verifiedAt": "2026-01-15T10:00:00.000Z",
      "createdAt": "2026-01-14T08:00:00.000Z",
      "updatedAt": "2026-01-15T10:00:00.000Z"
    }
  ]
}
```

## Häufige Fehler

- `401 Unauthorized` wenn nicht authentifiziert
- `403 Forbidden` wenn kein Admin

