---
title: "Benachrichtigungskanäle auflisten"
description: "Gibt Benachrichtigungskanäle zurück, gescoped nach Organisation, Kunde oder Website."
---

`GET /api/notification-channels`

## Query Parameter

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `organizationId` | number | Nein | Scope auf Organisation |
| `customerId` | number | Nein | Scope auf Kunde |
| `websiteId` | number | Nein | Scope auf Website (inklusive Organisations- + Kundenkanäle) |

## Beispiel (cURL)

```bash
curl -X GET "$BASE_URL/api/notification-channels?organizationId=1" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/json"
```

## Antwort (Response)

```json
[
  {
    "id": 1,
    "organizationId": 1,
    "customerId": null,
    "websiteId": null,
    "type": "email",
    "category": "direct",
    "name": "Ops Email",
    "config": { "email": "ops@deinkunde.com", "to": "Ops Team" },
    "priority": 1,
    "delaySeconds": 0,
    "conditions": null,
    "isActive": true,
    "allowedPackageTypes": null
  }
]
```

## Häufige Fehler

- `401 Unauthorized` wenn du nicht authentifiziert bist
- `403 Forbidden` wenn du auf Kanäle außerhalb deines Scopes zugreifst

