Monitor-Tags auflisten
Gibt alle einem bestimmten Monitor zugewiesenen Tags zurück. Readonly-Mitglieder sehen nur ihre eigenen Tags.
GET /api/monitor-tags
Query Parameter
monitorType(erforderlich): Typ des Monitors. Eines von:website|dns|icmp|smtp|ssh|tcp|ftp|imap_pop|customer_domain|customer_ip. Nutzecustomer_domainfür Domain-Monitore (SSL/Ablauf) undcustomer_ipfür DNSBL-/Blacklist-Monitore.monitorId(erforderlich): Numerische ID des Monitors.
Beispiel (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<dein-api-token>"
curl -X GET "$BASE_URL/api/monitor-tags?monitorType=website&monitorId=101" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json"Antwort (Response)
[
{
"id": 1,
"publicId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
"organizationId": 10,
"name": "Produktion",
"color": "red",
"createdBy": 42,
"createdAt": "2026-06-01T08:00:00.000Z",
"updatedAt": "2026-06-01T08:00:00.000Z"
}
]Häufige Fehler
400 Bad RequestwennmonitorTypeodermonitorIdfehlt oder ungültig ist401 Unauthorizedwenn du nicht angemeldet bist403 Forbiddenwenn du keinen Lesezugriff auf den Monitor hast404 Not Foundwenn der Monitor nicht existiert