Uptimeify Docs

Benachrichtigungskanäle auflisten

Gibt Benachrichtigungskanäle zurück, gescoped nach Organisation, Kunde oder Website.

GET /api/notification-channels

Query Parameter

ParameterTypeRequiredDescription
organizationIdnumberNeinScope auf Organisation
customerIdnumberNeinScope auf Kunde
websiteIdnumberNeinScope auf Website (inklusive Organisations- + Kundenkanäle)

Beispiel (cURL)

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

Antwort (Response)

[
  {
    "id": 1,
    "organizationId": 1,
    "customerId": null,
    "websiteId": null,
    "type": "email",
    "category": "direct",
    "name": "Ops Email",
    "config": { "email": "ops@example.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

Auf dieser Seite